<!DOCTYPE html>

<html lang="en">

<head>

    <?php include_once("assets/include/head.php")?>

</head>

<body>

    <?php include_once("assets/include/header.php")?>

    <!-- sub banner started... -->

    <section class="sub-banner">

        <picture>

            <source media="(max-width:767px)" srcset="assets/images/gallery-mob.webp">

            <source media="(min-width:768px)" srcset="assets/images/gallery.webp">

            <img src="#" alt="sub banner-img">

        </picture>

        <nav aria-label="breadcrumb">

            <div class="container">

                <ol class="breadcrumb">

                    <li class="breadcrumb-item"><a href="<?php path();?>">Home</a></li>

                    <li class="breadcrumb-item active" aria-current="page">Gallary</li>

                </ol>

            </div>

        </nav>

    </section>

    <!-- sub banner ended... -->

    <!-- gallery section started... -->
<?php 
       $g=mysqli_query($con,"SELECT * FROM gallary order by id");
       
     ?>
    <section class="gallery py-80">

        <div class="container">

            <div class="row imageGallery">
       <?php
   while($row=mysqli_fetch_array($g)){
   ?>
                <div class="col-md-4">

                    <div class="gallery-item">

                        <div class="gallery_img">

                            <a class="light" href="assets/images/gallary/<?php echo $row['pop_img']; ?>">

                                <img class="img-fluid" src="assets/images/gallary/<?php echo $row['image_name']; ?>" alt="">

                            </a>

                        </div>

                    </div>

                </div>
   <?php } ?>
            </div>

        </div>

    </section>
    
    
    <!-- gallery section ended... -->

    <?php include_once("assets/include/footer.php")?>

</body>

</html>