 <?php
    include("admin/connection.php");
    include('include/header.php');
    ?>
 <div class="breadcumb-wrapper" data-bg-src="assets/img/hero/banner6.webp">
     <div class="container">
         <div class="breadcumb-content">
             <h1 class="breadcumb-title">Our Gallery</h1>
             <ul class="breadcumb-menu">
                 <li><a href="<?php path(); ?>index.php">Home</a></li>
                 <li>Our Gallery</li>
             </ul>
         </div>
     </div>
 </div>
 <section class="gallery-inner-sec space">
     <div class="container">

         <div class="row gy-4 justify-content-center filter-active">
             <?php
                $gallery = mysqli_query($con, "SELECT * FROM media WHERE page_name = 'Image'");
                while ($row = mysqli_fetch_array($gallery)) {
                    $photo = $row['photo'];
                ?>
                 <div class="col-6 col-lg-3 col-md-6 filter-item">
                     <div class="gallery-card2">
                         <div class="gallery-img"><img src="<?php echo path(); ?>/admin/assets/images/gallery/<?php echo $photo; ?>" alt="gallery image">
                             <a class="popular-popup-image" href="<?php echo path(); ?>/admin/assets/images/gallery/<?php echo $photo; ?>"><i
                                     class="fa-solid fa-eye"></i></a>
                         </div>
                     </div>
                 </div>
             <?php
                } ?>

         </div>
     </div>
 </section>
 <?php
    include("include/footer.php");
    ?>