<?php include_once("include/main.inc.php");
$admin_res=getAdminDetails();
$page_metatitle = "Aarna Systems And Wellness Pvt. Ltd. - Photo Gallery";
$page_metakey = "Aarna Systems And Wellness Pvt. Ltd. - Photo Gallery";
$page_metadesc = "Aarna Systems And Wellness Pvt. Ltd. - Photo Gallery";
?>
<!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><?php echo $page_metatitle;?></title>  
     <meta name=description content="<?php echo $page_metadesc;?>" /> 
    <meta name=keywords content="<?php echo $page_metakey;?>" />
    <?php include 'components/top_header.php';?>
</head>

<body>
    <div class="webpulse-main-wrapper">
        <!-- Header -->
        <?php include 'components/header.php';?>

        <!-- Heading Banner -->
        <section class="heading_banner" style="background-image: url(<?=theme_url?>images/gallery/gallery.jpg)">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12 text-center">
                        <h1 class="cat_title">Photo <strong>Gallery</strong></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-lg-12">
                        <ul class="breadcrumb">
                            <li><a href="<?=site_url?>" title="Home">Home</a></li>
                            <li><a href="<?=site_url?>/our-gallery.htm" title="Our Gallery">Our Gallery</a></li>
                            <li class="active">Photo Gallery</li>
                        </ul>
                    </div>
                </div>
            </div>
        </section>


        <!-- Home About -->
        <section class="about_page ptb-50">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="right_side">
                            <h2 class="bg-title">Photo <span>Gallery</span></h2>
                            <div class="wps_right">
                                <div class="row">
<?php $photo_sql = mysqli_query($dbconn,"select * from gallery_tbl"); 
                 $i=1;
            while($gallery_r = mysqli_fetch_array($photo_sql)){ 
$galleryimg  = getImage($gallery_r[gallery_image], 296, 190, $gallery_r[gallery_title].$i,"/uploaded-files/gallery/");
  ?>
                                    <div class="col-md-4 col-sm-4 wow fadeInDown animated" data-wow-delay=".1s">
                                        <a data-fancybox="gallery" href="<?=site_url?>/uploaded-files/gallery/<?=$gallery_r[gallery_image]?>" title="<?=$gallery_r[gallery_title]?>">
                                            <div class="gallery_details">
                                                <div class="gdetails_image">
                                                    <img src="<?=$galleryimg?>"
                                                        alt="<?=$gallery_r[gallery_title]?>" title="<?=$gallery_r[gallery_title]?>">
                                                </div>
                                                <div class="link-wrap">
                                                    <i class="fa fa-search"></i>
                                                </div>
                                            </div>
                                        </a>
                                    </div>
                         <?php $i++; } ?>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>


  <?php include 'components/app_testi_client.php';?>
        <!-- Footer -->
        <?php include 'components/footer.php';?>
    </div>
    <?php include 'components/bottom_footer.php';?>
    <script>
    $('.fancybox').fancybox();
    </script>
</body>

</html>