 <?php  
require 'admin/config/function.php';
$abt=mysqli_query($conn,"select * from cat_prod where ct_pd_url='family-fun'");
$abt1=mysqli_fetch_assoc($abt);
?>
<!doctype html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title><?=$abt1['ct_pd_title']?></title>
  <meta name="description" content="<?=$abt1['ct_pd_mt_ds']?>">
  <link rel="canonical" href="<?=base_url().$abt1['ct_pd_url']?>">
  <?php include 'inc/link.php';?>
</head>

<body>


  <!-- navbar start here -->
 <?php include 'inc/header.php';?>
  <!-- navbar end here -->

  <main>
    <section id="familyfun">
          <!-- vacation start -->
      <section id="VancationSection">
        <div class="container">
          <div class="row" id="Vacation">
            <?=$abt1['small_description']?>
           

  <?php 
   $gallery=mysqli_query($conn,"select * from gallery where category='Family-fun'");
   while ($row=mysqli_fetch_assoc($gallery)) {?>
 

            <div class="col-md-4">
              <div class="image-container">
                <img src="<?=admin_base_url().'uploads/gallery/'.$row['image']?>" alt="<?=$row['category']?>" class="img-fluid" onclick="openGallery(0)">
          
            </div>

            </div>
             <?php }?>
          

           
            
           
           </div>
         
          </div>
        </div>
         
      </section>
      <!-- vacation end -->
    </section>
    <!-- Gallery Modal -->
<div id="galleryModal" class="modal">
  <span class="close" onclick="closeGallery()">&times;</span>
  <img id="galleryImage" class="modal-content ">
  <a class="prev" onclick="prevImage()">&#10094;</a>
  <a class="next" onclick="nextImage()">&#10095;</a>
</div>
  </main>

<!-- Footer Start -->
<?php include 'inc/footer.php';?>
 <script src="assets/js/gallery.js"></script>

    
</body>

</html>