| Server IP : 50.63.8.194 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT P3NWVPWEB026 10.0 build 17763 (Windows Server 2016) AMD64 User : IWPD_7824(SpiPanel) ( 0) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/home/ |
Upload File : |
<?php
$title = "Gallery";
include("../admin/connection.php");
$q_all = "select * from tbl_gallery order by gal_id desc";
$res_all = mysqli_query($dbCon, $q_all);
$q_iv = "select * from tbl_gallery where type='industrial' order by gal_id desc";
$res_iv = mysqli_query($dbCon, $q_iv);
$q_sports = "select * from tbl_gallery where type='sports' order by gal_id desc";
$res_sports = mysqli_query($dbCon, $q_sports);
$q_seminar = "select * from tbl_gallery where type='seminar' order by gal_id desc";
$res_seminar = mysqli_query($dbCon, $q_seminar);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<?php
include('../home_include/header_link.php');
?>
</head>
<body>
<div class="page-wrapper" id="page-wrapper">
<?php
include('../home_include/header.php');
?>
<!-- page content start -->
<!-- start inner banner -->
<section class="inner-banner">
<h1 class="font-weight-bold text-center">Gallery</h1>
</section>
<!-- end inner banner -->
<!-- start gallery -->
<section class="course">
<div class="container">
<div class="sec-title text-center mb-3" data-aos="fade-up" data-aos-duration="1000">
<span class="title">Our Gallery</span>
<h2>Life At Campus</h2>
<div class="divider">
<span class="fa fa-mortar-board"></span>
</div>
</div>
<ul class="nav nav-pills mb-3 p-0 justify-content-center" id="pills-tab" role="tablist" data-aos="fade-up"
data-aos-duration="1000">
<li class="nav-item">
<a class="nav-link active" id="showall-tab" data-toggle="pill" href="#showall" role="tab"
aria-controls="showall" aria-selected="true">Show All</a>
</li>
<li class="nav-item">
<a class="nav-link" id="Events-tab" data-toggle="pill" href="#Events" role="tab"
aria-selected="false">Industrial Visit</a>
</li>
<li class="nav-item">
<a class="nav-link" id="Sports-tab" data-toggle="pill" href="#Sports" role="tab"
aria-selected="false">Sports</a>
</li>
<li class="nav-item">
<a class="nav-link" id="Classroom-tab" data-toggle="pill" href="#Classroom" role="tab"
aria-selected="false">Seminar</a>
</li>
</ul>
<div class="row">
<div class="tab-content" id="pills-tabContent">
<div class="tab-pane fade show active" id="showall" role="tabpanel" aria-labelledby="showall-tab">
<?php
while($row_all = mysqli_fetch_assoc($res_all)){
?>
<div class="Portfolio" data-aos="fade-up" data-aos-duration="1000">
<img class="img-fluid " src="../admin/gallery/<?php echo $row_all['pic']; ?>" alt="Gallery">
<div class="overlay"></div>
<div class="overlay-text">
<a href="../admin/gallery/<?php echo $row_all['pic']; ?>" data-fancybox="gallery"><i class="fa fa-plus fa-2x"></i></a>
<h5 class="font-weight-bold">Campus</h5>
</div>
</div>
<?php
}
?>
</div>
<!--=====Campus Tab=====-->
<div class="tab-pane fade " id="Events" role="tabpanel" aria-labelledby="Campus">
<?php
while($row_iv = mysqli_fetch_assoc($res_iv)){
?>
<div class="Portfolio" data-aos="fade-up" data-aos-duration="1000">
<img class="img-fluid " src="../admin/gallery/<?php echo $row_iv['pic']; ?>" alt="Gallery">
<div class="overlay"></div>
<div class="overlay-text">
<a href="../admin/gallery/<?php echo $row_iv['pic']; ?>" data-fancybox="gallery"><i class="fa fa-plus fa-2x"></i></a>
<h5 class="font-weight-bold">Campus</h5>
</div>
</div>
<?php
}
?>
</div>
<!--==End Camous Tabs==-->
<!--==Sports Tabs==-->
<div class="tab-pane fade" id="Sports" role="tabpanel" aria-labelledby="Sports-tab">
<?php
while($row_sports = mysqli_fetch_assoc($res_sports)){
?>
<div class="Portfolio" data-aos="fade-up" data-aos-duration="1000">
<img class="img-fluid " src="../admin/gallery/<?php echo $row_sports['pic']; ?>" alt="Gallery">
<div class="overlay"></div>
<div class="overlay-text">
<a href="../admin/gallery/<?php echo $row_sports['pic']; ?>" data-fancybox="gallery"><i class="fa fa-plus fa-2x"></i></a>
<h5 class="font-weight-bold">Campus</h5>
</div>
</div>
<?php
}
?>
</div>
<!--=====End Sports Tabs=======-->
<!--=====Events Tabs=====-->
<div class="tab-pane fade " id="Classroom" role="tabpanel" aria-labelledby="Classroom-tab">
<?php
while($row_seminar = mysqli_fetch_assoc($res_seminar)){
?>
<div class="Portfolio" data-aos="fade-up" data-aos-duration="1000">
<img class="img-fluid " src="../admin/gallery/<?php echo $row_seminar['pic']; ?>" alt="Gallery">
<div class="overlay"></div>
<div class="overlay-text">
<a href="../admin/gallery/<?php echo $row_seminar['pic']; ?>" data-fancybox="gallery"><i class="fa fa-plus fa-2x"></i></a>
<h5 class="font-weight-bold">Campus</h5>
</div>
</div>
<?php
}
?>
<!--====End Event Tabs=======-->
</div>
</div>
</div>
</div>
</section>
<!-- end gallery -->
<!-- page content end -->
<?php
include('../home_include/footer.php');
?>
</div>
<?php
include('../home_include/footer_link.php');
?>
</body>
</html>