MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.191.107.181
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/naturewoodfloor.in/../tmp/../kediapaper.com/../pccaterers.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/naturewoodfloor.in/../tmp/../kediapaper.com/../pccaterers.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 = 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>
<html class="no-js" lang="">
<head>
<?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']?>" />
<? } ?>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="">
<link rel="stylesheet" href="<?=$site_url?>/assets/css/bootstrap.min.css">
<!-- animate css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/animate.css">
<!-- owl.carousel.2.0.0-beta.2.4 css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/owl.carousel.css">
<!-- font-awesome v4.6.3 css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/font-awesome.min.css">
<!-- magnific-popup.css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/magnific-popup.css">
<!-- slicknav.min.css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/slicknav.min.css">
<!-- style css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/styles.css">
<!-- responsive css -->
<link rel="stylesheet" href="<?=$site_url?>/assets/css/responsive.css">
<!-- modernizr css -->
<script src="<?=$site_url?>/assets/js/vendor/modernizr-2.8.3.min.js"></script>
<?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>
.msgNegative {
    font-size: 15px;
    color: #e22402;
    padding: 0 0 12px 0;
}

.msgPositive {
    color: green;
    padding: 0 0 13px 0;
}

</style>       
    </head>
    <body>
        <div id="cssLoader3" class="preloder-wrap">
            <div class="loader">
                <div class="child-common child4"></div>
                <div class="child-common child3"></div>
                <div class="child-common child2"></div>
                <div class="child-common child1"></div>
            </div>
        </div>
       
        <div class="search-area">
            <span class="closs-btn">Close</span>
            <div class="container">
                <div class="row">
                    <div class="col-md-6 col-md-offset-3">
                        
                         <?php include("site-search.php");?>
                         
                         
                       
                    </div>
                </div>
            </div>
        </div>
       
		<header class="header-area">
            <div class="header-top bg-2">
                <div class="container">
                    <div class="row">
                        <div class="col-md-6 col-sm-8 col-xs-12">
                            <div class="header-top-left">
                                <p>Welcome to <a href="<?=$site_url?>/index.html" class="welc"><?=$compDATA['admin_company_name']?></a></p>
                            </div>
                        </div>
                        <div class="col-md-6 col-sm-4 col-xs-12">
                            
                            
                            <div class="header-top-right text-right">
                                
 <ul>
            <?php if($compDATA['admin_facebook_link']!=''){ ?>
            <li><a href="<?=$compDATA['admin_facebook_link']?>" target="_blank" ><i class="fa fa-facebook icon"></i></a></li>
            <?php }?>
            <?php if($compDATA['admin_twitter_link']!=''){ ?>
            <li><a href="<?=$compDATA['admin_twitter_link']?>" target="_blank"><i class="fa fa-twitter icon"></i></a></li>
            <?php }?>
          
            <?php if($compDATA['admin_linkedin_link']!=''){ ?>
            <li><a href="<?=$compDATA['admin_linkedin_link']?>" target="_blank"><i class="fa fa-linkedin icon"></i></a></li>
            <?php }?>
            
              <?php if($compDATA['admin_instagram_link']!=''){ ?>
            <li><a href="<?=$compDATA['admin_instagram_link']?>" target="_blank"><i class="fa fa-instagram icon"></i></a></li>
            <?php }?>
            
              <?php if($compDATA['admin_pinterest_link']!=''){ ?>
            <li><a href="<?=$compDATA['admin_pinterest_link']?>" target="_blank"><i class="fa fa-pinterest icon"></i></a></li>
            <?php }?>
            
              <?php if($compDATA['admin_youtube_link']!=''){ ?>
            <li><a href="<?=$compDATA['admin_youtube_link']?>" target="_blank"><i class="fa fa-youtube icon"></i></a></li>
            <?php }?>
          </ul>                                
                                
                                
                                
                            </div>
                            
                            
                        </div>
                    </div>
                </div>
            </div>
            <div class="header-middle bg-2">
                <div class="container">
                    <div class="row">
                        <div class="col-md-3 hidden-sm hidden-xs">
    						<div class="logod">
<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>
    					</div>
                        <div class="col-md-9 col-xs-12">
                            <div class="header-middle-right">
                                <ul>
                                    <li>
                                        <div class="contact-icon">
                                            <i class="fa fa-clock-o"></i>
                                        </div>
                                        <div class="contact-info">
                                            <p>Every Day (10AM - 9PM)</p>
                                            <span></span>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="contact-icon">
                                            <i class="fa fa-envelope"></i>
                                        </div>
                                        <div class="contact-info">
                                            <p>MAIL US</p>
                                            <span >
                  <a href="mailto:<?=$compDATA['admin_email']?>"  >
                  <?=$compDATA['admin_email']?>
                  </a></span>
                                        </div>
                                    </li>
                                    <li>
                                        <div class="contact-icon">
                                            <i class="fa fa-phone"></i>
                                        </div>
<?php
$str = $compDATA['admin_mobile'];
$mobNO = (explode("/",$str));
?>
                                        <div class="contact-info">
                                            <p>PHONE US</p>
                   <span> <a href="tel:<?=$mobNO[0]?>">
                  <?=$mobNO[0]?>
                  </a></span>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
<?php include("site-header-menu.php") ?>			
		</header>

MMCT - 2023