Mini Shell

Direktori : /home2/aravindar/public_html/
Upload File :
Current File : /home2/aravindar/public_html/up-course-tab.php

<div id="sidebar" class="col-xl-3 col-lg-3 order-2 order-lg-1">
    <div class="department-sidebar ">
        <div class="widget category">
            <h4 class="widget-title">Our UG Courses</h4>
            <div class="category-list">
                <?php
                $sql = "SELECT * FROM `tb1_ugcourses` WHERE `status` = 1  ORDER BY created_log DESC";

                $result = $conn->query($sql);
                if ($result->num_rows > 0) {
                    while ($row = $result->fetch_assoc()) {
                ?>
                        <a href="course-details?id=<?= base64_encode($row['course_id']) ?>"><i class="far fa-long-arrow-right"></i><?= $row['short_name'] ?></a>

                <?php }
                } ?>
            </div>
        </div>
        <div class="widget category">
            <h4 class="widget-title">Our PG Courses</h4>
            <div class="category-list">
                <?php
                $sql = "SELECT * FROM `tb1_pgcourses` WHERE `status` = 1  ORDER BY created_log DESC";

                $result = $conn->query($sql);
                if ($result->num_rows > 0) {
                    while ($row = $result->fetch_assoc()) {
                ?>
                        <a href="pg-course-details?id=<?= base64_encode($row['course_id']) ?>"><i class="far fa-long-arrow-right"></i><?= $row['short_name'] ?></a>
                <?php }
                } ?>

            </div>
        </div>
        <!--<div class="widget facility-download">-->
        <!--    <h4 class="widget-title">Download</h4>-->
        <!--    <a href="#"><i class="far fa-file-pdf"></i> Download Question Paper</a>-->
        <!--</div>-->
    </div>
</div>

Zerion Mini Shell 1.0