    <div class="home_blog video_gallery bg-light">
        <div class="container">
            <div class="title-headings">

                <div class="title_2">Latest Videos From Our YouTube Channel</div>
                <!-- <p class="text-center">
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Hic iure explicabo exercitationem voluptatem nisi architecto perferendis culpa totam. Tenetur sequi dicta minima aut, corrupti eligendi fugit voluptatem ipsam sunt aspernatur!         
        </p> -->
            </div>
            <div class="row g-2 mb-0">
            <?php
                $video_sql = mysqli_query($GLOBALS['dbconn'], "select slink_title, slink_url from video_tbl");
                while ($video_res = mysqli_fetch_array($video_sql)) { ?>

                <div class="col-lg-4 col-md-6 col-12">
                    <div class="vd_bx">
                        <img loading="lazy" src="https://img.youtube.com/vi/<?= $video_res['slink_url']; ?>/hqdefault.jpg"
                            alt="<?= $video_res['slink_title']; ?>" title="<?= $video_res['slink_title']; ?>"
                            width="480" height="360">
                        <a href="https://www.youtube.com/watch?v=<?= $video_res['slink_url']; ?>" data-fancybox="" class="video-play-icon"
                            title="<?= $video_res['slink_title']; ?>">
                            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
                                class="bi bi-play-fill" viewBox="0 0 16 16">
                                <path
                                    d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z">
                                </path>
                            </svg>
                        </a>
                    </div>
                </div>
                <?php } ?>
                


            </div>

        </div>
    </div>