<div class="award-sec">
    <div class="container">
        <div class="tt-img">
            <img src="<?= site_url ?>/designer/images/award/titile-img.webp" alt="Recent Awards And Recognition" title="Recent Awards And Recognition">
        </div>
        <div class="row g-3 row-cols-1 row-cols-md-2 row-cols-lg-3 justify-content-center">
            <?php $photos_tbl = mysqli_query($GLOBALS['dbconn'], "select * from photos_tbl");
            while ($photos_res = mysqli_fetch_assoc($photos_tbl)) {
                $awardImg = getImage($photos_res["gallery_image"], 750, 500, $photos_res["gallery_title"] . $photos_res["id"], "/uploaded-files/gallery/");
                $awardImg1 = getImage($photos_res["gallery_image"], 1200, 853, $photos_res["gallery_title"] . $photos_res["id"], "/uploaded-files/gallery/"); ?>
                <div class="col">
                    <div class="gallery-bx wow fadeInUp">
                        <a href="<?= $awardImg1; ?>" title="<?= $photos_res['gallery_title']; ?>" data-fancybox="award" class="img-bx">
                            <img loading="lazy" src="<?= $awardImg; ?>" alt="<?= $photos_res['gallery_title']; ?>" title="<?= $photos_res['gallery_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="gallery-tt"><?= $photos_res['gallery_title']; ?></div>
                </div>
            <?php } ?>
        </div>
    </div>
</div>