<div class="header">
				<div class="top-header">
					<div class="wrap">
						<div class="top-header-left">
							<ul>
								<script type="text/javascript">
									$(function(){
									    var $cart = $('#cart');
									        $('#clickme').click(function(e) {
									         e.stopPropagation();
									       if ($cart.is(":hidden")) {
									           $cart.slideDown("slow");
									       } else {
									           $cart.slideUp("slow");
									       }
									    });
									    $(document.body).click(function () {
									       if ($cart.not(":hidden")) {
									           $cart.slideUp("slow");
									       } 
									    });
									    });
								</script>
								<li><a class="cart" href="#"><span id="clickme"> </span></a></li>
								<div id="cart">Your Cart is Empty <span>(0)</span></div>
								<li><a class="info" href="#"><span> </span></a></li>
							</ul>
						</div>
						<div class="top-header-center" style="color:#FFF;font-size:13px;padding:6px 0px 0px 0px;">
                            <!--<div class="top-header-center-alert-left">
								<h3>SPEED DELIVERY</h3>
							</div>-->
                            <? echo date("d-m-Y"); ?>, <? echo date("l"); ?>, <? echo date("h:i a"); ?>
                            <span style="margin-left:90px;">Contact&nbsp;:&nbsp;<? echo $fetch_adminemaiiidd['mobnum1']; ?></span>
                             <span style="margin-left:90px;">Email ID&nbsp;:&nbsp;<? echo $fetch_adminemaiiidd['email']; ?></span>
							<div class="clear"> </div>
						</div>
						<div class="top-header-right">
							<ul>
                            <?php 
 				 error_reporting(0);
 				 if($_SESSION['username']!=NULL)
  					{?>
								<li><a href="log_out.php" onclick="return confirm('Be sure to ignore this page?');">LOGOUT</a><span> </span></li>
                                <?php } else{?>
                                <li><a href="login.php">LOGIN</a><span> </span></li>
                                <?php } ?>
								<?  if($_SESSION['username']==NULL) { ?><li><a href="register.php">create new account</a></li><? } else { ?>
                                <li><a href="#"><? echo $_SESSION['username']; ?></a></li>
                                <? } ?>
							</ul>
						</div>
						<div class="clear"> </div>
					</div>
				</div>
				<!----start-mid-head---->
				<div class="mid-header">
					<div class="wrap">
						<div class="mid-grid-left">
                        <?php
						$set=mysql_query("select * from picture where id='1'");
						$fet=mysql_fetch_array($set);
						?>
						<a class="logo" href="index.php"><img src="CryoM@dmin/<?php echo $fet['image']; ?>"></a>
						</div>
						<div class="mid-grid-right">
<ul>
<li><a href="shoppingcart.php" class="shopping"><img src="images/shopping-cart.png" /><span>Items(<?php echo $max=count($_SESSION['cart']);?>)</span></a></li>
<li><a href="shoppingcart.php" class="shopping1"><span><?php echo  get_order_total();?></span></a></li>
</ul>

						</div>
						<div class="clear"> </div>
					</div>
				</div>
				<!----//End-mid-head---->
				<!----start-bottom-header---->
				<div class="header-bottom">
					<div class="wrap">
					<!-- start header menu -->
							<ul class="megamenu skyblue">
								<li class="grid"><a class="color2" href="index.php">Home</a></li>
					  			<li class="active grid"><a class="color4" href="products.php">Products</a>
									<div class="megapanel">
										<div class="row">
                                            <?php
											$seteee=mysql_query("select * from `category` where `code`='1' order by `category_name` asc");
											while($fettt=mysql_fetch_array($seteee))
											{  $cat=$fettt['category_name'];
											?>
                                            <div class="col1">
												<div class="h_nav">
													<h4>
                 <a href="products1.php?cat=<?php echo $cat; ?>&&subcat=<?php echo $dfsdfwtr['subcat']; ?>" style="color:#000;font-weight:bold;">
				 <?php echo $cat; ?></a></h4>
                                                    <?php /*?><ul>
                                                    	<?php
														$sdfsf=mysql_query("select * from `sub_category` where `cat_name`='$cat' order by `subcat` asc");
														while($dfsdfwtr=mysql_fetch_array($sdfsf))
														{  $subcaterogry=$dfsdfwtr['subcat'];
														?>
      <li><a href="products1.php?cat=<?php echo $cat; ?>&&subcat=<?php echo $dfsdfwtr['subcat']; ?>" style="color:#000;font-weight:bold;">
	  <?php echo $subcaterogry; ?></a>
      <ul>
      <?php
					$sdfsf12ve=mysql_query("select * from `sub_sub_category` where `cat`='$cat' and `sub_cat`='$subcaterogry' order by `sub_sub_cat` asc");
					while($dfsdfwtr12ve=mysql_fetch_array($sdfsf12ve))
														{  
														?>
      <li style="margin-left:5%;">
      <a href="products1.php?cat=<?php echo $cat; ?>&&subcat=<?php echo $dfsdfwtr['subcat']; ?>&&subsubcat=<? echo $dfsdfwtr12ve['sub_sub_cat'];  ?>" style="color:#333;">
	  <?php echo $dfsdfwtr12ve['sub_sub_cat']; ?></a></li>
                                                    <?php } ?>
                                                    
                                                    </ul>
      </li>
                                                    <?php } ?>
                                                    </ul><?php */?>	
												</div>	
                                                </div>
												<?php } ?>							
											
											
											
											
											
											<!--<div class="col1 women">
												<div class="women-pic">
													<img src="images/men.png" title="" />
												</div>
											</div>-->
										</div>
										<div class="row">
											<div class="col2"></div>
											<div class="col1"></div>
											<div class="col1"></div>
											<div class="col1"></div>
											<div class="col1"></div>
										</div>
					    				</div>
									</li>				
									<li><a class="color5" href="about.php">About Us</a></li>
                                    <li><a class="color5" href="faq.php">FAQ</a></li>
                                    <li><a class="color5" href="contact.php">Contact Us</a></li>
									
									
				</div>
				<!----//End-bottom-header---->