ok
Direktori : /home/ngwcolle/www/ |
Current File : /home/ngwcolle/www/photo-gallery.php |
<?php include "header.php"; date_default_timezone_set('Asia/Kolkata'); include "admin/includes/config.php"; $cquery=mysqli_query($con, "SELECT * from tbl_college"); $singleRow = mysqli_fetch_row($cquery); ?> <section class="inner-banner"></section> <section class="breadcrumb-sec"> <div class="container"> <div class="row"> <div class="col-md-12"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.html">Home</a></li> <li><i class="fa fa-caret-right" aria-hidden="true"></i></li> <li class="breadcrumb-item">Photo Gallery</li> </ol> </nav> </div> </div> </div> </section> <section class="section-15 about-section"> <div class="container"> <div class="row"> <div class="col-md-9"> <div class="title"> <h1><span>Photo Gallery</span></h1> </div> <div class="MultiCarousel-inner photo-gallery"> <?php $query=mysqli_query($con,"SELECT count(*) as total,YEAR(event_date) as gyear FROM `tbl_gallery` group BY YEAR(event_date);"); $cnt=1; while($row=mysqli_fetch_array($query)){ ?> <div class="item"> <div class="pad15"> <div class="image-box item-zoom"> <img src="images/gallery/thumb/galery.png" alt="Fit India Movement 3.0 - Plog Run"> </div> <p><a href="photo-galleryd.php?teamid=<?php echo $row['gyear'];?>"><?php echo $row['gyear'];?> .. [<?php echo $row['total'];?>]</a></p> </div> </div> <?php }?> </div> </div> <?php include"sidebar.php";?> </div> </section> <?php include"footer.php";?>