<?php
require_once("connection_f.php");

$page = basename($_SERVER['SCRIPT_NAME'],".php");

//logo header

      $sql_logo="SELECT * FROM `tbl_web_logo` LIMIT 0,1";
      $run_logo = mysqli_query($link,$sql_logo);
      $result_logo = mysqli_fetch_assoc($run_logo);


//Contact
      $sql_Contact = "SELECT * FROM `tbl_admin` LIMIT 1";
      $run_Contact = mysqli_query($link,$sql_Contact);
      $result_Contact = mysqli_fetch_array($run_Contact);

      

// Social
      $sql_social = "SELECT * FROM `tbl_social_media` LIMIT 1";
      $run_social = mysqli_query($link,$sql_social);
      $result_social = mysqli_fetch_assoc($run_social);

//Home Abouts Us
        $sql_home_ab="SELECT * FROM `tbl_home_about` LIMIT 1";
        $run_home_ab = mysqli_query($link,$sql_home_ab);
        $result_home_ab = mysqli_fetch_assoc($run_home_ab);

?>
<!DOCTYPE html>
<html dir="ltr" lang="en-US">
  <head>
  <title>Ashapura Agency </title>
  <meta name="description" content="">
  <meta name="keyword" content=" ">
     
     <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TYGPMG0WXV"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-TYGPMG0WXV');
</script>
  <!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-260515223-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-260515223-1');
</script>

  
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="author" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="icon" href="assets/images/favicon.png" sizes="32x32" type="image/png">
  <link rel="stylesheet" href="assets/css/cloudfare.css">
  <link rel="stylesheet" href="assets/css/tether.css">
  <script src="assets/js/tether.js"></script>
  <link href="assets/css/bootstrap.css" rel="stylesheet">
  <link href="assets/css/owl.carousel.min.css" rel="stylesheet">
  <link href="assets/css/theme.css" rel="stylesheet">
  <link href="responsive.css" rel="stylesheet">
  <script src="assets/js/jquery.js" type="text/javascript"></script>
  <script src="assets/js/bootstrap.js" type="text/javascript"></script>
  <script src="assets/js/owl.carousel.js" type="text/javascript"></script>
  <script src="assets/js/animate.js" type="text/javascript"></script>
  <script src="assets/js/totalstorage.js" type="text/javascript"></script>
  <script src="assets/js/counter.js" type="text/javascript"></script>
  <script src="assets/js/parallax.js" type="text/javascript"></script>
  <script src="assets/js/bxslider.js" type="text/javascript"></script>
  <script src="assets/js/ishi.initialize.js" type="text/javascript"></script>
  <script src="assets/js/support.js" type="text/javascript"></script>   
</head>


