MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.190.160.6
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  ]

Current File : /home2/ppcad7no/vermaborewell.co.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 dir="ltr" lang="en">
    <head>
    <!-- Meta Tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <?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)){?>
<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']?>" />
<? } ?>






<!-- Stylesheet -->
<link href="<?=$site_url?>/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/css/jquery-ui.min.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/css/animate.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/css/css-plugin-collections.css" rel="stylesheet"/>
<!-- CSS | menuzord megamenu skins -->
<link id="menuzord-menu-skins" href="<?=$site_url?>/css/menuzord-skins/menuzord-boxed.css" rel="stylesheet"/>
<!-- CSS | Main style file -->
<link href="<?=$site_url?>/css/style-main.css" rel="stylesheet" type="text/css">
<!-- CSS | Theme Color -->
<link href="<?=$site_url?>/css/colors/theme-skin-orange.css" rel="stylesheet" type="text/css">
<!-- CSS | Preloader Styles -->
<link href="<?=$site_url?>/css/preloader.css" rel="stylesheet" type="text/css">
<!-- CSS | Custom Margin Padding Collection -->
<link href="<?=$site_url?>/css/custom-bootstrap-margin-padding.css" rel="stylesheet" type="text/css">
<!-- CSS | Responsive media queries -->
<link href="<?=$site_url?>/css/responsive.css" rel="stylesheet" type="text/css">
<link href="<?=$site_url?>/css/style-main-dark.css" rel="stylesheet" type="text/css">
<!-- CSS | Style css. This is the file where you can place your own custom css code. Just uncomment it and use it. -->
<!-- <link href="css/style.css" rel="stylesheet" type="text/css"> -->
<?php if($compDATA['admin_google_analytic_code']!=''){
 echo $compDATA['admin_google_analytic_code'];
}
?>
   
    </head>
    <body class="dark has-side-panel side-panel-right fullwidth-page side-push-panel">
<?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);
}
?>
<div class="body-overlay"></div>
<div id="wrapper" class="clearfix">
<!-- preloader -->
<div id="preloader">
      <div id="spinner"> <img src="images/preloaders/1.gif" alt=""> </div>
      <div id="disable-preloader" class="btn btn-default btn-sm">Disable Preloader</div>
    </div>

<!-- Header -->
<header id="header" class="header">
      <div class="header-top bg-theme-colored sm-text-center">
    <div class="container">
          <div class="row">
          <div class="col-md-8">
            <div class="widget no-border m-0">
              <ul class="list-inline sm-text-center mt-5">
                <li class="m-0 pl-10 pr-10 text-white"> <i class="fa fa-phone"></i> <a class="text-white" href="Javascript:void(0)">
		  <?php if(!empty($compDATA['admin_mobile'])){ ?>
          <?php
          $mobi=$compDATA['admin_mobile'];
		  echo $mobi;
		  ?>
          <?php }?></a> </li>
                <li class="m-0 pl-10 pr-10 text-white"> <i class="fa fa-envelope-o"></i> <a class="text-white" href="Javascript:void(0)"> <?php if(!empty($compDATA['admin_email'])){ ?>
          <?=$compDATA['admin_email']?>
          <?php }?></a> </li>
                
              </ul>
            </div>
          </div>
          <div class="col-md-4">
<?php include("site-follow-us.php");?>
          </div>
        </div>
        </div>
  </div>
      <?php include("site-header-menu.php");?>
    </header>

MMCT - 2023