MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.188.101.251
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/fastelevator.in/../sainicraneservice.in/../brmarketingindia.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevator.in/../sainicraneservice.in/../brmarketingindia.com/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
// change only db_query to mysqli_query for dropdown 
  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>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<?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']?>" />
<? } ?>


<!--[if IE]><meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'><![endif]-->
<!-- CSS -->
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800%7COswald:300,400,700%7Clato:400,100,200,300,500">
<link href="<?=$site_url?>/assets/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/assets/css/font-awesome.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/assets/css/ionicons.css" rel="stylesheet" type="text/css">
<!-- carousel -->
<link href="<?=$site_url?>/assets/css/plugin/owl.carousel.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/assets/css/plugin/owl.transitions.css" rel="stylesheet" type="text/css">
<!--Main Slider-->
<link href="<?=$site_url?>/assets/css/settings.css" type="text/css" rel="stylesheet" media="screen">
<link href="<?=$site_url?>/assets/css/layers.css" type="text/css" rel="stylesheet" media="screen">
<!--Main Style-->
<link href="<?=$site_url?>/assets/css/style.css" rel="stylesheet" type="text/css">
<!--Theme Color-->
<link href="<?=$site_url?>/assets/css/theme-color/default.css" rel="stylesheet" id="theme-color" type="text/css">
<link href="<?=$site_url?>/assets/css/lightbox.css" rel="stylesheet" id="theme-color" type="text/css">
<link  href="<?=$site_url?>/assets/css/custom.css"  rel="stylesheet" type="text/css" >
<link rel="stylesheet" href="<?=$site_url?>/css/lightbox.css">

<?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);
}
?>
<!--loader-->
<!--<div id="preloader">
  <div class="sk-circle">
    <div class="sk-circle1 sk-child"></div>
    <div class="sk-circle2 sk-child"></div>
    <div class="sk-circle3 sk-child"></div>
    <div class="sk-circle4 sk-child"></div>
    <div class="sk-circle5 sk-child"></div>
    <div class="sk-circle6 sk-child"></div>
    <div class="sk-circle7 sk-child"></div>
    <div class="sk-circle8 sk-child"></div>
    <div class="sk-circle9 sk-child"></div>
    <div class="sk-circle10 sk-child"></div>
    <div class="sk-circle11 sk-child"></div>
    <div class="sk-circle12 sk-child"></div>
  </div>
</div>-->
<!--loader--> 
<!-- Site Wraper -->
<div class="wrapper"> <!-- HEADER -->
  <header id="header" class="header header-2">
    <div id="top-bar" class="top-bar-section top-bar-bg-color">
      <div class="container">
        <div class="row">
          <div class="col-sm-12"> 
            <!-- Top Contact -->

          

            <div class="top-contact link-hover-black hidden-xs"> <strong class="welcome-text"><i class="ion-ios-location fa-icons fa-2x color v-align"></i> <?=$compDATA["admin_address"]?></strong> </div>
            <!-- Top Social Icon -->

          <?php if($compDATA['admin_search_option']=='Yes'){ ?> 
		  
		  <?php include("site-search.php");?>  
          
          <?php }?>
    
            
            <?php include("site-follow-us.php");?>
            

            
          </div>
        </div>
      </div>
    </div>
    
<?php include("site-header-menu.php");?>   
</header>
  <!-- END HEADER --> 

MMCT - 2023