MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.217.208.220
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/joshidiagnosticcentre.com/../arcsol.in/../adisgauges.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/joshidiagnosticcentre.com/../arcsol.in/../adisgauges.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");
$full_url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";


$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 = mysqli_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>
<head>
<meta name="viewport" content="width=device-width, initial-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)){?>
<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']?>" />
<? } ?>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/fontawesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="css/owl.carousel.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-select.min.css">
<link rel="stylesheet" type="text/css" href="css/magnific-popup.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<link class="skin"  rel="stylesheet" type="text/css" href="css/skin/skin-1.css">
<link  rel="stylesheet" type="text/css" href="css/templete.css">
<link rel="stylesheet" type="text/css" href="revolution/css/settings.css">
<link rel="stylesheet" type="text/css" href="revolution/css/navigation.css">
<link href="css/font.css" rel="stylesheet">

<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert-dev.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/fontawesome.min.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);
}
?>
</head>
<body id="bg" onselectstart = 'return false'>
<!--<div id="loading-area"></div>-->
<div class="page-wraper">
<header class="site-header header-style-1">
  <div class="top-bar">
    <div class="container">
      <div class="row">
<?php if($compDATA['admin_website_heading']!=""){ ?>
<marquee behavior="scroll"><?=$compDATA['admin_website_heading']?></marquee>
<?}?>
        <div class="dlab-topbar-left"></div>
        <div class="dlab-topbar-right">
          <ul class="social-bx list-inline pull-right">
           <!--- <li> <i class="fa fa-mobile"></i> : <?=$compDATA['admin_mobile'];?></li>---->
			<?php if($compDATA['admin_mobile']!=""){ ?>  <li> <i class="fa fa-mobile"></i>: <a href="tel:8208737991"  style="color:#fff;">+91-<?=$compDATA['admin_mobile'];?></a></li><?}?>
			<?php if($compDATA['admin_phone']!=""){ ?> 	<li> <i class="fa fa-whatsapp"></i>: <a href="https://wa.me/91<?=$compDATA['admin_phone'];?>"  style="color:#fff;">+91-<?=$compDATA['admin_phone'];?></a></li><?}?>
            <li> <i class="fa fa-envelope"></i>: <a href="mailto: <?=$compDATA['admin_email'];?>" style="color:#fff;"><?=$compDATA['admin_email'];?></a></li>
            <?php if($compDATA['admin_facebook_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_facebook_link']?>" target="_blank"><i class="fa fa-facebook"></i></a></li>
            <?php }?>
            <?php if($compDATA['admin_twitter_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_twitter_link']?>" target="_blank"><i class="fa fa-twitter"></i></a></li>
            <?php }?>
            <?php /*if($compDATA['admin_gplus_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_gplus_link']?>" target="_blank"><i class="fa fa-google-plus"></i></a></li>
            <?php }*/?>
            <?php if($compDATA['admin_linkedin_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_linkedin_link']?>" target="_blank"><i class="fa fa-linkedin"></i></a></li>
            <?php }?>
            
             <?php if($compDATA['admin_instagram_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_instagram_link']?>" target="_blank"><i class="fa fa-instagram"></i></a></li>
            <?php }?>
             <?php if($compDATA['admin_pinterest_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_pinterest_link']?>" target="_blank"><i class="fa fa-pinterest"></i></a></li>
            <?php }?>
             <?php if($compDATA['admin_youtube_link']!=''){ ?>
            <li> <a href="<?=$compDATA['admin_youtube_link']?>" target="_blank"><i class="fa fa-youtube"></i></a></li>
            <?php }?>
            
            <style>
.dropbtn1 {
  background-color: #87ceea;
  color: white;
  padding: 5px;
  font-size: 13px;
  border: none;
  cursor: pointer;
}

.dropdown1 {
  position: relative;
  display: inline-block;
}

.dropdown-content1 {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999;
}

.dropdown-content1 a {
  color: black !important;
  font-weight:bold;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content1 a:hover {
    background-color: #f1f1f1;
    
}

.dropdown1:hover .dropdown-content1 {
  display: block;
}

.dropdown1:hover .dropbtn1 {
  /*background-color: #000;*/
  font-size: 14px;
    
}
</style>
<?php if(!empty($_SESSION['login_id']))
{?>
<li class="dropdown1">
<button class="dropbtn1"><i class="fa fa-user"></i> My Account</button>
<div class="dropdown-content1">
<a href="<?=$site_url?>/account-details.html">Account Details</a>
<a href="<?=$site_url?>/shopping-cart.html">Shopping Cart</a>
<!--<a href="<?=$site_url?>/order-list.html">Order List</a>-->
<a href="<?=$site_url?>/change-password.html">Change Password</a>
<a href="<?=$site_url?>/logout.html">Logout</a>
</div>
</li>
<?}else{?>

<li class="dropdown1">
<button class="dropbtn1" onclick="window.location.href='<?=$site_url?>/login.html'"><i class="fa fa-sign-in"></i> Login</button>
<div class="dropdown-content1">
<a href="<?=$site_url?>/sign-up.html">Sign Up</a>
<a href="<?=$site_url?>/shopping-cart.html">Shopping Cart</a>
</div>
</li>
<?}?>

          </ul>
        </div>
      </div>
    </div>
  </div>
  <div class="sticky-header header-curve main-bar-wraper">
    <div class="main-bar bg-primary clearfix ">
      <div class="container clearfix">
        <div class="logo-header mostion"><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']?>" width="200" height="89"></a></div>
        <button data-target=".header-nav" data-toggle="collapse" type="button" class="navbar-toggle collapsed"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
        <?php include("site-search.php");?>
        <?php include("site-header-menu.php");?>
      </div>
    </div>
  </div>
</header>

MMCT - 2023