<?php 
include_once("include/main.inc.php");
$hover = 'Photo Gallery';
$page_metatitle = "Photo Gallery - " . $admin_res['companyName'];
$page_metakey = "Photo Gallery - " . $admin_res['companyName'];
$page_metadesc = "Photo Gallery - " . $admin_res['companyName'];

?>

<!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/gallery-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">
                    <div class="cat_title">Photo Gallery</div>
                    <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">
            <h1 class="title_21 h2_title  aboutTitle">Photo Gallery</h1>
            <p class="w-75 mx-auto text-center mb-3">Explore our vibrant gallery showcasing the versatility and quality of our lecithin products. From production excellence to customer applications, each image highlights our commitment to innovation, sustainability, and superior standards. Dive into our world and witness how our lecithin solutions transform industries and add value across diverse applications.</p>
            <div class="clearfix"></div>
            <div class="row">
            <?php $gallery_award_sql= mysqli_query($GLOBALS['dbconn'], "select title,image,gallery_id,id from photo_tbl order by id ASC"); 

while($gallery_res= mysqli_fetch_assoc($gallery_award_sql)){ 
   $galImg=getImage($gallery_res[image], 400, 400, $gallery_res[title].$gallery_res[id],"/uploaded-files/gallery/photos/");
   $galImg1= getImage($gallery_res[image], 600, 600, $gallery_res[title].$gallery_res[id],"/uploaded-files/gallery/photos/") ;
   ?>

                <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="<?=$galImg1;?>" title="<?=$gallery_res['title'];?>">
                            <img src="<?=$galImg;?>" alt="<?=$gallery_res['title'];?>" title="<?=$gallery_res['title'];?>">
                        </a>
                        <div class="gallery_item_info">

                            <div class="title_h3 fw-bold"><?=$gallery_res['title'];?></div>
                        </div>
                    </div>
                </div>

                <?php } ?>

             

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

</html>