<?php

include_once("include/main.inc.php");

$hover="certificates";


$page_metatitle = "Certificates - ".COMPANY_NAME;

$page_metakey = "Certificates - ".COMPANY_NAME;

$page_metadesc = "Certificates - ".COMPANY_NAME;

?>

<!DOCTYPE html>

<html lang="en">



<head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

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

</head>



<body>



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



    <section class="heading_banner" style="background-image: url(<?=site_url;?>/designer/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">Certificates</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">Certificates</li>

                    </ul>

                </div>

            </div>

        </div>

    </div>



    <div class="clearfix"></div>



  <section class="gallery_page">
        <div class="container">
            <h2 class="title_1">Certificates</h2>
            <div class="clearfix"></div>
            <div class="row">
                 <?php $certificate_sql= mysqli_query($GLOBALS['dbconn'], "select gallery_title,gallery_image,image_name,id from gallery_tbl order by id ASC"); 
if(mysqli_num_rows($certificate_sql)>0){
while($certificate_res= mysqli_fetch_assoc($certificate_sql)){ 
   $certificateImg=getImage($certificate_res[gallery_image], 800, 600, $certificate_res[gallery_title].$certificate_res[id],"/uploaded-files/gallery/");
   $certificateImg1= getImage($certificate_res[gallery_image], 1000, 800, $certificate_res[gallery_title].$certificate_res[id],"/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="<?=$certificateImg1;?>" title="<?=$certificate_res['image_name'];?>">
                            <img src="<?=$certificateImg;?>" alt="<?=$certificate_res['image_name'];?>" title="<?=$certificate_res['image_name'];?>">
                        </a>
                        <div class="gallery_item_info">
                            <h4><?=$certificate_res['image_name'];?></h4>
                        </div>
                    </div>
                </div>
                   <?php } }else{ ?>
                   <div style="text-align:center;">
<div class="alert alert-success" style="display: inline-block;width: 600px;">
<strong>Uploading Soon</strong>
</div>
 </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>