Server IP : 103.53.40.154 / Your IP : 3.149.25.117 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/vivahmilankendra.com/../biocareaqua.org/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php if($compDATA['admin_product_option']=='Both') { $sql_index_gal=db_query("select * from tbl_category where 1 and category_for_gallery='Yes' and category_status='Active' order by category_order_by asc"); $index_gal_pro=db_query("select * from tbl_category where 1 and category_is_product='Yes' and category_for_gallery='Yes' and category_status='Active' order by category_order_by asc"); if(mysqli_num_rows($index_gal_pro)>0) {$index_gal_pro=1;} else {$index_gal_pro=0;} $index_gal_ser=db_query("select * from tbl_category where 1 and category_is_product='No' and category_for_gallery='Yes' and category_status='Active' order by category_order_by asc"); if(mysqli_num_rows($index_gal_ser)>0) {$index_gal_ser=1;} else {$index_gal_ser=0;} } elseif($compDATA['admin_product_option']=='Yes') { $sql_index_gal=db_query("select * from tbl_category where 1 and category_is_product='Yes' and category_for_gallery='Yes' and category_status='Active' order by category_order_by asc"); } else{ $sql_index_gal=db_query("select * from tbl_category where 1 and category_is_product='No' and category_for_gallery='Yes' and category_status='Active' order by category_order_by asc"); } if(mysqli_num_rows($sql_index_gal)>0){ ?> <div class="container"><div class="row"> <div class="col-md-12"> <section> <h2 class="section-title padding-custom"> <?php if($compDATA['admin_product_option']=='Both') { if($index_gal_pro==0) {?> Services <?php }elseif($index_gal_ser==0) {?> Products <?php }else { ?> Products & Services <?php } ?> <?php } elseif($compDATA['admin_product_option']=='Yes'){ ?> Products <? }else { ?> Services <? } ?> Gallery </h2> </section> </div> </div></div> <div id="container" class="cf"> <div id="" role="main"> <section class="slider"> <div class="flexslider carousel"> <ul class="slides"> <?php while($INDEXGAL_DATA=mysqli_fetch_array($sql_index_gal)){ @extract($INDEXGAL_DATA); ?> <li> <a href="<?=$site_url?>/<?=$INDEXGAL_DATA['category_url']?>.html" class="portfolio-img-link mdl-js-ripple-effect mdl-button--accent"> <?php if($INDEXGAL_DATA['category_image_alt_title']=="") { if($INDEXGAL_DATA['category_is_product']=="Yes") { ?> <img src="<?=$site_url?>/uploaded_files/<?=$INDEXGAL_DATA['category_image_name']?>" title="<?=$INDEXGAL_DATA['category_name']?> manufacturer supplier exporter importer dealer in <?=$compDATA['admin_address']?> <?=$compDATA['admin_city']?> <?=$compDATA['admin_country']?>" alt="<?=$INDEXGAL_DATA['category_name']?> manufacturer supplier exporter importer dealer in <?=$compDATA['admin_address']?> <?=$compDATA['admin_city']?> <?=$compDATA['admin_country']?>" style="width:280px; height:220px;"/> <? } else if($INDEXGAL_DATA['category_is_product']=="No") { ?> <img src="<?=$site_url?>/uploaded_files/<?=$INDEXGAL_DATA['category_image_name']?>" title="<?=$INDEXGAL_DATA['category_name']?> services in <?=$compDATA['admin_address']?> <?=$compDATA['admin_city']?> <?=$compDATA['admin_country']?>" alt="<?=$INDEXGAL_DATA['category_name']?> services in <?=$compDATA['admin_address']?> <?=$compDATA['admin_city']?> <?=$compDATA['admin_country']?>" style="width:280px; height:220px;"/> <?} ?> <? } else {?> <img src="<?=$site_url?>/uploaded_files/<?=$INDEXGAL_DATA['category_image_name']?>" alt="<?=$INDEXGAL_DATA['category_image_alt_title']?>" title="<?=$INDEXGAL_DATA['category_image_alt_title']?>" style="width:280px; height:220px;"/> <?}?> </a> </li> <? } ?> </ul> </div> </section> </div> </div> <? } ?>