<?php
include_once("include/main.inc.php");
$page_metatitle = "Photo Gallery - " . COMPANY_NAME;
$page_metakey = "Photo Gallery - " . COMPANY_NAME;
$page_metadesc = "Photo Gallery - " . COMPANY_NAME;
$gallery_sql = mysqli_query($GLOBALS['dbconn'], "select * from gallery_tbl where gallery_cat='1'"); ?>
<!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/blog-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>

    <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">Photo Gallery</li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <section class="gallery_page">
        <div class="container">
            <h2 class="title_4">Photo Gallery</h2>
            <p class="text-center w-75 mx-auto mb-4"> Explore our diverse Photo Gallery showcasing cutting-edge pharmaceutical solutions, innovative research, and our commitment to advancing healthcare excellence. </p>
            <div class="clearfix"></div>
            <div class="row g-3 row-cols-1 row-cols-md-2 row-cols-lg-3">
            <?php $gallery_award_sql= mysqli_query($GLOBALS['dbconn'], "select title,image,gallery_id,id from photo_tbl order by id desc"); 

while($gallery_res= mysqli_fetch_assoc($gallery_award_sql)){ 
   $galImg=getImage($gallery_res[image], 600, 400, $gallery_res[title].$gallery_res[id],"/uploaded-files/gallery/photos/");
   $galImg1= getImage($gallery_res[image], 800, 600, $gallery_res[title].$gallery_res[id],"/uploaded-files/gallery/photos/") ;
   ?>
                <div class="col">
                    <div class="gallery-bx">
                        <div class="item">
                            <a href="<?=$galImg1;?>" title="<?=$gallery_res['title'];?>" class="img-bx" data-fancybox=''>
                                <img src="<?=$galImg;?>" alt="<?=$gallery_res['title'];?>" title="<?=$gallery_res['title'];?>">
                            </a>
                            <span class="link-wrap">
                                <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
                                    <path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="m21 21-3.5-3.5M17 10a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z"></path>
                                </svg>
                            </span>
                        </div>
                        <div class="tt"><?=$gallery_res['title'];?></div>
                    </div>
                </div>
                <?php } ?>
               
        </div>
    </section>
    <?php include "app_testimonials.php"; ?>

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

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

</html>