MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.147.65.111
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/.htpasswds/../cablecubby.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/.htpasswds/../cablecubby.in/site-header-menu.php
<script type="text/javascript">
function redrtURL(){
	window.location.href = "products.html";
}
</script>
<div class="navigation-2">
            <!-- navigation-start -->
            <nav class="navbar navbar-default ">
                <div class="container">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#main-navigation" aria-expanded="false">
                           <span class="sr-only">Toggle navigation</span>
                           <span class="icon-bar"></span>
                           <span class="icon-bar"></span>
                           <span class="icon-bar"></span>
         				</button>
                    </div>
                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="main-navigation">
<?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){
?>  
                    
                        <ul class="nav navbar-nav">
<?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  <?php if($page_name=="products"){?>class="active"<?php }?> class="dropdown "><a href="products.html" class="dropdown-toggle" data-hover="dropdown" data-toggle="dropdown" data-animations="fadeInUp" onClick="redrtURL();">OUR <?php if($compDATA['admin_product_option']=='Yes'){ ?>Products<? }else{ ?>Services<? } ?> <span class="fa fa-angle-down"></span></a>

<ul  class="dropdown-menu" style="overflow-y: scroll; height: 300px;">
<?php
$sql_cat=db_query("select * from tbl_category where 1 and category_status='Active' and category_parent_id=0 order by category_order_by");
if(mysqli_num_rows($sql_cat)>0){
while($CAT_DATA=mysqli_fetch_array($sql_cat)){
@extract($CAT_DATA);
?>             
<li><a href="<?=$site_url?>/<?=$CAT_DATA['category_url']?>.html"><?=$category_name?></a></li>
<?php
}
}
?>                                 
									
								</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>
<?php }?>                            
                       <a  href="<?=$site_url?>/enquiry.html"  class="btn btn-primary pull-right">Enquiry</a>
                       </div>
                    <!-- /.navbar-collapse -->
                </div>
                <!-- /.container-end -->
            </nav>
        </div>
        <!-- /.navigation-end -->

MMCT - 2023