<!DOCTYPE html>
<!DOCTYPE html>
<!-- 
Template Name: Foodiee - Responsive HTML Template
Version: 1.0.0
Author: Kamleshyadav
Website: http://himanshusofttech.com/
Purchase: http://themeforest.net/user/kamleshyadav
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- Begin Head -->
<!-- Version: 1.1-->
<head>
<?php if(isset($page_title) && ($page_title !='')){ ?>
	<title><?php echo $page_title; ?></title>
<?php  }else{ if($this->hs->getwebsettings('sitetitle_show') == 1){ ?>
	<title><?php echo $this->hs->getwebsettings('sitetitle_text');?></title>
<?php } 
  } 
?>
	<meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
 <?php 
   if(isset($page_descri) && ($page_descri !='')){ ?>
	<meta name="description" content="<?php echo substr($page_descri,0,150); ?>">
<?php  }else{ if($this->hs->getwebsettings('sitedescr_show') == 1){ ?>
	<meta name="description" content="<?php echo $this->hs->getwebsettings('sitedescr_text'); ?>">
 <?php }
  } 
  ?>
<?php if($this->hs->getwebsettings('metatags_show') == 1){ ?>
	<meta name="keywords" content="<?php echo $this->hs->getwebsettings('metatags_text'); ?>">
<?php } ?>
<?php if($this->hs->getwebsettings('siteauthor_show') == 1){ ?>
	<meta name="author" content="<?php echo $this->hs->getwebsettings('siteauthor_text'); ?>">
<?php } ?>
	<meta name="MobileOptimized" content="320">
    <!--Srart Style -->
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/css/fonts.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/niceselect/nice-select.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/swiper/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/magnific/magnific-popup.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/date_time_picker/bootstrap-datepicker.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/date_time_picker/bootstrap-timepicker.css">
    <!----Revolution Css Start---->
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/revolution/css/settings.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/revolution/css/layers.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/js/plugins/revolution/css/navigation.css">
	<!------Toaster Css Start------>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/css/toastr.css">
	<!----Data Table Css Start----->
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/css/dataTables.bootstrap4.min.css">
	<!----Custon Css Start---->
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>themeassets/css/style.css">
    <!-- Favicon Link -->
	<?php  $favicon = $this->hs->getwebsettings('favicon_img');
			if(!empty($favicon)){ ?>
    <link rel="shortcut icon" type="image/png" href="<?php echo base_url().$favicon; ?>">
	<?php }else{ ?>
	<link rel="shortcut icon" type="image/png" href="<?php echo base_url(); ?>themeassets/images/favicon.png">
	<?php } ?>
</head>

