MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.144.116.195
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/milkodelight.com/../yugayurvedaold.com/../homeinteriordecorators.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/milkodelight.com/../yugayurvedaold.com/../homeinteriordecorators.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");
$sess_id=session_id();

$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]";

?>


<!DOCTYPE html>
<html lang="en">

<head>

	<meta charset="UTF-8">
<?php


$pro_url=$_REQUEST['pro_url'];
$id=db_scalar("select category_id from tbl_category where category_url='$pro_url' ");

  $catgoryID=$id;


if(!empty($catgoryID)){
    
$cat_meta_title=db_scalar("select category_meta_title from  tbl_category where category_status='Active' and category_id='$catgoryID'");
$cat_meta_key=db_scalar("select category_meta_keywords from  tbl_category where category_status='Active' and category_id='$catgoryID'");
$cat_meta_desc=db_scalar("select category_meta_description from  tbl_category where category_status='Active' and category_id='$catgoryID'");
$cat_meta_cat_name=db_scalar("select category_name from  tbl_category where category_status='Active' and category_id='$catgoryID'");


/*if($cat_meta_title=="")
{
    $cat_meta_title=$cat_meta_cat_name." Manufacturer in Khadar Delhi";
}


if($cat_meta_key=="")
{
    $cat_meta_key=$cat_meta_cat_name." manufacturer in khadar delhi india, manufacturer of ".$cat_meta_cat_name." in khadar delhi india, ".$cat_meta_cat_name." manufacturer in delhi india, manufacturer of ".$cat_meta_cat_name." in delhi india, best price of ".$cat_meta_cat_name;
}




if($cat_meta_desc=="")
{
    $cat_meta_desc="Ankush India Company is the best manufacturer of ".$cat_meta_cat_name." in Khadar Delhi India, we manufacture best quality ".$cat_meta_cat_name." at reasonable cost.";
}*/

?>
<title><?=$cat_meta_title?></title>
<META NAME="description" content="<?=$cat_meta_desc?>" />
<META NAME="keywords" content="<?=$cat_meta_key?>" />
<? }else{
$titl=db_scalar("select site_pages_meta_title from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'");
$desc=db_scalar("select site_pages_meta_description from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'");
$keyw=db_scalar("select site_pages_meta_keyword from  tbl_site_pages where site_pages_status='Active' and site_pages_link='$page_name'");
if($titl=="")
{
    $titl=$compDATA['admin_company_name']." ".$page_name;
}

if($desc=="")
{
    $desc=$compDATA['admin_company_name']." ".$page_name;
}

if($keyw=="")
{
    $keyw=$compDATA['admin_company_name']." ".$page_name;
}
?>
<title>
    <?=$titl?>
</title>
<meta name="description" content="<?=$desc?>">
<META NAME="keywords" content="<?=$keyw?>" />
<style>
    .scroll
    {
        height:360px;
         overflow-y: scroll;
    }
    @media screen and (max-width: 414px) {
  .contact-info-right {
    display:none;
  }
}
</style>
<?}?>


	<!-- responsive meta -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- For IE -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	<!-- master stylesheet -->
	<link rel="stylesheet" href="<?=$site_url?>/css/style.css">
	<!-- Responsive stylesheet -->
	<link rel="stylesheet" href="<?=$site_url?>/css/responsive.css">
    <!-- Favicon -->
    <link rel="apple-touch-icon" sizes="180x180" href="<?=$site_url?>/<?=$compDATA['admin_favicon']?>">
    <link rel="icon" type="image/png" href="<?=$site_url?>/<?=$compDATA['admin_favicon']?>" sizes="32x32">
    <link rel="icon" type="image/png" href="<?=$site_url?>/<?=$compDATA['admin_favicon']?>" sizes="16x16">

	<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<?php if($compDATA['admin_index_follow']=='Yes'){ ?>
<meta name="robots" content="index, follow" />
<? }else{ ?>
<meta name="robots" content="noindex, nofollow" />
<? } ?>
<?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']?>" />
<? } ?>
<?php if($compDATA['admin_google_analytic_code']!=''){
 echo $compDATA['admin_google_analytic_code'];
}?>


<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">


    <!-- Fixing Internet Explorer-->
    <!--[if lt IE 9]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <script src="js/html5shiv.js"></script>
    <![endif]-->
    <!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-205388201-1">
</script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-205388201-1');
</script>
</head>
<body>
 <!-- Messenger Chat Plugin Code -->
    <div id="fb-root"></div>

    <!-- Your Chat Plugin code -->
    <div id="fb-customer-chat" class="fb-customerchat">
    </div>

    <script>
      var chatbox = document.getElementById('fb-customer-chat');
      chatbox.setAttribute("page_id", "138785865011876");
      chatbox.setAttribute("attribution", "biz_inbox");

      window.fbAsyncInit = function() {
        FB.init({
          xfbml            : true,
          version          : 'v11.0'
        });
      };

      (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
        fjs.parentNode.insertBefore(js, fjs);
      }(document, 'script', 'facebook-jssdk'));
    </script>
