Hacked By AnonymousFox

Current Path : /home/krishnamexports/www/common/
Upload File :
Current File : /home/krishnamexports/www/common/header.php

<?php
	ob_start();
	session_start();
	include("config/database.php");
	$sqlHome     = mysqli_query($cn, "select * from `tbl_home`");
	$sqlHomeData = mysqli_fetch_array($sqlHome);
?>

<!doctype html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title><?php echo $sqlHomeData['website'];?></title>    
    <meta name="description" content="<?php echo $sqlHomeData['meta_description'];?>">
    <meta name="keywords" content="<?php echo $sqlHomeData['meta_keyword'];?>">
    <meta name="author" content="Krishnam Exports">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">  
    <link rel="shortcut icon" href="<?php echo DEFAULT_URL."logo/".$sqlHomeData['fav_icon'];?>" type="image/x-icon">
    <link href="https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i,700,900" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/vendor/bootstrap.min.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/vendor/pe-icon-7-stroke.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/vendor/font-awesome.min.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/plugins/slick.min.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/plugins/animate.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/plugins/nice-select.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/plugins/jqueryui.min.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/style.css">
    <link rel="stylesheet" href="<?php echo DEFAULT_URL;?>assets/css/notify.css">
    <!-- Global site tag (gtag.js) - Google Analytics -->
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-176393986-1"></script>
    <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());

      gtag('config', 'UA-176393986-1');
    </script>
    <style>
        .service-policy h4 span {
            /*border: 1px solid;
            padding: 5px;*/
        }
    </style>
