<?php
include_once("include/main.inc.php");
$page_metatitle = "Video Testimonial ".COMPANY_NAME;
$page_metakey = "Video Testimonial ".COMPANY_NAME;
$page_metadesc = "Video Testimonial ".COMPANY_NAME;
$video_sql1 = mysqli_query($dbconn,"select * from video_testimonial_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">Video Testimonial</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">Video Testimonial</li>
                    </ul>
                </div>
            </div>
        </div>
</div>


<section class="video_testimonial">
        <div class="container">
            <h4 class="h2_title wow fadeInDown" data-wow-delay=".1s">Video Testimonial</h4>
            <div class="row">
<?php while($video_res=mysqli_fetch_array($video_sql1)){ ?>
                <div class="col-xxl-3 col-xl-3 col-lg-3 col-md-3 col-sm-6 col-xs-12 col-12 v_testimonial_wrap">
                    <div class="v_testimonial_wrap wow fadeInDown" data-wow-delay=".1s">
                        <a data-fancybox data-width="100%" data-height="auto" href="https://www.youtube.com/watch?v=<?=$video_res['video_url'];?>"><img src="https://img.youtube.com/vi/<?=$video_res['video_url'];?>/hqdefault.jpg">
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16"><path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path></svg></a>
                    </div>
                    <h3><?=$video_res['title'];?></h3>
                </div>
                <?php } ?>
               
              
            </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>