MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.42.174
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/../natureamrit.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/fastelevator.in/../natureamrit.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 lang="en">
<head>
<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($compDATA['admin_favicon']!=""){?>
<link rel="shortcut icon" type="image/png" href="<?=$site_url?>/<?=$compDATA['admin_favicon']?>"/>
<?}?>
<?php if(!empty($catgoryID)){
$PRO_name=db_scalar("select category_name from  tbl_category where category_status='Active' and category_id='$catgoryID'");
$titl=db_scalar("select category_meta_title from  tbl_category where category_status='Active' and category_id='$catgoryID'");
if($titl=="")
{
   // $titl="$PRO_name Exporter Importer Supplier in Gujarat India";
}

$desc=db_scalar("select category_meta_description from  tbl_category where category_status='Active' and category_id='$catgoryID' ");
if($desc=="")
{
   // $desc="$compDATA[admin_company_name] Company is the best exporter importer of $PRO_name in Kachchh Gujarat India, We are also the best supplier of $PRO_name at low price rate.";
}

$keyw=db_scalar("select category_meta_keywords from  tbl_category where category_status='Active' and category_id='$catgoryID'");
if($keyw=="")
{
   // $keyw="$PRO_name exporter in kachchh gujarat india, $PRO_name importer in kachchh gujarat india, $PRO_name supplier in kachchh gujarat india, exporter of $PRO_name in kachchh gujarat india, importer of $PRO_name in kachchh gujarat india, supplier of $PRO_name in kachchh gujarat india, best price of $PRO_name in kachchh gujarat india";
}
?>

<title>
<?=$titl?>
</title>
<meta NAME="description" content="<?=$desc?>" />
<meta NAME="keywords" content="<?=$keyw?>" />
<? }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']?>" />
<? } ?>
<link rel="stylesheet" href="css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/colorbox.css"/>
<link rel="stylesheet" href="css/owl.carousel.css"/>
<link rel="stylesheet" href="rs-plugin/css/settings.css"/>
<link rel="stylesheet" href="css/rev-settings.css"/>
<link rel="stylesheet" href="css/font-awesome.min.css"/>
<link rel="stylesheet" href="style.css"/>
<?php if($compDATA['admin_google_analytic_code']!=''){
 echo $compDATA['admin_google_analytic_code'];
}
?>
<?php
$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);
}
?>
<!-------->
<style>
@media (min-width:320px) and (max-width:767px) 
{.sub-bar{display:block;}
	.logo {
    width: 100%;
}
	}
</style>
<!--------->
</head>
<body>
<div class="images-preloader">
  <div class="preloader4"></div>
</div>
<div class="wrapper">
<header class="site-header header14"> 
  <div class="top-search">
    <div class="container">
      <div class="row">
        <?php include("site-search.php");?>
      </div>
      <a href="#" id="search-delete"><i class="fa fa-times"></i></a> </div>
  </div>
  <div class="sub-bar">
    <div class="container">
      <div class="row">
        <div class="col-lg-6 col-sm-6">
          <div class="contacts">          
          <?php
$str = $compDATA['admin_mobile'];
$mobNO = (explode("/",$str));
?>
            <p><i class="fa fa-phone"></i><a href="tel:<?=$mobNO[0];?>" class="top-hfr"><?=$mobNO[0];?></a></p>
            <p><i class="fa fa-envelope-o"></i><a href="mailto:<?=$compDATA['admin_email']?>" class="top-hfr"> <?=$compDATA['admin_email']?></a></p>
          </div>
        </div>
        <div class="col-lg-6 col-sm-6">
          <div class="social-media"> 
          <?php if($compDATA['admin_facebook_link']!=''){ ?>
            <a href="<?=$compDATA['admin_facebook_link']?>" target="_blank" ><i class="fa fa-facebook"></i></a>
            <?php }?>
            <?php if($compDATA['admin_twitter_link']!=''){ ?>
            <a href="<?=$compDATA['admin_twitter_link']?>" target="_blank"><i class="fa fa-twitter"></i></a>
            <?php }?>
            <?php/* if($compDATA['admin_gplus_link']!=''){ ?>
            <a href="<?=$compDATA['admin_gplus_link']?>" target="_blank"><i class="fa fa-google-plus"></i></a>
            <?php }*/?>
            <?php if($compDATA['admin_linkedin_link']!=''){ ?>
            <a href="<?=$compDATA['admin_linkedin_link']?>" target="_blank"><i class="fa fa-linkedin"></i></a>
            <?php }?> 
            
               <?php if($compDATA['admin_instagram_link']!=''){ ?>
            <a href="<?=$compDATA['admin_instagram_link']?>" target="_blank"><i class="fa fa-instagram"></i></a>
            <?php }?> 
            
               <?php if($compDATA['admin_pinterest_link']!=''){ ?>
            <a href="<?=$compDATA['admin_pinterest_link']?>" target="_blank"><i class="fa fa-pinterest"></i></a>
            <?php }?> 
            
               <?php if($compDATA['admin_youtube_link']!=''){ ?>
            <a href="<?=$compDATA['admin_youtube_link']?>" target="_blank"><i class="fa fa-youtube"></i></a>
            <?php }?> 
            
            
          </div>
        </div>
      </div>
    </div>
  </div>

  
  <div class="main-bar" id="main-bar">
    <div class="container">
      <div class="logo text-center"> <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 class="btn-toggle"><i class="fa fa-reorder"></i></button>
      <?php include("site-header-menu.php");?>
    </div>
  </div>

</header>

MMCT - 2023