<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?php if($this->hs->getwebsettings('sitetitle_show') == 1){ ?>
    <title><?php echo $this->hs->getwebsettings('sitetitle_text'); ?></title>
	<?php } ?>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
	<?php  $favicon = $this->hs->getwebsettings('favicon_img');
			if(!empty($favicon)){ ?>
	<link rel="icon" type="image/ico" href="<?php echo base_url().$favicon; ?>" />
	<?php }else{ ?>
	<link rel="icon" type="image/ico" href="<?php echo base_url();?>assets/images/favicon.png" />
	<?php } ?>
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url(); ?>assets/css/preloader.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url(); ?>assets/css/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url(); ?>assets/css/font_awesome/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/scrollbar.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/datatables.min.css" />
	<link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url(); ?>assets/css/main.css" /> 
</head>

<body>

<!-- preloader start -->
<div class="hs_preloader">
    <div class="hs_preloader_inner">
        <span></span><span></span><span></span>
    </div>
</div>
<!-- preloader end -->

<!-----popup message start-->
<div class="hs_alert_wrapper hs_message"> <!-- use this classes here - "open_alert" and "hs_success" and "hs_error"  -->
    <div class="hs_alert_inner">
        <p><span class="icon"></span><span id="popup_message">Please fill all the fields</span></p>
    </div>