<section class="top-bar-area">
    <div class="container">
        <div class="row">
            <div class="col-lg-7 col-md-7">
                <!--Start contact info left-->
                <div class="contact-info-left clearfix">
                    <ul>
                        <li><span class="flaticon-technology"></span><a href="tel:<?=$compDATA['admin_mobile']?>"><?=$compDATA['admin_mobile']?></a></li>
                        <li><span class="flaticon-new-email-outline envelop"></span><?=$compDATA['admin_email']?></li>
                    </ul>
                </div>
                <!--End contact info left-->    
            </div>
            <div class="col-lg-5 col-md-5">
                <!--Start contact info right-->
                <div class="contact-info-right">
                  
                    
                    <div class="top-social-links">
                        <ul>
                            <?php if($compDATA['admin_facebook_link']!=""){?>
                            <li><a href="<?=$compDATA['admin_facebook_link']?>" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
                            <?}?>

                              <?php if($compDATA['admin_twitter_link']!=""){?>
                            <li><a href="<?=$compDATA['admin_twitter_link']?>" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
                            <?}?>

                              <?php if($compDATA['admin_linkedin_link']!=""){?>
							<li><a href="<?=$compDATA['admin_linkedin_link']?>" target="_blank"><i class="fa fa-linkedin" aria-hidden="true"></i></a></li>
                            <?}?>

                              <?php if($compDATA['admin_instagram_link']!=""){?>
							<li><a href="<?=$compDATA['admin_instagram_link']?>" target="_blank"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
                            <?}?>

                              <?php if($compDATA['admin_pinterest_link']!=""){?>
							<li><a href="<?=$compDATA['admin_pinterest_link']?>" target="_blank"><i class="fa fa-pinterest" aria-hidden="true"></i></a></li>
                            <?}?>

							  <?php if($compDATA['admin_youtube_link']!=""){?>
                            <li><a href="<?=$compDATA['admin_youtube_link']?>" target="_blank"><i class="fa fa-youtube" aria-hidden="true"></i></a></li>
                            <?}?>
                        </ul>
                    </div>
                </div>
                <!--End contact info right--> 
            </div>
        </div>
    </div>
</section>

<!--Start header-search  area-->
<section class="header-search">
    <div class="container">
        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="search-form pull-right">
                    <form action="<?=$site_url?>/create-search.php">
                        <div class="search">
                            <input type="text" name="search_keyword" value="<?=$_REQUEST['search_keyword']?>" placeholder="Search Something">
                            <button type="submit"><span class="icon fa fa-search"></span></button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
<!--End header-search  area-->  

<!--Start header area-->
<header class="header-area stricky">
    <div class="container">
        <div class="row">
            <div class="col-md-12 col-sm-12 col-xs-12">
                <div class="outer-box clearfix">
                    <!--Start logo-->
                    <div class="logo">
                        <a href="<?=$site_url?>">
       <?php
$DATALOGO=db_scalar("select header_logo from tbl_header where 1 and header_status='Active' limit 1");
?>

                            <img style="max-width: 260px; height: auto;" src="<?=$site_url?>/header_files/<?=$DATALOGO?>" alt="<?=$compDATA['admin_company_name']?>" title="<?=$compDATA['admin_company_name']?>">
                        </a>
                    </div>
                    <!--End logo-->
                    <!--Start search box btn-->
                    <div class="search-box-btn">
                        <div class="toggle-search">
                            <button><span class="icon fa fa-search"></span></button>    
                        </div>
                    </div>
                    <!--End search box btn-->
              
                    <!--Start mainmenu-->
                    <nav class="main-menu">
                        <div class="navbar-header">   	
                            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>
                        <div class="navbar-collapse collapse clearfix">
                            <ul class="navigation clearfix">
                               
<?php

$link_sql=db_query("select * from tbl_site_pages where 1 and site_pages_status='Active' and site_pages_show_in_header='Yes' order by site_pages_order_by");
while($link_data=mysqli_fetch_array($link_sql)){ 
$pgName=$link_data['site_pages_link'];
if($pgName=="services")
{
?>
<li  class=" <?php if($pgName==$page_name){?>current<?}?> dropdown" ><a href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html">
    <?=$link_data['site_pages_name']?>
        
    </a>
<ul class="scroll">
            <?php
$Cat_headerSql = db_query("select * from  tbl_category where 1 and category_status='Active' order by category_id asc");
while($Cat_headerRes=mysqli_fetch_array($Cat_headerSql))
{?>

<li><a href="<?=$site_url?>/<?=$Cat_headerRes['category_url']?>.html" ><?=$Cat_headerRes['category_name']?></a></li>
<?}?>


</ul>

</li>



<?}else{?>
<li <?php if($pgName==$page_name){?> class="current" <?}?> ><a href="<?=$site_url?>/<?=$link_data['site_pages_link']?>.html"><?=$link_data['site_pages_name']?></a></li>
<?}?>

<?}?>


                               

							
                            </ul>
                        </div>
                    </nav>
                    <!--End mainmenu-->
                </div>
            </div>
        </div>
    </div>
</header>  
<!--End header area-->     

MMCT - 2023