<body>
<input type="hidden" id="baseurl" value="<?php echo base_url(); ?>">
	<!----top header start---->
	<?php if($this->hs->getwebsettings('header_section') == 1){  ?>
	
	<div class="fd_top_header">
		<div class="container-fluid">
			<div class="row">
				<div class="fd_top_inner">
				<?php if(!empty($all_offer)){ ?>
					<div class="top_offer">
						<span class="top_offer_icon"><img src="<?php echo base_url(); ?>themeassets/images/svg/order.svg" alt=""></span>
						<div class="swiper-container">
							<div class="swiper-wrapper">
							<?php foreach($all_offer as $offers){ ?>
								<div class="swiper-slide">
								<?php echo $offers->offer_heading; ?> - <?php echo $offers->offer_description; ?> 
								</div>
							<?php } ?>
							</div>
							<!-- Add Pagination -->
							<div class="swiper-button-next slider_nav_next"><i class="fa fa-chevron-down" aria-hidden="true"></i></div>
							<div class="swiper-button-prev slider_nav_prev"><i class="fa fa-chevron-up" aria-hidden="true"></i></div>
						</div>	
					</div>
				<?php } ?>
					<div class="fd_top_icons">
						<ul>
						<?php if($this->hs->getwebsettings('facebooklink_show') == 1){ ?>
                              <li><a href="<?php echo $this->hs->getwebsettings('facebooklink_foot'); ?>"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
						<?php } ?>
						<?php if($this->hs->getwebsettings('twitterlink_show') == 1){ ?>
							 <li><a href="<?php echo $this->hs->getwebsettings('twitterlink_foot'); ?>"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
						<?php } ?>
						 <?php if($this->hs->getwebsettings('linkedinlink_show') == 1){ ?>
							 <li><a href="<?php echo $this->hs->getwebsettings('linkedinlink_foot'); ?>"><i class="fa fa-linkedin" aria-hidden="true"></i></a></li>
						<?php } ?>
						</ul>
					</div>
					<div class="fd_cart" id="show_cart_item">
					</div>
					<?php if(isset($_SESSION['userid'])){  ?>
					 <div class="fd_profile">
						<a href="javascript:;" class="dropdown-toggle"  data-toggle="dropdown">
						<?php  
							$user_pic = $this->hs->get_userdetails('user_image',$_SESSION['userid']);
									if(!empty($user_pic)){ ?>
										<img src="<?php echo base_url().$user_pic; ?>"  alt=""><?php }else{ ?>
								<img src="<?php echo base_url(); ?>themeassets/images/userpic.png" alt="">
								<?php } if(isset($_SESSION['userid'])){ echo $this->hs->get_userdetails('user_name',$_SESSION['userid']); } ?></a>
						<ul class="dropdown-menu">
						  <li><a href="<?= base_url('user/profile') ?>">profile</a></li>
						  <li><a href="<?= base_url('login/user_logout') ?>">logout</a></li>
						</ul>
					</div>
					<?php }else{ ?>
					<div class="fd_top_login">
						<a href="#myModal1" data-toggle="modal"><i class="fa fa-user-circle" aria-hidden="true"></i>
							<span>login</span>
						</a>
                    </div>
					<?php } ?>
				</div>
				<!----Menu Start---->
				<div class="fd_menu_wrapper">
					<div class="fd_logo">
						<a href="<?= base_url(); ?>">
						<?php $logo_img = $this->hs->getwebsettings('logo_img'); 
						if(!empty($logo_img)){ 
						?>
						<img src="<?php echo base_url().$logo_img; ?>" alt="">
						<?php }else{ ?>
						<img src="<?php echo base_url(); ?>themeassets/images/logo.png" alt="">
						<?php } ?>
						</a>
					</div>
					<div class="fd_menu_toggle">
                        <i class="fa fa-bars" aria-hidden="true"></i>
                    </div>
					<div class="fd_menu">
						<ul><?php if($this->hs->getwebsettings('home_hmenu') == 1){ ?>
						    <li class="<?php if(isset($add_active) && ($add_active == 1)){ echo "active"; } ?>"><a href="<?= base_url(); ?> ">Home</a></li>
						<?php } ?>
						<?php if($this->hs->getwebsettings('aboutpage_section') == 1){ 
						if($this->hs->getwebsettings('about_us_hmenu') == 1){ ?>
							<li class="<?php if(isset($add_active) && ($add_active == 2)){ echo "active"; } ?>"><a href="<?= base_url('home/aboutus') ?>">about</a></li>
						<?php   }
						   } ?>	
						<?php if($this->hs->getwebsettings('foodmenu_hmenu') == 1){ ?>
							<li class="<?php if(isset($add_active) && ($add_active == 3)){ echo "active"; } ?>"><a href="<?= base_url('menus') ?>">menu</a></li>
						<?php } ?>
						<?php if($this->hs->getwebsettings('booking_section') == 1){
						if($this->hs->getwebsettings('reservation_hmenu') == 1){ ?>
							<li class="<?php if(isset($add_active) && ($add_active == 4)){ echo "active"; } ?>"><a href="<?= base_url('home/reservation') ?>">reservation</a></li>
						<?php } 
						} ?>
						<?php if($this->hs->getwebsettings('gallery_section') == 1){
							if($this->hs->getwebsettings('gallery_hmenu') == 1){ ?>
							<li class="<?php if(isset($add_active) && ($add_active == 5)){ echo "active"; } ?>"><a href="<?= base_url('home/gallery') ?>">gallery</a></li>
						<?php } 
						}  ?>
						<?php if($this->hs->getwebsettings('blog_section') == 1){
						 if($this->hs->getwebsettings('blog_hmenu') == 1){ ?>
							<li class="<?php if(isset($add_active) && ($add_active == 6)){ echo "active"; } ?>"><a href="<?= base_url('blogs') ?>">blogs</a>
							</li>
						<?php }
						} ?>
					    <?php if($this->hs->getwebsettings('contactus_section') == 1){ 
						if($this->hs->getwebsettings('contact_hmenu') == 1){ ?>
							<li class="<?php if(isset($add_active) && ($add_active == 7)){ echo "active"; } ?>"><a href="<?= base_url('home/contact') ?>">contact</a></li>
						<?php } 
						} ?>
						</ul>
					</div>
					<?php if($this->hs->getwebsettings('searchbar_hmenu') == 1){ ?>
					<div class="fd_search">
						<input type="text" name="search" placeholder="Search Here" id="selected_item">
						<span class="fd_srch_icon"><img src="<?php echo base_url(); ?>themeassets/images/svg/search.svg" alt=""></span>
						<div class="fd_search_box" id="show_list">
						</div>
					</div>
					<?php } ?>
				</div>
			</div>	
		</div>	
	</div>
<?php } ?>




	
	