<!DOCTYPE html>
<html class="no-js" lang="zxx">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>Greenfarm - Organic Food eCommerce Bootstrap 4 Template</title>
	<meta name="description" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- Favicon -->
	<link rel="icon" href="<?php echo base_url();?>assets/images/favicon.ico">

	<!-- CSS
	============================================ -->
	<!-- Bootstrap CSS -->
	<link href="<?php echo base_url();?>assets/css/bootstrap.min.css" rel="stylesheet">

	<!-- FontAwesome CSS -->
	<link href="<?php echo base_url();?>assets/css/font-awesome.min.css" rel="stylesheet">

	<!-- Elegent CSS -->
	<link href="<?php echo base_url();?>assets/css/elegent.min.css" rel="stylesheet">

	<!-- Plugins CSS -->
	<link href="<?php echo base_url();?>assets/css/plugins.css" rel="stylesheet">

	<!-- Helper CSS -->
	<link href="<?php echo base_url();?>assets/css/helper.css" rel="stylesheet">

	<!-- Main CSS -->
	<link href="<?php echo base_url();?>assets/css/main.css" rel="stylesheet">

	<!-- Modernizer JS -->
	<script src="<?php echo base_url();?>assets/js/vendor/modernizr-2.8.3.min.js"></script>
	<script src="<?php echo base_url();?>assets/js/vendor/jquery.min.js"></script>
	<script src="<?php echo base_url();?>assets/js/bootstrap.min.js"></script>

</head>

