<input type="hidden" id="baseurl" value="<?php echo base_url(); ?>" >
<!----Banner Start---->
	<div class="fd_bread_wrapper">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<div class="fd_bread">
						<h1 class="fd_page_title"><span>our menu</span></h1>
						<nav aria-label="breadcrumb">
						  <ol class="breadcrumb">
							<li class="breadcrumb-item"><a href="<?php echo base_url()."menus"; ?>">Menus</a></li>
							<li class="breadcrumb-item active" aria-current="page">Category</li>
						  </ol>
						</nav>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	<!-- single cate product panel start-->
	<?php if(!empty($all_singlecate_products)){   ?>
	<div class="fd_lunch_wrapper fd_inner_sol_wrapper">
		<div class="container">
			<div class="row">
              	 <?php if(!empty($singlecate_name)){ ?>
				<div class="col-lg-12">
					<div class="fd_sub_heading">
						<h2><span class="dot_border dot_border1"></span><?php echo  $singlecate_name['category_name']; ?> <span class="dot_border"></span></h2>
					</div>
				</div>
				 <?php } ?>
				<div class="col-lg-12">
					<div class="fd_food_tab">
						<div class="fd_food_inner_menu">
						  <div class="fd_food_menu2 swiper-container">
							<div class="swiper-wrapper">
							<?php foreach($all_singlecate_products as $single_cate_prod){ ?>
							  <div class="swiper-slide">
								<div class="fd_food_box">
									<div class="fd_food_img">
										<img src="<?php echo base_url().$single_cate_prod->prod_image; ?>" alt="">
									</div>
									<div class="fd_food_name">
										<h3><a href="<?php echo base_url().'product/'.$single_cate_prod->prod_slug.'/'.$single_cate_prod->prod_code; ?>"><?php echo $single_cate_prod->prod_name; ?></a></h3>
										<span class="food_price"><?php echo $this->hs->getwebsettings('currency_symbol'); ?><?php echo $single_cate_prod->prod_price; ?></span>
										<span class="food_name_arrow"><img src="<?php echo base_url(); ?>themeassets/images/svg/up_arrow.svg" alt=""></span>
									</div>
									<div class="fd_food_detail">
										<h3><a href="<?php echo base_url().'product/'.$single_cate_prod->prod_slug.'/'.$single_cate_prod->prod_code; ?>"><?php echo $single_cate_prod->prod_name; ?></a></h3>
										<span class="food_price"><?php echo $this->hs->getwebsettings('currency_symbol'); ?><?php echo $single_cate_prod->prod_price; ?></span>
										<div class="add_to_cart"><a href="javascript:;" onclick="add_to_cart(<?php echo $single_cate_prod->prod_id; ?>,1)">add to cart <i class="fa fa-shopping-basket" aria-hidden="true"></i></a></div>
									</div>
									<div class="fd_food_overlay"></div>
								</div>
							  </div>
							<?php } ?>
							</div>
						  </div> 
						  <!-- Add Pagination -->
						 <div class="swiper-button-next6 slider_nav_next"><span class="slider_icon_next"></span></div>
						<div class="swiper-button-prev6 slider_nav_prev"><span class="slider_icon_prev"></span></div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<?php }  ?>
	<!-- single cate product panel end-->
	
		<!----Booking Section Start---->
	<?php if($this->hs->getwebsettings('booking_section') == 1){  ?> 
	<div class="fd_booking_wrapper">
		<div class="container">
			<div class="row">
				<div class="col-lg-12">
					<div class="fd_heading text-center btm_marger50">
					    <?php if($this->hs->getwebsettings('bookingheading_show') == 1){  ?>
						<h2><?php echo $this->hs->getwebsettings('bookingheading_text'); ?></h2>
					  <?php } ?>
						  <?php if($this->hs->getwebsettings('bookingtitle_show') == 1){  ?>
						<h1><?php echo $this->hs->getwebsettings('bookingtitle_text'); ?></h1>
						<?php } ?>
					</div>
				</div>
				<div class="col-lg-8">
					<div class="fd_booking_form">
					 <?php if($this->hs->getwebsettings('bookingformheading_show') == 1){  ?>
			 			<h3><?php echo $this->hs->getwebsettings('bookingformheading_text'); ?> </h3>
					 <?php } ?>
						<div class="row">
							<div class="col-lg-4">
							<input type="hidden" name="btable_id" id="btable_id" value="0">
								<div class="fd_input_group">
									<label>date</label>
									<div class="input-group">
									  <input class="form-control datepicker" placeholder="Date" id="b_date" name="b_date"/><span class="input-group-icon"><img src="<?php echo base_url(); ?>themeassets/images/svg/calendr.svg" alt="" ></span>
									</div>
								</div>
								<div class="fd_input_group">
									<label>Occasion (Optional)</label>
									<select class=" cusom_select" id="b_occasion" name="b_occasion">
									 <option value="">Occasion</option>
									 <?php if(!empty($all_occasion)){ 
												foreach($all_occasion as $occasion_list){
									  ?>
									 
									  <option value="<?php echo $occasion_list->occasion_id; ?>"><?php echo $occasion_list->occasion_name; ?></option>
									 <?php } } ?>
									  <option value="0">Other</option>
									</select>
								</div>
								<div class="fd_input_group">
									<label>name</label>
									<div class="input-group">
									  <input type="text" class="form-control" placeholder="Name" id="b_name" name="b_name" value="<?php if(isset($_SESSION['userid'])){ echo $this->hs->get_userdetails('user_name',$_SESSION['userid']); } ?>" <?php if(isset($_SESSION['userid'])){ echo "disabled"; } ?>/>
									</div>
								</div>
							</div>
							<div class="col-lg-4">
								<div class="fd_input_group">
									<label>time</label>
									<div class="input-group">
									  <input class="form-control timepicker" placeholder="Time" id="b_time" name="b_time"><span class="input-group-icon"><img src="<?php echo base_url(); ?>themeassets/images/svg/time.svg" alt="" ></span>
									</div>
								</div>
								<div class="fd_input_group">
									<label>Preferred Food (Optional)</label>
									<select class=" cusom_select" id="b_preferredfood" name="b_preferredfood[]">
									  <option value="0" selected>Select Food</option>
									  <?php if(!empty($all_products)){ 
									      foreach($all_products as $food_list){
									  ?>
									  <option value="<?php echo $food_list->prod_id; ?>"><?php echo $food_list->prod_name; ?></option>
									  <?php } } ?>
									  
									</select>
								</div>
								<div class="fd_input_group">
									<label>Email</label>
									<div class="input-group">
									  <input class="form-control" placeholder="Email" type="text" name="b_email" id="b_email" value="<?php if(isset($_SESSION['userid'])){ echo $this->hs->get_userdetails('user_email',$_SESSION['userid']); } ?>" <?php if(isset($_SESSION['userid'])){ echo "disabled"; } ?>/>
									</div>
								</div>
							</div>
							<div class="col-lg-4">
								<div class="fd_input_group">
								<label>people</label>
									<div class="input-group">
									 <select class=" cusom_select" id="no_of_people" name="no_of_people">
									  <option value="0">Select No of People</option>
									  <?php $i =1; 
									     for($i =1;$i<=100;$i++){ ?>
									  
									  <option value="<?php echo $i; ?>"><?php echo $i; ?>  People</option>
									 
									<?php } ?>
									</select>
									</div>
								</div>
								<div class="fd_input_group">
									<label>Message (Optional)</label>
									<textarea class="form-control" placeholder="Message"id="b_msg"name="b_msg"></textarea>
								</div>
							</div>
							<div class="col-lg-8">
								<div class="book_form_note">Please Submit your reservation details and we will contact you to confirm your booking</div>
							</div>
							<div class="col-lg-4">
								<div class="fd_btn_wrapper">
								<?php if($this->hs->getwebsettings('bookingbutton_show') == 1){  ?>
									<a onclick="table_booking()" class="fd_btn"><?php echo $this->hs->getwebsettings('bookingbutton_text'); ?></a>
								<?php } ?>
								</div>
							</div>
						</div>		
					</div>
				</div>
				<div class="col-lg-4">
					<div class="fd_book_img">
						<img src="<?php echo base_url().$this->hs->getwebsettings('bookingsection_img'); ?>" alt="" class="img-fluid"/>
					</div>
				</div>
			</div>
		</div>
	</div>
<?php } ?>
	
	<!----App Wrapper Section Start---->
	<?php if($this->hs->getwebsettings('mobile_app_section') == 1){  ?>
	<div class="fd_app_wrapper">
		<div class="container">
			<div class="row">
				<div class="col-lg-6">
					<div class="fd_app_img">
						<img src="<?php echo  base_url().$this->hs->getwebsettings('mobileapp_img'); ?>" alt="" class="img-fluid">
					</div>
				</div>
				<div class="col-lg-6">
					<div class="fd_app_data">
						<div class="fd_heading">
						<?php if($this->hs->getwebsettings('mobileappheading_show') == 1){  ?>
						    <h2><?php echo $this->hs->getwebsettings('mobileappheading_text'); ?></h2>
						<?php } ?>
							<?php if($this->hs->getwebsettings('mobileapptitle_show') == 1){  ?>
							<h1><?php echo $this->hs->getwebsettings('mobileapptitle_text'); ?></h1>
							<?php } ?>
						</div>
						<?php if($this->hs->getwebsettings('mobileappdescr_show') == 1){  ?>
						<p><?php echo $this->hs->getwebsettings('mobileappdescr_text'); ?></p>
						<?php } ?>
						<?php if($this->hs->getwebsettings('mobileappdownload_show') == 1){  ?>
						<h3><?php echo $this->hs->getwebsettings('mobileappdownload_text'); ?></h3>
						<?php } ?>
						<div class="fd_app_btn">
							<a href="#"><img src="<?php echo  base_url().$this->hs->getwebsettings('googlestore_img'); ?>" alt="" class="img-fluid"></a>
							<a href="#"><img src="<?php echo  base_url().$this->hs->getwebsettings('iosstore_img'); ?>" alt="" class="img-fluid"></a>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="fd_overlay"></div>
	</div>	
	<?php } ?>
	 