</div>
<!-----popup message end-->
<span class="sidebar_toggle"><i class="fa fa-bars" aria-hidden="true"></i></span>
<!-- sidebar start -->
 <div class="hs_sidebar_wrapper">
    <div class="hs_logo">
        <a href="<?php echo base_url().'admin/dashboard'; ?>"><?php echo $this->hs->getwebsettings('sitetitle_text'); ?></a>
    </div>
    <div class="hs_sidebar_body hs_custom_scrollbar">
        <div class="hs_nav">
            <ul>
                <li><a class="<?php if(isset($active_class) && ($active_class == 1)){ echo "active" ; } ?>" href="<?= base_url('admin/dashboard') ?>"><i class="fa fa-tachometer" aria-hidden="true"></i> Dashboard</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 18)){ echo "active" ; } ?>" href="<?= base_url('admin/manage_orders') ?>"><i class="fa fa-table" aria-hidden="true"></i> Orders</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 2)){ echo "active" ; } ?>" href="<?= base_url('admin/reservation_list') ?>"><i class="fa fa-table" aria-hidden="true"></i> Reservations</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 3)){ echo "active" ; } ?>" href="<?= base_url('admin/tablelist') ?>"><i class="fa fa-th-large" aria-hidden="true"></i> Table</a></li>
				<li class="hs_nav_dropdown">
				<a class="<?php if(isset($active_class) && ($active_class == 4)){ echo "active" ; } ?>" href="javascript:;"><i class="fa fa-cutlery" aria-hidden="true"></i> Products</a>
					<ul>
						<li><a href="<?= base_url('admin/categorylist') ?>"><i class="fa fa-sliders" aria-hidden="true"></i> Manage Categories</a></li>
						<li><a href="<?= base_url('admin/add_new_products') ?>"><i class="fa fa-plus-circle" aria-hidden="true"></i> Add Products</a></li>
						<li><a href="<?= base_url('admin/productlist') ?>"><i class="fa fa-sliders" aria-hidden="true"></i> Manage Products</a></li>
					</ul>
				</li>	
				<li><a class="<?php if(isset($active_class) && ($active_class == 5)){ echo "active" ; } ?>" href="<?= base_url('admin/userslist') ?>"><i class="fa fa-user" aria-hidden="true"></i> Users</a></li>
				<li class="hs_nav_dropdown">
				<a class="<?php if(isset($active_class) && ($active_class == 6)){ echo "active" ; } ?>" href="javascript:;"><i class="fa fa-bars" aria-hidden="true"></i> Blogs</a>
					<ul>
						<li><a href="<?= base_url('admin/blog_catelist') ?>"><i class="fa fa-bars" aria-hidden="true"></i> Blogs Categories</a></li>
						<li><a href="<?= base_url('admin/add_blog') ?>"><i class="fa fa-plus-circle" aria-hidden="true"></i> Add Blogs</a></li>
						<li><a href="<?= base_url('admin/bloglist') ?>"><i class="fa fa-sliders" aria-hidden="true"></i> Manage Blogs</a></li>
					</ul>
				</li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 7)){ echo "active" ; } ?>" href="<?= base_url('admin/testimoniallist') ?>"><i class="fa fa-comments" aria-hidden="true"></i>  Testimonial</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 8)){ echo "active" ; } ?>" href="<?= base_url('admin/chefteamlist') ?>"><i class="fa fa-users" aria-hidden="true"></i>  Chef Team</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 9)){ echo "active" ; } ?>" href="<?= base_url('admin/occasion') ?>"><i class="fa fa-birthday-cake" aria-hidden="true"></i> Occasion</a></li>
			    <li><a class="<?php if(isset($active_class) && ($active_class == 10)){ echo "active" ; } ?>" href="<?= base_url('admin/partners_list') ?>"><i class="fa fa-handshake-o" aria-hidden="true"></i> Partners </a></li>
			    <li><a class="<?php if(isset($active_class) && ($active_class == 11)){ echo "active" ; } ?>" href="<?= base_url('admin/gallery_image_list') ?>"><i class="fa fa-sliders" aria-hidden="true"></i> Portfolio</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 12)){ echo "active" ; } ?>" href="<?= base_url('admin/pages_list') ?>"><i class="fa fa-file-text-o" aria-hidden="true"></i> Pages</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 13)){ echo "active" ; } ?>" href="<?= base_url('admin/comments') ?>"><i class="fa fa-comments" aria-hidden="true"></i> Comments</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 14)){ echo "active" ; } ?>" href="<?= base_url('admin/contact_us') ?>"><i class="fa fa-envelope-open-o" aria-hidden="true"></i> Contact us</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 15)){ echo "active" ; } ?>" href="<?= base_url('admin/offers_list') ?>"><i class="fa fa-gift" aria-hidden="true"></i> Offer</a></li>
				<li><a class="<?php if(isset($active_class) && ($active_class == 16)){ echo "active" ; } ?>" href="<?= base_url('setting/manage_slider') ?>"><i class="fa fa-sliders" aria-hidden="true"></i> Slider</a></li>
				<li class="hs_nav_dropdown">
				<a class="<?php if(isset($active_class) && ($active_class == 17)){ echo "active" ; } ?>" href="javascript:;"><i class="fa fa-wrench" aria-hidden="true"></i>   Settings</a>
					<ul>
					<li><a  href="<?= base_url('setting/compliance_page') ?>"><i class="fa fa-file-text-o" aria-hidden="true"></i>Compliance Pages</a></li>
					<li><a  href="<?= base_url('setting/site_setting') ?>"><i class="fa fa-wrench" aria-hidden="true"></i>General setting</a></li>
					<li><a  href="<?= base_url('setting/payment_setting') ?>"><i class="fa fa-money" aria-hidden="true"></i>Payment setting</a></li>
					<li><a  href="<?= base_url('setting/email_setting') ?>"><i class="fa fa-envelope" aria-hidden="true"></i>Email setting</a></li>
				</ul>
				</li>
            </ul>
        </div>
    </div>
</div>
<!-- sidebar end -->
<!-- page start -->
<div class="hs_page_wrapper">
    <!-- page title start -->
    <div class="hs_page_title">
        <?php if(isset($pagetitle)){ 
				if(!empty($pagetitle)){  ?>
		<h3><?php echo ucfirst($pagetitle); ?></h3>
		<?php }
		}else{ ?>
           <h3>Dashboard</h3>
		<?php }	?>
		<div class="hs_logout">
            <a href="<?= base_url('login/admin_logout') ?>"><i class="fa fa-sign-out" aria-hidden="true"></i> Logout</a>
        </div>
		<div class="hs_logout">
            <a href="<?= base_url(); ?>" target="_blank"><i class="fa fa-external-link" aria-hidden="true" ></i> Preview</a>
        </div>
    </div>
    <!-- page title end -->
	 
	<!-- page body start -->
    <div class="hs_page_body">
	<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/lib/jquery-3.2.1.min.js"></script>
	<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/plugins/Chart.min.js"></script>

    