<?php include_once("include/main.inc.php");
$admin_res=getAdminDetails();
$pg= "gallery";
$page_metatitle = "Photo Gallery | Sunshine Fertility & IVF Center in Mumbai";
$page_metakey = "Photo Gallery | Sunshine Fertility & IVF Center in Mumbai";
$page_metadesc = "Photo Gallery | Sunshine Fertility & IVF Center in Mumbai";
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
   <title><?=$page_metatitle?></title>
 <meta name="description" content="<?=$page_metadesc?>" >
 <meta name="keywords" content="<?=$page_metakey?>" >
    <?php include "app_top.php"; ?>
</head>

<body>

    <?php include "app_header.php"; ?>

    <section class="heading_banner" style="background-image: url(<?=theme_url?>images/gallery-banner.jpg)">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 text-center">
                    <h1 class="cat_title">Photo Gallery</h1>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </section>

    <!-- Breadcrumb-->
    <section class="inner_breadcrumb hidden_xs">
        <div class="container">
            <div class="row">
                <div class="col-xxl-12 col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <ul class="breadcrumb">
                        <li><a href="<?=site_url?>" title="Home">Home</a></li>
                        <li >Gallery</li>
                        <li class="active">Photo Gallery</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>


    <section class="gallery_page">
        <div class="container">
            <h2 class="title_2">Photo Gallery</h2>
            <div class="clearfix"></div>
            <div class="row">
                                                <?php
$gallery_q = mysqli_query($dbconn,"select * from gallery_tbl");
 if(mysqli_num_rows($gallery_q)){
 while($gallery_r= mysqli_fetch_array($gallery_q))
 { 
    $galleryimg  = getImage($gallery_r[gallery_image], 367, 250, $gallery_r[gallery_title],"/uploaded-files/gallery/")
    ?>
                <div class="col-xxl-4 col-xl-4 col-lg-4 col-md-4 col-sm-6 col-12">
                    <div class="gallery_item">
                        <a class="hover_effect h_yellow" data-fancybox="photo-gallery" href="<?=site_url."/uploaded-files/gallery/".$gallery_r[gallery_image]?>" title="<?=$gallery_r[gallery_title]?>">
                            <img src="<?=$galleryimg?>" alt="<?=$gallery_r[gallery_title]?>" title="<?=$gallery_r[gallery_title]?>">
                        </a>
<!--
                        <div class="gallery_item_info">
                            <h4><?=$gallery_r[gallery_title]?></h4>
                        </div>
-->
                    </div>
                </div>
            <?php  }  } ?>    
            
            </div>
        </div>
    </section>
    
  <?php include "app_testimonials_faq.php";?>
    <?php include "app_footer.php";?>
    <?php include "app_bottom.php"; ?>
</body>

</html>