| 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/www/lrsys_projetos/sopizzas/application/views/restaurantadmin/ |
Upload File : |
<?php
$this->db->select('braintree_sub_merchant_status');
$this->db->from('rt_restaurant');
$this->db->where('restaurant_id', $this->session->userdata('logged_in_restaurant')['id']);
$restQuery = $this->db->get();
$restData = $restQuery->row();
$myArray = $this->session->userdata('logged_in_restaurant');
$businessType = $myArray['is_restaurant'];
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $this->lang->line('Dashboard');?></title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="shortcut icon" href="<?php echo base_url(); ?>assets/favicon.ico" />
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/font-awesome.css">
<!-- Theme style -->
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/timeslider.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/AdminLTE_b2c.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/customers.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/component.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/service-solutions.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/plugins/iCheck/all.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/plugins/timepicker/bootstrap-timepicker.min.css">
<!-- jQuery 2.1.4 --> <link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/jquery.datetimepicker.css">
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/jquery.datetimepicker.css"/>
<script src="<?php echo base_url(); ?>assets/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="<?php echo base_url(); ?>assets/plugins/iCheck/icheck.min.js"></script>
<!-- sweet alert -->
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/sweetalert.css">
<script src="<?php echo base_url(); ?>assets/js/sweetalert-dev.js"></script>
<style type="text/css">
.main-header .logo{
overflow: visible;
}
.logo-lg
{
position: relative;
}
.sidebar { margin-top: 62px;}
.layershadow{position: absolute;
left: 0px;
top: 5px;
background: white;
border-bottom-left-radius: 10%;
border-bottom-right-radius: 10%;
width: 0;
height: 0;
padding: 0;
box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.57);
}
.pnglogo {
position: relative;
padding: 8px;
width: auto !important;
height: 60px;
margin-top: 0px;
}
.content-wrapper{padding-top: 18px;}
.admin_image {
width: 210px;
height: 191px;
z-index: 99;
top: 5px;
left: 5px;
right: 0px;
position: absolute;
opacity: 0;
cursor: pointer;
}
.admin_image_wrap img {
border-radius: 50%;
}
</style>
</head>
<?php
$ci = &get_instance();
if($ci->session->userdata('user_language'))
{
$language = $ci->session->userdata('user_language');
}
else
{
$language = 'english';
}
$data['user_language'] = $language;
$this->lang->load('restaurantAdmin', $language);
// if (!$this->session->userdata('staging_logged_in')) {
// redirect('staginglogin');
// }
?>
<body class="hold-transition skin-blue sidebar-mini" id="serviceSolution">
<input type="hidden" id="myCsrf" name="<?php echo $this->security->get_csrf_token_name(); ?>" value="<?php echo $this->security->get_csrf_hash(); ?>" />
<script type="text/javascript">
var myCsrfHash = $('#myCsrf').attr('value');
</script>
<div id="myLoader" class="myLoader"></div>
<div class="wrapper new-wrapper">
<header class="main-header custom-header">
<!-- Logo -->
<?php
if ($businessType == 0) {
?>
<a href="<?php echo base_url(); ?>restaurantadmin/dashboardrestaurant" class="logo">
<?php
}
else {
?>
<a href="<?php echo base_url(); ?>restaurantadmin/updaterestaurant" class="logo">
<?php
}
?>
<span class="logo-lg">
<div class="layershadow">
<img src="<?php echo base_url(); ?>assets/logo-main.png" class="pnglogo">
</div>
</span>
</a>
<nav class="navbar navbar-static-top nav-color" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle sdr" data-toggle="offcanvas" role="button">
<img src="<?php echo base_url(); ?>assets/sidebar-toggle-light.png">
</a>
<ul class="nav navbar-nav mtml" id="cuisine">
<li class="dropdown notifications-menu" id="cusli1">
<!-- <a href="#" class="dropdown-toggle Headertitle" data-toggle="dropdown">
<i class="fa fa-map-marker"></i>
</a> -->
<!-- <ul class="dropdown-menu">
<li>
<ul class="menu">
<li style="border: 2px solid rgb(50, 197, 210);">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d317715.7233610493!2d-0.3824718209696381!3d51.52873355898736!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47d8a00baf21de75%3A0x52963a5addd52a99!2sLondon%2C+UK!5e0!3m2!1sen!2sin!4v1461235537412" width="100%" height="auto" frameborder="0" allowfullscreen></iframe>
</li>
</ul>
</li>
</ul> -->
</li>
<?php
$logged_in = $this->session->userdata('logged_in_restaurant');
$RestaurantName = $logged_in['username']
?>
<li class="dropdown notifications-menu" id="cusli">
<a href="#" style="" class="dropdown-toggle Headertitle" data-toggle="dropdown"><?php echo $RestaurantName; ?>
</a>
</li>
</ul>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu managemargin">
<ul class="nav navbar-nav">
<?php
if ($restData ->braintree_sub_merchant_status != 'active') {
$disabled = 'disabled title="'.$this->lang->line('baitreeDisable').'."';
}
else {
$disabled = '';
}
?>
<?php
if ($businessType == 0) {
?>
<li style="margin-top: 15px;" class="hide"><button <?=$disabled?> onclick="window.location='<?php echo base_url(); ?>restaurantadmin/createorder'" data-toggle="control-sidebar" class="btn-circle btn btn-outline btn-sm" style="padding: 6px 26px !important;font-size: 16px !important;background:#009415;border: 1px solid #009415;"><?php echo $this->lang->line('Create_Order');?></button></li>
<?php
}
?>
<li class="dropdown notifications-menu" style="display:none;">
<a href="#" class="dropdown-toggle pad21" data-toggle="dropdown">
<i class="fa fa-bell-o Ifont"></i>
<span class="label label-success"></span>
</a>
<!-- <ul class="dropdown-menu" id="notifications">
<li class="header">You have <span class="ftb">10 pending</span> orders</li>
<li>
<ul class="menu">
<li>
<a href="#">
<span class="flL col-md-10 custom-padding-0"><span class="btn btn-info pad26"><i class="fa fa-sign-language"></i></span> New order received.</span> <span class="time col-md-2 custom-padding-0">3 mins</span>
</a>
</li>
<li>
<a href="#">
<span class="flL col-md-10 custom-padding-0"><span class="btn btn-success pad26"><i class="fa fa-bell-o"></i></span> You have 10 pending orders</span> <span class="time col-md-2 custom-padding-0">10 mins</span>
</a>
</li>
</ul>
</li>
<li class="footer"><a href="#">View all</a></li>
</ul> -->
</li>
<li class="clearfix"></li>
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle padding15" data-toggle="dropdown">
<?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().'assets/img/login.png';
}
?>
<img style="width: 33px; height: 35px; border-radius: 50%;" src="<?php echo $admin_image; ?>" id="show_admin_image_header"> <i class="fa fa-angle-down" aria-hidden="true"></i>
</a>
<ul class="dropdown-menu">
<li>
<ul class="menu">
<li>
<a href="<?php echo base_url(); ?>restaurantadmin/changepassword" >
<span class="flL"><i class="fa fa-lock text-green"></i> <?php echo $this->lang->line('ChangePassword');?></span>
</a>
</li>
<li>
<a href="<?php echo base_url(); ?>restaurantadmin/logout">
<span class="flL"><i class="fa fa-sign-out text-red"></i> <?php echo $this->lang->line('LogOut');?></span>
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header