ok
Direktori : /home/ngwcolle/www/ |
Current File : /home/ngwcolle/www/media-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">Media 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>Media Gallery</span></h1> </div> <!-- new feather gallery --> <div class="row gallery"> <?php $query=mysqli_query($con,"select * from tbl_cuttings order BY id desc;"); $cnt=1; while($row=mysqli_fetch_array($query)){ ?> <div class="col-sm-6 col-md-4 col-lg-3"> <a href="upload/gallery/<?php echo $row['docpath']; ?>"> <img class="img-fluid"src="upload/gallery/<?php echo $row['docpath']; ?>"> </a> </div> <?php }?> </div> <!-- feater gaeery ends --> </div> <?php include"sidebar.php";?> </div> </section> <?php include"footer.php";?> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.1/baguetteBox.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.11.1/baguetteBox.min.js"></script> <script> baguetteBox.run(".gallery", { animation: "slideIn" }); </script> <style> .gallery { padding:30px; } .gallery img { width: 100%; border-radius: 0; position: relative; } </style>