</head>
<body>
    <!-- Start Header Area -->
    <header class="header-area header-wide">
    	<div id="warning"></div>
		<div id="success"></div>
        <!-- main header start -->
        <div class="header-top bdr-bottom">
                <div class="container">
                    <div class="row align-items-left">
                        <div class="col-lg-6 text-center">
                            <div class="header-top-settings">
                                <ul class="align-items-center">
                                    <li class="curreny-wrap" style="color:#FFF;"><?php echo $sqlHomeData['discount_title'];?></li>                                    
                                </ul>
                                                            
                            </div>
                        </div>
                        
                        <div class="col-lg-6 text-right">
                            <div class="header-top-settings">
                                <ul class="nav align-items-center justify-content-end">
                                    <li class="curreny-wrap"><i class="fa fa-phone" style="color:#FFF;"></i> &nbsp;<a href="tel:<?php echo $sqlHomeData['contact'];?>" style="color:#FFF;"> <?php echo $sqlHomeData['contact'];?></a></li>
                                    <li class="curreny-wrap"><i class="fa fa-envelope-o" style="color:#FFF;"></i> &nbsp;<a href="mailto:<?php echo $sqlHomeData['email'];?>" style="color:#FFF;"> <?php echo $sqlHomeData['email'];?></a></li>
                                </ul>
                            </div>
                        </div>                        
                    </div>
                </div>
            </div>
        <div class="main-header d-none d-lg-block">
            <!-- header top start -->            
            <!-- header top end -->
            <!-- header middle area start -->
            <div class="header-main-area sticky">
                <div class="container-fluid">
                    <div class="row align-items-center position-relative">
                        <!-- start logo area -->
                        <div class="col-lg-2" style="padding:0; background:#FFF;">

                            <div class="logo">

                                <a href="<?php echo DEFAULT_URL;?>">

                                    <img class="logo-1" src="<?php echo DEFAULT_URL."logo/".$sqlHomeData['logo'];?>" alt="<?php echo $sqlHomeData['website'];?>">

                                    <img class="sticky-logo" src="<?php echo DEFAULT_URL."logo/".$sqlHomeData['logo'];?>" alt="<?php echo $sqlHomeData['website'];?>">

                                	<p class="tagline"><?php echo $sqlHomeData['tagline'];?></p>

                                </a>                            	

                            </div>

                        </div>

                        <!-- start logo area -->



                        <!-- main menu area start -->

                        <div class="col-lg-6 position-static">

                            <div class="main-menu-area">

                                <div class="main-menu">

                                    <!-- main menu navbar start -->

                                    <?php include("menu.php");?>

                                    <!-- main menu navbar end -->

                                </div>

                            </div>

                        </div>

                        <!-- main menu area end -->



                        <!-- mini cart area start -->

                        <div class="col-lg-4">

                            <div class="header-right d-flex align-items-center justify-content-xl-between justify-content-lg-end">

                                <div class="header-search-container">

                                    <button class="search-trigger d-xl-none d-lg-block"><i class="pe-7s-search"></i></button>

                                    <form class="header-search-box d-lg-none d-xl-block animated jackInTheBox" method="get" action="<?php echo DEFAULT_URL;?>search.php">

                                        <input type="text" name="search" placeholder="Search For Products SKU Code..." class="header-search-field">

                                        <button type="submit" class="header-search-btn"><i class="pe-7s-search"></i></button>

                                    </form>

                                </div>

                                <div class="header-configure-area">                                
                                	<a href="<?php echo DEFAULT_URL;?>custom-order" class="animated-button1"><span></span><span></span><span></span><span></span>Custom Order</a>

                                    <ul class="nav justify-content-end">                                        

                                        <?php /*if(!isset($_SESSION['KXloginId'])){?>

                                        <li class="user-hover currency-text">

                                            <a href="javascript:void(0);" data-toggle="modal" data-target="#modalRegisterForm">Login</a>

                                        </li>

                                        <?php }*/?>                                        
                                        <!--<li><a href="https://wa.me/<?php echo $sqlHomeData['contact'];?>"><img src="<?php echo DEFAULT_URL;?>assets/img/whatsapp-icon.png" style="width:32px;margin-top:-10px;"/></a></li>-->
                                        <li><a href="javascript:void(0);" class="minicart-btn"><i class="pe-7s-shopbag"></i><div class="notification productCount"><?php if(isset($_SESSION['kxproductList']) && count($_SESSION['kxproductList'])>0){ echo count($_SESSION['kxproductList']);}else{ echo 0;}?></div></a></li>

                                        <?php

                                        if(isset($_SESSION['KXloginId']))

										{

											$sqlUser     = mysqli_query($cn, "select `name` from `tbl_register` where `id`='".$_SESSION['KXloginId']."'");	

											$sqlUserData = mysqli_fetch_array($sqlUser); 

										?>

                                        <li class="user-hover currency-text">

											<a href="javascript:void(0);"><img class="img-xs " src="<?php echo DEFAULT_URL;?>assets/img/avatar.png" alt="Profile image" style="height:32px;"> <i class="fa fa-angle-down"></i></a>                                            

                                        	<ul class="dropdown-list currency-dropdown">

                                            	<li><a href="<?php echo DEFAULT_URL;?>accounts" ><i class="fa fa-user-circle-o"></i> My Account</a></li>

                                                <li><a href="<?php echo DEFAULT_URL;?>orders" ><i class="fa fa-shopping-bag"></i> My Order</a></li>

                                                <li><a href="<?php echo DEFAULT_URL;?>logout" ><i class="fa fa-sign-out"></i> Logout</a></li>

                                            </ul>

                                        </li>

                                        <?php }?>	

                                    </ul>

                                </div>

                            </div>

                        </div>

                        <!-- mini cart area end -->



                    </div>

                </div>

            </div>

            <!-- header middle area end -->

        </div>

        <!-- main header start -->



        <!-- mobile header start -->

        <!-- mobile header start -->

        <div class="mobile-header d-lg-none d-md-block sticky">

            <!--mobile header top start -->

            <div class="container-fluid">

                <div class="row mobile-logo1">

                    <div class="col-md-12 col-sm-12" style="background:#FFF;margin-bottom:10px;">

                        <div class="mobile-logo"><a href="<?php echo DEFAULT_URL;?>"><img src="<?php echo DEFAULT_URL."logo/".$sqlHomeData['logo'];?>" alt="<?php echo $sqlHomeData['website'];?>" style="height:60px;"></a></div>

                    	<p class="tagline2"><?php echo $sqlHomeData['tagline'];?></p>

                    </div>

                </div>

                <div class="row align-items-center">

                    <div class="mobile-main-header">

                        <div class="col-md-12">

                            <div class="mobile-settings">

                                <ul class="nav">                                    

                                    <?php /*if(!isset($_SESSION['KXloginId'])){?>

                                    <li><div class="mobile-login"><a href="javascript:void(0);" data-toggle="modal" data-target="#modalRegisterForm">Login</a></div></li>

                                    <?php }*/?>

                                </ul>

                            </div>

                            <div class="mobile-menu-toggler">                                
                                <a href="https://wa.me/<?php echo $sqlHomeData['contact'];?>"><img src="<?php echo DEFAULT_URL;?>assets/img/whatsapp-icon.png" style="width:32px;margin-top:-10px;margin-right:5px;"/></a> 
                                <a href="<?php echo DEFAULT_URL;?>custom-order"><div class="box2">Custom Order</div></a>
                                <div class="mini-cart-wrap">                                                                      
                                    <a href="<?php echo DEFAULT_URL;?>cart"><i class="pe-7s-shopbag"></i><div class="notification productCount"><?php if(isset($_SESSION['kxproductList']) && count($_SESSION['kxproductList'])>0){ echo count($_SESSION['kxproductList']);}else{ echo 0;}?></div></a>
                                </div>

                                <?php

								if(isset($_SESSION['KXloginId']))

								{

									$sqlUser     = mysqli_query($cn, "select `name` from `tbl_register` where `id`='".$_SESSION['KXloginId']."'");	

									$sqlUserData = mysqli_fetch_array($sqlUser); 

								?>

								<ul class="nav" style="padding-left:20px;">

                                	<li>

                                    <div class="dropdown mobile-top-dropdown currency-text">                                                                                                                                                    

                                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="img-xs " src="<?php echo DEFAULT_URL;?>assets/img/avatar.png" alt="Profile image" style="height:32px;"></a>

                                        <div class="dropdown-menu" aria-labelledby="currency">                                            

                                        	<a href="javascript:void(0);" class="dropdown-item"><i class="fa fa-user-circle-o"></i> My Account</a>

                                            <a href="javascript:void(0);" class="dropdown-item"><i class="fa fa-shopping-bag"></i> My Order</a></a>

                                            <a href="<?php echo DEFAULT_URL;?>logout" class="dropdown-item"><i class="fa fa-sign-out"></i> Logout</a>                                                                                            

                                        </div>                                    		

                                    </div>

                                	</li>

                                </ul>

                                	

								<?php }?>                               

                                <button class="mobile-menu-btn">

                                    <span></span>

                                    <span></span>

                                    <span></span>

                                </button>

                            </div>

                        </div>

                    </div>

                </div>

            </div>

            <!-- mobile header top start -->

        </div>

        <!-- mobile header end -->

        <!-- mobile header end -->



        <!-- offcanvas mobile menu start -->

        <!-- off-canvas menu start -->

        <aside class="off-canvas-wrapper">

            <div class="off-canvas-overlay"></div>

            <div class="off-canvas-inner-content">

                <div class="btn-close-off-canvas">

                    <i class="pe-7s-close"></i>

                </div>



                <div class="off-canvas-inner">

                    <!-- search box start -->

                    <div class="search-box-offcanvas">

                        <form method="get" action="<?php echo DEFAULT_URL;?>search.php">

                            <input type="text" name="search" placeholder="Search Here...">

                            <button type="submit" class="search-btn"><i class="pe-7s-search"></i></button>

                        </form>

                    </div>

                    <!-- search box end -->



                    <!-- mobile menu start -->

                    <div class="mobile-navigation">



                        <!-- mobile menu navigation start -->

                        <?php include("mobile-menu.php");?>

                        <!-- mobile menu navigation end -->

                    </div>

                    <!-- mobile menu end -->

                    

                    <!-- offcanvas widget area start -->

                    <div class="offcanvas-widget-area">

                        <div class="off-canvas-contact-widget">

                            <ul>

                                <li><i class="fa fa-mobile"></i>

                                    <a href="tel:<?php echo $sqlHomeData['contact'];?>"><?php echo $sqlHomeData['contact'];?></a>

                                </li>

                                <li><i class="fa fa-envelope-o"></i>

                                    <a href="mailto:<?php echo $sqlHomeData['email'];?>"><?php echo $sqlHomeData['email'];?></a>

                                </li>

                            </ul>

                        </div>

                        <div class="off-canvas-social-widget">

                            <a href="#"><i class="fa fa-facebook"></i></a>

                            <a href="#"><i class="fa fa-twitter"></i></a>

                            <a href="#"><i class="fa fa-pinterest-p"></i></a>

                            <a href="#"><i class="fa fa-linkedin"></i></a>

                            <a href="#"><i class="fa fa-youtube-play"></i></a>

                        </div>

                    </div>

                    <!-- offcanvas widget area end -->

                </div>

            </div>

        </aside>

        <!-- off-canvas menu end -->

        <!-- offcanvas mobile menu end -->

    </header>

    <!-- end Header Area -->

Hacked By AnonymousFox1.0, Coded By AnonymousFox