<body>

	<!--=============================================
	=            Header         =
	=============================================-->

	<header>
			<!--=======  header top  =======-->
	
			<div class="header-top pt-10 pb-10 pt-lg-10 pb-lg-10 pt-md-10 pb-md-10">
				<div class="container">
					<div class="row">
						<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center text-sm-left text-lg-right">
							<!-- currncy language dropdown -->
							<div class="lang-currency-dropdown">
								<ul>
									<li> <a href="#">English <i class="fa fa-chevron-down"></i></a>
										<ul>
											<li><a href="#">French</a></li>
											<li><a href="#">Japanease</a></li>
										</ul>
									</li>
									<li><a href="#">Dollar <i class="fa fa-chevron-down"></i></a>
										<ul>
											<li><a href="#">Euro</a></li>
										</ul>
									</li>
								</ul>
							</div>
							<!-- end of currncy language dropdown -->
						</div>
						<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12  text-center text-sm-right">
							<!-- header top menu -->
							<div class="header-top-menu">
								<ul>
									<li><a href="my-account.html">My account</a></li>
									<li><a href="wishlist.html">Wishlist</a></li>
									<li><a href="checkout.html">Checkout</a></li>
								</ul>
							</div>
							<!-- end of header top menu -->
						</div>
					</div>
				</div>
			</div>
	
			<!--=======  End of header top  =======-->
	
			<!--=======  header bottom  =======-->
	
			<div class="header-bottom header-bottom-other header-sticky">
				<div class="container">
					<div class="row">
						<div class="col-md-3 col-sm-12 col-xs-12 text-lg-left text-md-center text-sm-center">
							<!-- logo -->
							<div class="logo">
								<a href="<?php echo base_url();?>">
									<img src="<?php echo base_url();?>assets/images/logo.png" class="img-fluid" alt="">
								</a>
							</div>
							<!-- end of logo -->
						</div>
						<div class="col-md-9 col-sm-12 col-xs-12">
							<div class="menubar-top d-flex justify-content-between align-items-center flex-sm-wrap flex-md-wrap flex-lg-nowrap mt-sm-15">
								<!-- header phone number -->
								<div class="header-contact d-flex">
									<div class="phone-icon">
										<img src="<?php echo base_url();?>assets/images/icon-phone.png" class="img-fluid" alt="">
									</div>
									<div class="phone-number">
										Phone: <span class="number">1-888-123-456-89</span>
									</div>
								</div>
								<!-- end of header phone number -->
								<!-- search bar -->
								<div class="header-advance-search">
									<form action="#">
										<input type="text" placeholder="Search your product">
										<button><span class="icon_search"></span></button>
									</form>
								</div>
								<!-- end of search bar -->
								<!-- shopping cart -->
								<div class="shopping-cart" id="shopping-cart">
									<a href="cart.html">
										<div class="cart-icon d-inline-block">
											<span class="icon_bag_alt"></span>
										</div>
										<div class="cart-info d-inline-block">
											<p>Shopping Cart 
												<span>
													0 items - $0.00 
												</span>
											</p>
										</div>
									</a>
								<!-- end of shopping cart -->
	
								<!-- cart floating box -->
								<div class="cart-floating-box" id="cart-floating-box">
									<div class="cart-items">
										<div class="cart-float-single-item d-flex">
											<span class="remove-item"><a href="#"><i class="fa fa-times"></i></a></span>
											<div class="cart-float-single-item-image">
												<a href="single-product.html"><img src="<?php echo base_url();?>assets/images/products/product01.jpg" class="img-fluid" alt=""></a>
											</div>
											<div class="cart-float-single-item-desc">
												<p class="product-title"> <a href="single-product.html">Duis pulvinar obortis eleifend </a></p>
												<p class="price"><span class="count">1x</span> $20.50</p>
											</div>
										</div>
										<div class="cart-float-single-item d-flex">
											<span class="remove-item"><a href="#"><i class="fa fa-times"></i></a></span>
											<div class="cart-float-single-item-image">
												<a href="single-product.html"><img src="<?php echo base_url();?>assets/images/products/product02.jpg" class="img-fluid" alt=""></a>
											</div>
											<div class="cart-float-single-item-desc">
												<p class="product-title"> <a href="single-product.html">Fusce ultricies dolor vitae</a></p>
												<p class="price"><span class="count">1x</span> $20.50</p>
											</div>
										</div>
									</div>
									<div class="cart-calculation">
										<div class="calculation-details">
											<p class="total">Subtotal <span>$22</span></p>
										</div>
										<div class="floating-cart-btn text-center">
											<a href="checkout.html">Checkout</a>
											<a href="cart.html">View Cart</a>
										</div>
									</div>
								</div>
								<!-- end of cart floating box -->
								</div>
							</div>

							<!--=============================================
							=            navigation menu         =
							=============================================-->
							
								<!-- navigation section -->
								<div class="main-menu main-menu-other-homepage">
									<nav>
										<ul>
											<!--<li class="active menu-item-has-children"><a href="#">HOME</a>
												<ul class="sub-menu">
													<li><a href="index.html">Home Shop 1</a></li>
													<li><a href="index-2.html">Home Shop 2</a></li>
													<li><a href="index-3.html">Home Shop 3</a></li>
													<li><a href="index-4.html">Home Shop 4</a></li>
												</ul>
											</li>-->
                                            <li><a href="#">Home</a></li>
											<li class="menu-item-has-children"><a href="shop-left-sidebar.html">Categories</a>
												<ul class="sub-menu">
                                                <?php  $this->db->order_by("csort","asc");$this->db->limit(10);
										    $cat=$this->db->get_where("category",array("cat_status"=>""))->result();foreach($cat as $c){?> 
													<li class="menu-item-has-children"><a href="<?php echo base_url();?><?php echo str_replace(" ","-",$c->cat_name);?>/<?php echo $c->cid;?>" ><?php echo $c->cat_name;?></a>
														<ul class="sub-menu">
                                                        <?php $this->db->order_by("sid","desc");
								$subcat=$this->db->get_where("subcategory",array("cid"=>$c->cid))->result();
												foreach($subcat as $subc){?>
															<li><a href="<?php echo base_url();?><?php echo str_replace(" ","-",$c->cat_name);?>/<?php echo str_replace(" ","-",$subc->subcat_name);?>/<?php echo $c->cid;?>/<?php echo $subc->sid;?>"><?php echo $subc->subcat_name;?></a></li>
                                                            <?php }?>
														</ul>
													</li>
                                                    <?php }?>
												</ul>
											</li>
											<li><a href="#">About us</a></li>
											<li><a href="#">CONTACT</a></li>
                                            <li><a href=""><i style="border:2px solid; padding:5px;">Deals & Offers</i></a></li>
										</ul>
									</nav>
								</div>
								<!-- end of navigation section -->
										
							<!--=====  End of navigation menu  ======-->
	
							
						</div>
						<div class="col-12">
							<!-- Mobile Menu -->
							<div class="mobile-menu d-block d-lg-none"></div>
						</div>
					</div>
				</div>

			<!--=============================================
			=            navigation menu         =
			=============================================-->
			
			<div class="home-other-navigation-menu">
				<div class="container">
					<div class="row">
						<div class="col-lg-12">
							<!-- navigation section -->
							<div class="main-menu">
								<nav>
									<ul>
                                    		<li><a href="<?php echo base_url();?>">Home</a></li>
											<!--<li class="active menu-item-has-children"><a href="#">HOME</a>
												<ul class="sub-menu">
													<li><a href="index.html">Home Shop 1</a></li>
													<li><a href="index-2.html">Home Shop 2</a></li>
													<li><a href="index-3.html">Home Shop 3</a></li>
													<li><a href="index-4.html">Home Shop 4</a></li>
												</ul>
											</li>-->
											<li class="menu-item-has-children"><a href="shop-left-sidebar.html">Categories</a>
												<ul class="sub-menu">
                                                <?php  $this->db->order_by("csort","asc");$this->db->limit(10);
										    $cat=$this->db->get_where("category",array("cat_status"=>""))->result();foreach($cat as $c){?> 
													<li class="menu-item-has-children"><a href="<?php echo base_url();?><?php echo str_replace(" ","-",$c->cat_name);?>/<?php echo $c->cid;?>" ><?php echo $c->cat_name;?></a>
														<ul class="sub-menu">
                                                        <?php $this->db->order_by("sid","desc");
								$subcat=$this->db->get_where("subcategory",array("cid"=>$c->cid))->result();
												foreach($subcat as $subc){?>
															<li><a href="<?php echo base_url();?><?php echo str_replace(" ","-",$c->cat_name);?>/<?php echo str_replace(" ","-",$subc->subcat_name);?>/<?php echo $c->cid;?>/<?php echo $subc->sid;?>"><?php echo $subc->subcat_name;?></a></li>
                                                            <?php }?>
														</ul>
													</li>
                                                    <?php }?>
												</ul>
											</li>
											
											<li><a href="#">CONTACT</a></li>
                                            <li><a href="#">About us</a></li>
                                            <li><a href=""><i style="border:2px solid; padding:5px;">Deals & Offers</i></a></li>
										</ul>
								</nav>
							</div>
							<!-- end of navigation section -->
						</div>
					</div>
				</div>
			</div>
				
			<!--=====  End of navigation menu  ======-->

				
			</div>
	
			<!--=======  End of header bottom  =======-->


	</header>
