Server IP : 103.53.40.154 / Your IP : 3.135.190.244 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/semipreciousslab.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $sql_index_gal=db_query("select * from tbl_category where 1 and category_for_gallery='Yes' and category_status='Active' order by rand() limit 0,16"); if(mysqli_num_rows($sql_index_gal)>0){ ?> <section id="restaurant-menu" class="padd-100 bg-sec"> <span class="section-suptitle text-center">Our Products</span> <h2 class="section-title sep-type-2 text-center"> Product Gallery </h2> <div class="container"> <div class="row"> <div class="restaurant-list"> <div class="grid-sizer col-sm-6 col-md-4"></div> <?php while($INDEXGAL_DATA=mysqli_fetch_array($sql_index_gal)){ @extract($INDEXGAL_DATA); ?> <div class="col-sm-6 col-md-3 grid-item gly" data-filter="drinks"> <a href="<?=$site_url?>/uploaded_files/<?=$INDEXGAL_DATA['category_image_name']?>" data-fancybox-group="gallery" class="fancybox"><img src="<?=$site_url?>/uploaded_files/<?=$INDEXGAL_DATA['category_image_name']?>" alt="Gallery"></a> </div> <?php } ?> </div> <div class="col-md-2 col-md-offset-5 text-center"> <a href="<?=$site_url?>/gallery.html" class="btn-food">View More</a> </div> </div> </div> </section> <?php } ?>