| Server IP : 162.214.74.102 / Your IP : 216.73.216.139 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_projetos/sopizzas/application/views/restaurantadmin/ |
Upload File : |
<?php
$myArray = $this->session->userdata('logged_in_restaurant');
$businessType = $myArray['is_restaurant'];
?>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar newMS newmsA">
<section class="sidebar">
<ul class="sidebar-menu custom-sidebarN padbot51">
<!-- <li class="header">MAIN NAVIGATION</li> -->
<li class="treeview bodtree customTree">
<div class="text-center usereditimg posrelative admin_image_wrap">
<?php
$logged_in = $this->session->userdata('logged_in_restaurant');
if ($logged_in['restaurant_admin_image'] != '') {
$admin_image = base_url().ADMIN_LOGO_PATH_THUMBS.$logged_in['restaurant_admin_image'];
}
else {
$admin_image = base_url().ADMIN_LOGO_PATH_THUMBS.ADMIN_DEFAULT_IMAGE;
}
?>
<img src="<?php echo $admin_image ?>" width="160" id="show_admin_image">
<div class="posabsolute nonepos">
<a href="#">
<p><?php echo $this->lang->line('ClicktoUpload');?></p>
</a>
</div>
<input type="file" name="admin_image" id="admin_image" class="admin_image" onchange="readURL2(this)">
</div>
</li>
<?php
if ($businessType == 0) {
?>
<li class="treeview bodtree <?php if($page=='dashboardrestaurant'){ echo "active"; } ?>">
<a href="<?php echo base_url(); ?>restaurantadmin/dashboardrestaurant">
<i class="fa fa-tachometer" aria-hidden="true" data-toggle="tooltip" data-placement="right" title="Dashboard"></i> <span><?php echo $this->lang->line('Dashboard');?></span>
</a>
</li>
<?php
}
?>
<!-- <li class="treeview bodtree">
<a href="account_information.html">
<i class="fa fa-info-circle"></i>
<span>Acct. Information</span>
</a>
</li> -->
<li class="treeview bodtree <?php if($page=='updaterestaurant'){ echo "active"; } ?>">
<a href="<?php echo base_url(); ?>restaurantadmin/updaterestaurant">
<i class="fa fa-cog" data-toggle="tooltip" data-placement="right" title="Settings"></i><span><?php echo $this->lang->line('Settings');?></span>
</a>
</li>
<!-- <li class="treeview bodtree <?php if($page=='cuisine' || $page=='menu_category' || $page=='addons_list' ){ echo "active"; } ?>">
<a href="#">
<i class="fa fa-bars" data-toggle="tooltip" data-placement="right" title="Create Master Data"></i><span>Create Master Data</span>
<i class="fa fa-angle-right pull-right" width="10"></i>
</a>
<ul class="treeview-menu">
<li <?php if($page=='menu_category'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/categorymanagement">Menu Category</a></li>
<li <?php if($page=='addons_list'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/addonsmanagement">Addons</a></li>
</ul>
</li> -->
<li class="treeview bodtree <?php if($page=='menu_list' || $page=='menu_category' || $page=='addons_list'){ echo "active"; } ?>">
<a href="<?php echo base_url(); ?>restaurantadmin/menumanagement">
<i class="fa fa-cutlery " data-toggle="tooltip" data-placement="right" title="Menu Management"></i><span><?php echo $this->lang->line('MenuManagement');?></span>
<i class="fa fa-angle-right pull-right" width="10"></i>
</a>
<ul class="treeview-menu">
<li <?php if($page=='menu_category'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/categorymanagement"><?php echo $this->lang->line('MenuCategory');?></a></li>
<!-- <li <?php if($page=='addons_list'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/addonsmanagement">Addons</a></li> -->
<li <?php if($page=='menu_list'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/menumanagement"><?php echo $this->lang->line('ItemList');?></a></li>
</ul>
</li>
<?php
if ($businessType == 0) {
?>
<li class="treeview bodtree">
<a href="<?php echo base_url(); ?>restaurantadmin/restaurantorders">
<i class="fa fa-history" data-toggle="tooltip" data-placement="right" title="Order History"></i><span><?php echo $this->lang->line('OrderHistory');?></span>
</a>
</li>
<li class="treeview bodtree <?php if($page=='report_list'){ echo "active"; } ?>">
<a href="<?php echo base_url(); ?>restaurantadmin/restaurantreport">
<!-- <a href="javascript:void(0)" style="cursor:default;"> -->
<i class="fa fa-flag" data-toggle="tooltip" data-placement="right" title="Reports"></i><span><?php echo $this->lang->line('Reports');?></span>
</a>
</li>
<li class="treeview bodtree <?php if($page=='coupon'){ echo "active"; } ?>">
<a href="javascript:void(0)">
<i class="fa fa-puzzle-piece" data-toggle="tooltip" data-placement="right" title="Managements"></i><span><?php echo $this->lang->line('Managements');?></span>
<i class="fa fa-angle-right pull-right" width="10"></i>
</a>
<ul class="treeview-menu">
<li class="<?php if($page=='coupon'){ echo "active1"; } ?>"><a href="<?php echo base_url(); ?>restaurantadmin/coupon"><?php echo $this->lang->line('CouponCodeOffers');?></a></li>
<!-- <li class="<?php if($page=='coupon'){ echo "active1"; } ?>"><a href="#" style="cursor:default;">Coupon Code/Offers</a></li> -->
<!-- <li><a href="javascript:void(0)" style="cursor:default;">SEO</a></li> -->
<li class="<?php if($page=='seo'){ echo "active1"; } ?>"><a href="<?php echo base_url(); ?>restaurantadmin/seomanagement"><?php echo $this->lang->line('SEO');?></a></li>
</ul>
</li>
<!-- <li class="treeview bodtree">
<a href="payment.html">
<i class="fa fa-money"></i><span>Payment</span>
</a>
</li>
<li class="treeview bodtree">
<a href="reviews.html">
<i class="fa fa-pencil-square-o"></i><span>Reviews</span>
</a>
</li> -->
<li class=" hide treeview bodtree <?php if($page=='restaurant_invoice'){ echo "active"; } ?>">
<a href="<?php echo base_url(); ?>updaterestaurant/restaurant_invoice/" >
<i class="fa fa-file-text" data-toggle="tooltip" data-placement="right" title="<?php echo $this->lang->line('Invoice');?>"></i><span><?php echo $this->lang->line('Invoice');?></span>
</a>
</li>
<?php
//}
//else {
?>
<li class="treeview bodtree hide">
<a href="<?php echo base_url(); ?>restaurantadmin/catereringrequests">
<i class="fa fa-book" data-toggle="tooltip" data-placement="right" title="<?php echo $this->lang->line('TableBookingRequests');?>"></i><span><?php echo $this->lang->line('TableBookingRequests');?></span>
</a>
</li>
<li class=" treeview bodtree <?php if($page=='drivermanagement' || $page=='driver_schedule' || $page=='driver_invoice'){ echo "active"; } ?>">
<a href="">
<i class="fa fa-car" data-toggle="tooltip" data-placement="right" title="Manage Drivers"></i><span>Manage Drivers</span>
<i class="fa fa-angle-right pull-right" width="10"></i>
</a>
<ul class="treeview-menu">
<li <?php if($page=='drivermanagementrestaurant'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/drivermanagementrestaurant">Driver List</a></li>
<!--<li <?php if($page=='driver_schedule'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>superadmin/drivermanagement/driverschedule">Manage Schedule</a></li>-->
<li <?php if($page=='driver_invoice'){ echo 'class="active1"'; } ?>><a href="<?php echo base_url(); ?>restaurantadmin/driverinvoicelist">Invoice</a></li>
</ul>
</li>
<?php
}
?>
</ul>
</section>
<!-- /.sidebar -->
</aside>