<section class="c-layout-revo-slider c-layout-revo-slider-8">
    <div class="tp-banner-container tp-fullscreen tp-fullscreen-mobile">
        <div class="tp-banner ">
            <ul>
                <!--BEGIN: SLIDE #1 -->
                <?php $egallery=$db->query("SELECT * FROM gallery where kind=1 order by id DESC limit 4");
                while($gallery=$db->fetchNextArray($egallery)){?>
                <li data-transition="fade" data-slotamount="1" data-masterspeed="1000" data-style="dark">
                    <img alt="" src="<?php echo $gallery['file'];?>" data-bgposition="center center" data-bgfit="cover" data-bgrepeat="no-repeat">
                    <!--BEGIN: MAIN TITLE -->
                    <div class="caption customin customout tp-resizeme" data-x="center" data-y="center" data-hoffset="" data-voffset="-30" data-speed="500" data-start="1000" data-customin="x:0;y:0;z:0;rotationX:0.5;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;" data-easing="Back.easeOut" data-splitin="none" data-splitout="none" data-elementdelay="0.1" data-endelementdelay="0.1" data-endspeed="600">
                        <h3 class="c-font-60 c-font-bold c-font-center c-font-uppercase c-font-white c-block">
                            <?php echo $gallery['name']; ?><br>
                            <?php echo $gallery['des']; ?></h3>
                    </div>
                    <!--END -->
                    <!--BEGIN: ACTION BUTTON -->

                    <!--END -->


                </li>
                <?php } ?>
                <!--END -->
                <!--BEGIN: SLIDE #2 -->

                <!--END -->
            </ul>
        </div>
    </div>
</section>