
<?php

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

$hover = 'gallery';

$page_metatitle = "Gallery - " . $admin_res['companyName'];

$page_metakey = "Gallery - " . $admin_res['companyName'];

$page_metadesc = "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">
                    <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 py-5">
        <div class="container">
        <div class="tt-bx">
            <h2 class="tt">Behind the Scenes:  <span>Factory and Product Showcase</span></h2>
            <p>Discover the story behind every product—the precision of machinery, the dedication of skilled hands, and the rhythm of innovation in motion. From raw materials to finished excellence, every detail reflects passion and expertise. Step into a world where quality isn’t just a goal—it’s the standard, crafted with care at every stage of the journey.</p>
        </div>
            <div class="clearfix"></div>
            <div class="row g-3 row-cols-1 row-cols-md-2 row-cols-lg-4 justify-content-center">

            <?php $gallery_award_sql= mysqli_query($GLOBALS['dbconn'], "select gallery_title, gallery_image,id,description,image_name, gallery_order from gallery_tbl order by gallery_order asc");

while($gallery_res= mysqli_fetch_assoc($gallery_award_sql)){
   //$galImg=getImage($gallery_res[gallery_image], 500, 600, $gallery_res[image_name].$gallery_res[id],"/uploaded-files/gallery/");
   //$galImg1= getImage($gallery_res[gallery_image], 1200, 1600, $gallery_res[image_name].$gallery_res[id],"/uploaded-files/gallery/");
   ?>
                <div class="col">
                    <div class="gallery-bx wow fadeInUp">
                        <a href="<?= site_url; ?>/uploaded-files/gallery/<?php echo $gallery_res['gallery_image']; ?>" title="<?=$gallery_res['image_name'];?> in <?=$admin_res['targetlocation'];?>" data-fancybox="Gallery" class="img-bx">
                            <img loading="lazy" src="<?= site_url; ?>/uploaded-files/gallery/<?php echo $gallery_res['gallery_image']; ?>" alt="<?=$gallery_res['image_name'];?> in <?=$admin_res['targetlocation'];?>" title="<?=$gallery_res['image_name'];?> in <?=$admin_res['targetlocation'];?>">
                        </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" />
                            </svg>
                        </span>
                    </div>
                </div>
                <?php } ?>

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

</html>