2016-01-09 23:29:28 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title><?php echo $company_name; ?> | Easy!Appointments</title>
|
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
2016-07-12 23:02:59 +03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<link rel="icon" type="image/x-icon" href="<?php echo base_url('/assets/img/favicon.ico'); ?>">
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/bootstrap/css/bootstrap.min.css'); ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui.min.css'); ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-qtip/jquery.qtip.min.css'); ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-jscrollpane/jquery.jscrollpane.css'); ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/css/backend.css'); ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/css/general.css'); ?>">
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<script src="<?php echo base_url('/assets/ext/jquery/jquery.min.js'); ?>"></script>
|
|
|
|
<script src="<?php echo base_url('/assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
|
|
|
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui.min.js'); ?>"></script>
|
|
|
|
<script src="<?php echo base_url('/assets/ext/jquery-qtip/jquery.qtip.min.js'); ?>"></script>
|
|
|
|
<script src="<?php echo base_url('/assets/ext/datejs/date.js'); ?>"></script>
|
|
|
|
<script src="<?php echo base_url('/assets/ext/jquery-jscrollpane/jquery.jscrollpane.min.js'); ?>"></script>
|
|
|
|
<script src="<?php echo base_url('/assets/ext/jquery-mousewheel/jquery.mousewheel.js'); ?>"></script>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-09-05 15:58:34 +03:00
|
|
|
<script>
|
2016-01-09 23:29:28 +02:00
|
|
|
// Global JavaScript Variables - Used in all backend pages.
|
|
|
|
var availableLanguages = <?php echo json_encode($this->config->item('available_languages')); ?>;
|
|
|
|
var EALang = <?php echo json_encode($this->lang->language); ?>;
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2016-07-12 22:27:54 +03:00
|
|
|
<nav id="header" class="navbar">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="navbar-header">
|
2016-07-13 23:56:05 +03:00
|
|
|
<div id="header-logo" class="navbar-brand">
|
2017-09-05 15:58:34 +03:00
|
|
|
<img src="<?php echo basel_url('/assets/img/logo.png'); ?>">
|
2016-07-13 23:56:05 +03:00
|
|
|
<span><?php echo $company_name; ?></span>
|
|
|
|
</div>
|
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#header-menu"
|
|
|
|
aria-expanded="false" aria-controls="navbar">
|
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<div id="header-menu" class="collapse navbar-collapse">
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<?php // CALENDAR MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
|
|
|
<?php $hidden = ($privileges[PRIV_APPOINTMENTS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
|
|
|
<?php $active = ($active_menu == PRIV_APPOINTMENTS) ? 'active' : ''; ?>
|
|
|
|
<li class="<?php echo $active . $hidden; ?>">
|
|
|
|
<a href="<?php echo site_url('backend'); ?>" class="menu-item"
|
2017-09-08 15:06:37 +03:00
|
|
|
title="<?php echo lang('manage_appointment_record_hint'); ?>">
|
|
|
|
<?php echo lang('calendar'); ?>
|
2016-07-12 22:27:54 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<?php // CUSTOMERS MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
|
|
|
<?php $hidden = ($privileges[PRIV_CUSTOMERS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
|
|
|
<?php $active = ($active_menu == PRIV_CUSTOMERS) ? 'active' : ''; ?>
|
|
|
|
<li class="<?php echo $active . $hidden; ?>">
|
|
|
|
<a href="<?php echo site_url('backend/customers'); ?>" class="menu-item"
|
2017-09-08 15:06:37 +03:00
|
|
|
title="<?php echo lang('manage_customers_hint'); ?>">
|
|
|
|
<?php echo lang('customers'); ?>
|
2016-07-12 22:27:54 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<?php // SERVICES MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
|
|
|
<?php $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'hidden'; ?>
|
|
|
|
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : ''; ?>
|
|
|
|
<li class="<?php echo $active . $hidden; ?>">
|
|
|
|
<a href="<?php echo site_url('backend/services'); ?>" class="menu-item"
|
2017-09-08 15:06:37 +03:00
|
|
|
title="<?php echo lang('manage_services_hint'); ?>">
|
|
|
|
<?php echo lang('services'); ?>
|
2016-07-12 22:27:54 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<?php // USERS MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
|
|
|
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
|
|
|
<?php $active = ($active_menu == PRIV_USERS) ? 'active' : ''; ?>
|
|
|
|
<li class="<?php echo $active . $hidden; ?>">
|
|
|
|
<a href="<?php echo site_url('backend/users'); ?>" class="menu-item"
|
2017-09-08 15:06:37 +03:00
|
|
|
title="<?php echo lang('manage_users_hint'); ?>">
|
|
|
|
<?php echo lang('users'); ?>
|
2016-07-12 22:27:54 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<?php // SETTINGS MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
|
|
|
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE
|
|
|
|
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
|
|
|
<?php $active = ($active_menu == PRIV_SYSTEM_SETTINGS) ? 'active' : ''; ?>
|
|
|
|
<li class="<?php echo $active . $hidden; ?>">
|
|
|
|
<a href="<?php echo site_url('backend/settings'); ?>" class="menu-item"
|
2017-09-08 15:06:37 +03:00
|
|
|
title="<?php echo lang('settings_hint'); ?>">
|
|
|
|
<?php echo lang('settings'); ?>
|
2016-07-12 22:27:54 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2016-07-12 22:27:54 +03:00
|
|
|
<?php // LOGOUT MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
|
|
|
<li>
|
|
|
|
<a href="<?php echo site_url('user/logout') ?>" class="menu-item"
|
2017-09-08 15:06:37 +03:00
|
|
|
title="<?php echo lang('log_out_hint'); ?>">
|
|
|
|
<?php echo lang('log_out'); ?>
|
2016-07-12 22:27:54 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2016-01-09 23:29:28 +02:00
|
|
|
</div>
|
2016-07-12 22:27:54 +03:00
|
|
|
</nav>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
|
|
|
<div id="notification" style="display: none;"></div>
|
|
|
|
|
|
|
|
<div id="loading" style="display: none;">
|
2017-09-05 15:58:34 +03:00
|
|
|
<img src="<?php echo base_url('/assets/img/loading.gif"'); ?>>
|
2016-01-09 23:29:28 +02:00
|
|
|
</div>
|