Server IP : 103.53.40.154 / Your IP : 3.148.108.192 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/cyclopsecycles.com/../brmarketingindia.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<style> .call-us ul li a { font-size: 16px; } </style> <div class="container secondary-header"> <div class="row"> <div class="col-sm-3 col-md-4"> <div class="logo"> <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> </div> <button id="menu" class="menu visible-xs"></button> </div> <div class="col-sm-9 col-md-8 hidden-xs"> <div class="call-us"> <ul> <?php if(!empty($compDATA['admin_email'])){ ?> <li> <i class="ion-ios-email-outline color"></i> <span class="call-box"> Mail us today</span> <a href="mailto:<?=$compDATA['admin_email']?>" style="font-size:15px"><?=$compDATA['admin_email']?></a> <br> <a href="mailto:<?=$compDATA['admin_alt_email']?>" style="font-size:15px"><?=$compDATA['admin_alt_email']?></a> </li> <?php }?> <?php if(!empty($compDATA['admin_mobile'])){ ?> <li> <i class="ion-iphone color"></i><span class="call-box"> Call us today</span><a href="tel:<?=$compDATA['admin_mobile']?>"> <?php $mobi=$compDATA['admin_mobile']; echo $mobi; ?></a> </li> <?php }?> </ul> </div> </div> </div> </div> <div class="primary-header"> <div class="container"> <div class="row"> <div class="col-sm-12"> <?php $shwInHdr = db_scalar("select site_pages_show_in_header from tbl_site_pages where 1 and site_pages_link='$page_name'"); $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,5"); if(mysqli_num_rows($link_sql)>0){ ?> <nav class="navigation"> <ul> <?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=='products'){ ?> <li> <a href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html"><i class="ion-ios-plus-empty visible-xs"></i> <?=$link_data['site_pages_name']?> <ul class="sub-nav"> <?php function fetch_header_menu($query) { $site_url=db_scalar("select admin_website_url from tbl_admin where 1"); while ( $result = mysqli_fetch_array ( $query ) ) { $menu_id = $result ['category_id']; $menu_name = ucwords(strtolower($result ['category_name'])); $menu_cat_link = $result ['category_url']; if (has_child ( query ( $menu_id ) )) { $menuClass = ""; }else{ $menuClass = ""; } echo "<li ><a href='$site_url/{$menu_cat_link}.html'>{$menu_name}</a>"; if (has_child ( query ( $menu_id ) )) { echo "<ul class='{$menuClass}'>"; //fetch_header_menu ( query ( $menu_id ) ); echo "</ul>"; } echo "</li>"; } } fetch_header_menu(query(0)); //call this function with 0 parent id ?> </ul> </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> <?php }?> <?php }?> </ul> <a href="<?=$site_url?>/enquiry.html" class="btn-text pull-right ">Enquiry</a> </nav> <?php }?> </div> </div> </div> </div>