<?php
include_once("include/main.inc.php");
$page_metatitle = "Before After Result Gallery ".COMPANY_NAME;
$page_metakey = "Before After Result Gallery ".COMPANY_NAME;
$page_metadesc = "Before After Result Gallery ".COMPANY_NAME;
$after_before_sql1 =mysqli_query($dbconn,"select * from beforAfter_tbl");
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <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/about-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">Before After Result Gallery</h1>
                    <div class="clearfix"></div>
                    
                </div>
            </div>
        </div>
    </section>

    <div 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 class="active">Before After Result Gallery</li>
                    </ul>
                </div>
            </div>
        </div>
</div>


    <section class="about_page">
        <div class="container">
            <div class="row">
            <?php while($after_before_res=mysqli_fetch_assoc($after_before_sql1)){ 
    $imglink_before= getImage($after_before_res[gallery_image], 376, 376, $after_before_res[gallery_title],"/uploaded-files/before-after/");?>
                <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/before-after/<?=$after_before_res['gallery_image'];?>" title="<?=$after_before_res['gallery_title'];?>">
                            <img src="<?= $imglink_before;?>" alt="<?=$after_before_res['gallery_title'];?>" title="<?=$after_before_res['gallery_title'];?>">
                        </a>
                        <div class="gallery_item_info">
                            <h3 class="title_h3"><?=$after_before_res['gallery_title'];?></h3>
                        </div>
                    </div>
                </div>    
                <?php } ?>            
                <!-- <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="designer/images/dr.kenil.lathia.jpg">
                            <img src="designer/images/dr.kenil.lathia.jpg" alt="Image">
                        </a>
                        <div class="gallery_item_info">
                            <h3 class="title_h3">Photo Title Here</h3>
                        </div>
                    </div>
                </div>

                <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="designer/images/dr.kenil.lathia.jpg">
                            <img src="designer/images/dr.kenil.lathia.jpg" alt="Image">
                        </a>
                        <div class="gallery_item_info">
                            <h3 class="title_h3">Photo Title Here</h3>
                        </div>
                    </div>
                </div> -->
            </div>
        </div>        
    </section>

    <?php include "app_testimonials.php"; ?>
    <?php include "app_faq.php"; ?>
    <?php include "app_footer.php"; ?>
    <?php include "app_bottom.php"; ?>
</body>

</html>