<?php include('menu.php');

?>

  <body>
      <?php
        if (isset($_SESSION['add'])) {
          echo $_SESSION['add'];
          unset($_SESSION['add']);
        }

       ?>

    <!-- navigation -->
    <nav class="navitem">
      <!--social-link-and-phone-number  
      <div class="social-call">
        <!-- social-links 
        <div class="social">
          <img src="images/facebook-f.svg"width="15px">
          <img src="images/twitter-square.svg"width="15px">
              <img src="images/youtube.svg"width="15px">
                <img src="images/instagram.svg"width="15px">
        </div>

        <!-- phone-number 
        <div class="phone">
          <span>Call +254 716181020</span>
        </div>
      </div>
      <!-- menu bar -->
      <div class="navigation">
        <!-- .logo -->
        <a href="<?php echo SITEURL;?>shopping/index.php" class="logo">
          <img src="images/logo.png">
        </a>
        <div class="toggle"></div>
        <!-- munu -->

        <ul class="menu">
              <li><a href="<?php echo SITEURL;?>shopping/index.php">Home</a></li>
          <li><a href="<?php echo SITEURL;?>shopping/general.php">General</a></li>
          <li><a href="<?php echo SITEURL;?>shopping/men.php">Men</a>
            <!-- label -->
            <!-- <label class="sale-label">Sale</label> -->
          </li>
          <li><a href="<?php echo SITEURL;?>shopping/women.php">Women</a></li>
          <li><a href="<?php echo SITEURL;?>shopping/kids.php">Kids</a></li>
          <li>
              <a href="javascript:void(0);">
            
           </a>
            </li>
            <li>
               <a href="javascript:void(0);">
             <img class="user"src="images/user.svg" width="25px">
           </a>
            </li>
             <li>
               <a href="logout.php">
             logout
           </a>
            </li>
            <?php
               $count = 0;
               if (isset($_SESSION['count'])){
                 $count = $_SESSION['count'];
               }
           ?>
            <li>
               <a href="viewcart.php">

              <i class="fas fa-shopping-cart">
                 <img class="fa-shopping-cart"src="images/cart-plus.svg"width="25px">
                 <span class="num-cart-product"><?php echo $count?></span>
              </i>
             <!--img class="cart"src="images/cart-plus.svg" width="20px" number of products in a cart -->

           </a>
            </li>

        </ul>
         <!-- right-menu -->
         <div class="right-menu">
          <ul>
            
            
           
            
            <li>
              
            </li>
          </ul>
           <!-- search -->
           
          
           <!-- user -->
          
           <!-- cart-icon-->
           
          
            
         
           
         </div>
           <form action="productsearch.php" method="post" enctype="multipart/form-data">
      <!-- search bar -->
      <div class="searchbar">
        <!-- search-input -->
        <div class="searchinput">
          <!-- input -->
          <input type="search" name="search"  placeholder="Search For Product" required />
          <input type="submit"  value="search" name="submitsearch" class="btnsearch" /> 
          <!-- cansel btn -->
          <!-- <a href="javascript:void(0);" class="searchcansel"> &times;</a> -->
        </div>
      </div>
    </form>
      </div>
    </nav>
  
    <?php include('full-slider.php'); ?>
    
    <?php include('allgeneral.php'); ?>


     
    <?php include('footer.php'); ?>
    <?php include('js.php'); ?>

  </body>
</html>
