Server IP : 103.53.40.154 / Your IP : 18.116.20.108 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/pccaterers.in/includes/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $link_sql=db_query("select * from tbl_site_pages where 1 and site_pages_status='Active' and site_pages_show_in_header='Yes' order by site_pages_order_by asc limit 0,8"); if(mysqli_num_rows($link_sql)>0){ ?> <div class="header-bottom" id="sticky-header"> <div class="container"> <div class="row"> <div class="hidden-md hidden-lg col-sm-8 col-xs-6"> <div class="logo"> <h1><a href="<?=$site_url?>/index.html"> <img src="<?=$site_url?>/header_files/<?=$DATALOGO['header_logo']?>" alt="<?=$compDATA['admin_company_name']?>" title="<?=$compDATA['admin_company_name']?>"> </a></h1> </div> </div> <div class="col-md-11 hidden-sm hidden-xs"> <div class="mainmenu"> <ul id="navigation"> <?php while($link_data=mysqli_fetch_array($link_sql)){ $pgName=$link_data['site_pages_link']; ?> <?php if($pgName=='index'){ ?> <li <?php if($page_name==$link_data['site_pages_link']){?> class="active"<?php }?>><a href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html"> <?=$link_data['site_pages_name']?> </a></li> <?php }elseif($pgName=='services'){ ?> <li><a href="<?=$site_url?>/services.html"><?=$link_data['site_pages_name']?> <i class="fa fa-angle-down"></i></a> <?php $sql="SELECT * FROM tbl_category WHERE 1 AND category_parent_id='0' AND category_status='Active' AND category_is_product='No'"; $data=db_query($sql); $count=mysqli_num_rows($data); if($count){ ?> <ul class="submenu"> <?php while($rec=mysqli_fetch_array($data)){ ?> <li><a href="<?=$site_url?>/<?=$rec['category_url']?>.html"><?=$rec['category_name']?></a></li> <?php }?> </ul> <?php }?> </li> <?php }elseif($pgName=='products'){ ?> <li><a href="<?=$site_url?>/products.html"><?=$link_data['site_pages_name']?> <i class="fa fa-angle-down"></i></a> <?php $sql="SELECT * FROM tbl_category WHERE 1 AND category_parent_id='0' AND category_status='Active' AND category_is_product='Yes'"; $data=db_query($sql); $count=mysqli_num_rows($data); if($count){ ?> <ul class="submenu"> <?php while($rec=mysqli_fetch_array($data)){ ?> <li><a href="<?=$site_url?>/<?=$rec['category_url']?>.html"><?=$rec['category_name']?></a></li> <?php }?> </ul> <?php }?> </li> <?php }else{ ?> <li <?php if($page_name==$link_data['site_pages_link']){?> class="active"<?php }?> ><a href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html"> <?=$link_data['site_pages_name']?> </a></li> <? }} ?> </ul> </div> </div> <div class="col-md-1 col-sm-2 col-xs-3"> <div class="search-wrap text-right"> <ul> <li> <a href="javascript:void(0);"> <i class="fa fa-search pres"></i> </a> </li> </ul> </div> </div> <div class="col-sm-2 clear col-xs-3 hidden-md hidden-lg"> <div class="responsive-menu-wrap floatright"></div> </div> </div> </div> </div> <? } ?>