<body id="index">
<div style="display:none"><a href="https://www.bavuli.com/bayan-canta" title="bayan çanta">bayan çanta</a></div>
  <main>
    <div id="menu_wrapper" class=""></div>
    <!-- --------------------loader------------ -->
    <div id="spin-wrapper"></div>
    <div id="siteloader">
      <div class="loader"></div>
    </div>
    <!-- --------------------header------------ -->
    <header id="header" class="home">
      <div class="header-nav">
        <div class="container">
          <div class="row">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 left-nav"> 
              <!-- Block search  -->
              <ul class="emailtp">
                <li><p class="headmarg"><i class="fa fa-envelope-o" aria-hidden="true"></i><?=$result_Contact['admin_h_email'];?> </p></li>
                <li>
              <p class="headmarg"><i class="fa fa-phone" aria-hidden="true"></i><?=$result_Contact['admin_phone_no'];?></p>

                </li>
              </ul>

             
            <!--   bharatptech@gmail.com, lilttlekingdom268@gmail.com --></p>
     
            </div>
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-6 right-nav">       
              <div class="userinfo-inner">
                <ul class="userinfo">
                  <li class="log-in">
                    <a href="<?=$result_social['fb_add']?>" id="customer_login_link">Facebook</a>
                  </li>
                  <li class="create_account">
                    <a href="<?=$result_social['twitter_add']?>" id="customer_register_link">Twitter</a>
                  </li>    
                  <li class="wishlist">
                    <a href="<?=$result_social['linkdn_add']?>">Linkedin</a>
                  </li>

                </ul>
              </div>  
            </div>
          </div>
        </div>
      </div>
      <div class="header-top">
        <div class="container">
          <div class="row"> 
            <!-- --------------------desktop_logo------------ -->
            <div id="desktop_logo" class="col-lg-6 col-md-5 col-sm-12 col-6">
              <a href="index.php">
                <img class="logo img-responsive" src="header-image/<?=$result_logo['logo_image_name']?>" alt="Demo Shop">
              </a>
            </div>
            <div class="header-top-right secunlogososd  col-xl-6 col-lg-6 col-md-7 col-sm-12 col-6 text-right">  
              <!-- --------------------services------------ -->    
            <img src="assets/images/logo/logos.png">
            </div>
          </div>
        </div>
      </div> 
      <div class="nav-full-width">
        <div class="container">
          <div class="row">
            <!-- ------------------mega menu----------- -->
            <div id="_desktop_top_menu" class="menu js-top-menu hidden-sm-down">
              <ul class="top-menu" id="top-menu" data-depth="0">  
                <li class="cms-page" id="category-12">
                  <a class="dropdown-item" href="index.php" data-depth="0">
                    Home
                  </a>
                </li>
                <li class="cms-page" id="cms-page-4">
                  <a class="dropdown-item" href="about.php"p data-depth="0">
                    About us
                  </a>
                </li>
                <li class="category" id="category-13">
                  <a class="dropdown-item" href="#" data-depth="0">Products</a>
                   <span class="float-xs-right hidden-lg-up">
                      <span data-target="#top_sub_menu_43175" data-toggle="collapse" class="navbar-toggler collapse-icons">
                        <i class="material-icons add"></i>
                        <i class="material-icons remove"></i>
                      </span>
                    </span>
                  <div class="popover sub-menu collapse" id="top_sub_menu_43175">
                    <ul class="top-menu" data-depth="1">
                      <li class="category" id="category-131">
                       
                       
                        <div class="collapse" id="top_sub_menu_127">
                          <ul class="top-menu" data-depth="2">
               <?php
                   $sql_cat = "SELECT * FROM `tbl_category`";
                   $run_cat = mysqli_query($link,$sql_cat);
                   while($result_cat = mysqli_fetch_assoc($run_cat))
                   {
                     ?>
                        <li class="category" id="category-128">
                          <a class="dropdown-item" href="product.php?code=<?=$result_cat['cat_id']?>" data-depth="2">
                              <?=$result_cat['cate_name']?> 
                          </a>
                        </li>
                    <?php
                      }
                  ?>
                           
                          </ul>
                        </div>
                      </li>
                    </ul>
                  </div>
                </li>
                <li class="cms-page" id="cms-page-4">
                  <a class="dropdown-item" href="contact.php" data-depth="0">
                   Contact Us
                  </a>
                </li>
               
              
              
              </ul>
              <div class="clearfix"></div>
            </div>
            <!-- -------------------shopping cart----------- -->


            <div class="contact-num">
              <a href="#">
                <div class="call-img">
                  <svg xmlns="http://www.w3.org/2000/svg" style="display: none;">          
                    <symbol id="call" viewBox="0 0 50 50"><title>call</title> 
                      <path d="M16.333,0C7.327,0,0,7.327,0,16.334c0,9.006,7.326,16.333,16.333,16.333c0.557,0,1.007-0.451,1.007-1.006 c0-0.556-0.45-1.007-1.007-1.007c-7.896,0-14.318-6.424-14.318-14.319c0-7.896,6.422-14.32,14.318-14.32 c7.896,0,14.317,6.424,14.317,14.32c0,3.299-1.756,6.571-4.269,7.955c-0.913,0.502-1.903,0.751-2.959,0.761 c0.634-0.378,1.183-0.887,1.591-1.531c0.08-0.121,0.186-0.226,0.238-0.359c0.328-0.789,0.357-1.684,0.555-2.516 c0.243-1.066-4.658-3.143-5.084-1.815c-0.154,0.493-0.39,2.048-0.699,2.458c-0.275,0.365-0.953,0.193-1.377-0.168 c-1.117-0.952-2.364-2.352-3.458-3.457l0.002-0.001c-0.028-0.029-0.062-0.062-0.092-0.091c-0.031-0.03-0.062-0.062-0.093-0.092l0,0 c-1.106-1.093-2.506-2.338-3.457-3.458c-0.36-0.424-0.534-1.1-0.168-1.376c0.41-0.31,1.966-0.543,2.458-0.698 c1.326-0.425-0.75-5.329-1.816-5.084c-0.832,0.195-1.727,0.225-2.516,0.552c-0.134,0.056-0.238,0.16-0.359,0.24 c-2.799,1.775-3.16,6.083-0.428,9.292c1.041,1.228,2.127,2.416,3.245,3.576l-0.006,0.004c0.031,0.031,0.063,0.06,0.095,0.09 c0.03,0.031,0.059,0.062,0.088,0.095l0.006-0.006c1.16,1.118,2.535,2.764,4.769,4.255c4.703,3.141,8.312,2.264,10.438,1.098 c3.67-2.021,5.312-6.338,5.312-9.719C32.667,7.327,25.339,0,16.333,0z"></path>
                    </symbol> 
                  </svg>
                  <svg class="icon" viewBox="0 0 40 40"><use xlink:href="#call" x="20%" y="18%"></use></svg>
                </div>
                <div class="call-num"><?=$result_Contact['admin_h_phone'];?></div>
              </a>
            </div>
            <div id="_desktop_cart">
              <div class="blockcart cart-preview inactive">
                <div class="header">
                  <span class="cart-link">
                  
                    <span class="cart-content">
                     <span class="cart-name">
                    <a href="enquiry.php" style="color:#fff !important;">  Enquiry</a>
                      </span>
                      
                    </span>
                  </span>
                
                </div>
              </div>
            </div>
            <!-- -------------------headercontact----------- -->
           
            <!-- ------------------mobile media--------- -->
            <div id="menu-icon" class="menu-icon hidden-lg-up">
              <i class="fa fa-bars" aria-hidden="true"></i>
            </div>
            <div id="_mobile_cart"></div>
            <div id="_mobile_seach_widget"></div>
            <div class="clearfix"></div>
          </div>
        </div>
      </div>
    </header>
    <!-- -------------------mobile media---------- -->
    <div id="mobile_top_menu_wrapper" class="hidden-lg-up" style="display:none;">
      <div id="top_menu_closer">
        <i class="material-icons"></i>
      </div>
      <div class="js-top-menu mobile" id="_mobile_top_menu"></div>
    </div>
    <!-- --------------------hometop------------ -->   