Mini Shell
<footer class="footer-area">
<div class="footer-shape">
<img src="assets/img/shape/03.png" alt>
</div>
<div class="footer-widget ">
<div class="container-fluid lr-space">
<div class="row footer-widget-wrapper pt-100 pb-70">
<div class="col-md-6 col-lg-3">
<div class="footer-widget-box list">
<h4 class="footer-widget-title">UG Courses</h4>
<ul class="footer-list">
<?php
$sql = "SELECT * FROM `tb1_ugcourses` WHERE `status` = 1 ORDER BY short_name ASC LIMIT 5";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
?>
<li><a href="course-details?id=<?= base64_encode($row['course_id']) ?>"><i class="fas fa-caret-right"> </i><?= $row['short_name'] ?></a></li>
<?php }
} ?>
</ul>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="footer-widget-box list">
<h4 class="footer-widget-title">UG Courses</h4>
<ul class="footer-list">
<?php
// Second query to get the next 5 courses, starting from the 6th
$sql_next_5 = "SELECT * FROM `tb1_ugcourses` WHERE `status` = 1 ORDER BY short_name ASC LIMIT 5 OFFSET 5";
$result_next_5 = $conn->query($sql_next_5);
if ($result_next_5->num_rows > 0) {
while ($row = $result_next_5->fetch_assoc()) {
?>
<li><a href="course-details?id=<?= base64_encode($row['course_id']) ?>"><i class="fas fa-caret-right"> </i><?= $row['short_name'] ?></a></li>
<?php
}
}
?>
</ul>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="footer-widget-box list">
<h4 class="footer-widget-title">PG Courses</h4>
<ul class="footer-list">
<?php
$sql = "SELECT * FROM `tb1_pgcourses` WHERE `status` = 1 ORDER BY short_name DESC LIMIT 5";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while ($row = $result->fetch_assoc()) {
?>
<li><a href="pg-course-details?id=<?= base64_encode($row['course_id']) ?>"><i class="fas fa-caret-right"></i> <?= $row['short_name'] ?></a></li>
<?php }
} ?>
</ul>
</div>
</div>
<div class="col-md-6 col-lg-3">
<div class="footer-widget-box about-us">
<h4 class="footer-widget-title">Contact Us</h4>
<ul class="footer-contact">
<li><a href="#"><i class="far fa-phone"></i>(0413) - 2671671 / 2671672</a></li>
<!-- <li><a href="tel:+04132671671"><i class="far fa-phone"></i>0413 - 2671672</a></li> -->
<li><a href="tel:++919443294154"><i class="far fa-mobile"></i>+91 94432 94154</a></li>
<li><a href="mailto:mailsac@aravindar.com"><i class="far fa-envelope"></i><span>mailsac@aravindar.com</span></a>
</li>
<li class="d-flex">
<div><i class="far fa-map-marker-alt"></i></div>
<p>Pondy Mailam Road, Sedarapet Post, Vanur - 605 111, Tamil Nadu, India.</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="copyright">
<div class="container-fluid lr-space">
<div class="copyright-wrapper">
<div class="row">
<div class="col-md-8 align-self-center">
<p class="copyright-text">
© 2024 | All Rights Reserved | Sri Aravindar College | Designed & Developed By <a target="_blank" href="https://www.seyfertinfotech.com"> Seyfert infotech </a>
</p>
</div>
<div class="col-md-4 align-self-center">
<ul class="footer-social">
<li><a href="https://www.facebook.com/people/Sri-Aravindar-Arts-and-Science-College/61559208547130" target="_blank"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="https://www.linkedin.com/school/sri-aravindar-arts-&science-college-pondy-mailam-road-sedarapet-605-111/?originalSubdomain=in" target="_blank"><i class="fab fa-linkedin-in"></i></a></li>
<li><a href="https://www.instagram.com/sriaravindarcollege" target="_blank"><i class="fab fa-instagram"></i></a></li>
<li><a href="https://www.youtube.com/@SriAravindarcollege" target="_blank"><i class="fab fa-youtube"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
Zerion Mini Shell 1.0