2013-06-12 18:31:16 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2013-07-15 10:32:19 +03:00
|
|
|
<title><?php echo $company_name; ?> | Easy!Appointments</title>
|
2013-06-12 18:31:16 +03:00
|
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
2013-06-29 00:54:12 +03:00
|
|
|
|
2013-06-12 18:31:16 +03:00
|
|
|
<link rel="icon" type="image/x-icon"
|
2015-01-15 00:15:27 +02:00
|
|
|
href="<?php echo $base_url; ?>assets/img/favicon.ico">
|
2013-06-12 18:31:16 +03:00
|
|
|
|
|
|
|
<?php
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
// INCLUDE CSS FILES
|
|
|
|
// ------------------------------------------------------------ ?>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/libs/bootstrap/bootstrap.css">
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/libs/bootstrap/bootstrap-responsive.css">
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/libs/jquery/jquery-ui.min.css">
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/libs/jquery/jquery.qtip.min.css">
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/backend.css">
|
2013-06-18 19:06:34 +03:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/general.css">
|
2013-10-10 19:50:33 +03:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
type="text/css"
|
|
|
|
href="<?php echo $base_url; ?>assets/css/libs/jquery/jquery.jscrollpane.css">
|
2013-06-12 18:31:16 +03:00
|
|
|
<?php
|
|
|
|
// ------------------------------------------------------------
|
|
|
|
// INCLUDE JAVASCRIPT FILES
|
|
|
|
// ------------------------------------------------------------ ?>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery.min.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery-ui.min.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery.qtip.min.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/bootstrap/bootstrap.min.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/date.js"></script>
|
2013-10-10 19:50:33 +03:00
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery.jscrollpane.min.js"></script>
|
|
|
|
<script
|
|
|
|
type="text/javascript"
|
|
|
|
src="<?php echo $base_url; ?>assets/js/libs/jquery/jquery.mousewheel.js"></script>
|
2013-12-23 18:55:42 +02:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
// 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>
|
2013-06-12 18:31:16 +03:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
|
|
|
<div id="header-logo">
|
2015-01-15 00:15:27 +02:00
|
|
|
<img src="<?php echo $base_url; ?>assets/img/logo.png">
|
2013-06-12 18:31:16 +03:00
|
|
|
<span><?php echo $company_name; ?></span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="header-menu">
|
|
|
|
<?php // CALENDAR MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
2013-09-26 19:06:57 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_APPOINTMENTS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
2013-10-10 19:50:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_APPOINTMENTS) ? 'active' : ''; ?>
|
2013-10-17 18:31:43 +03:00
|
|
|
<a href="<?php echo $base_url; ?>backend" class="menu-item <?php echo $hidden; ?><?php echo $active; ?>"
|
2013-12-20 19:44:44 +02:00
|
|
|
title="<?php echo $this->lang->line('manage_appointment_record_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('calendar'); ?>
|
2013-06-12 18:31:16 +03:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<?php // CUSTOMERS MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
2013-09-26 19:06:57 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_CUSTOMERS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
2013-10-10 19:50:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_CUSTOMERS) ? 'active' : ''; ?>
|
2013-10-17 18:31:43 +03:00
|
|
|
<a href="<?php echo $base_url; ?>backend/customers" class="menu-item <?php echo $hidden; ?><?php echo $active; ?>"
|
2013-12-20 19:44:44 +02:00
|
|
|
title="<?php echo $this->lang->line('manage_customers_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('customers'); ?>
|
2013-06-12 18:31:16 +03:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<?php // SERVICES MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
2013-09-26 19:06:57 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'hidden'; ?>
|
2013-10-10 19:50:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : ''; ?>
|
2013-10-17 18:31:43 +03:00
|
|
|
<a href="<?php echo $base_url; ?>backend/services" class="menu-item <?php echo $hidden; ?><?php echo $active; ?>"
|
2013-12-20 19:44:44 +02:00
|
|
|
title="<?php echo $this->lang->line('manage_services_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('services'); ?>
|
2013-06-12 18:31:16 +03:00
|
|
|
</a>
|
|
|
|
|
2013-09-26 19:06:57 +03:00
|
|
|
<?php // USERS MENU ITEM
|
2013-06-12 18:31:16 +03:00
|
|
|
// ------------------------------------------------------ ?>
|
2013-09-26 19:06:57 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
2013-10-10 19:50:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_USERS) ? 'active' : ''; ?>
|
2013-10-17 18:31:43 +03:00
|
|
|
<a href="<?php echo $base_url; ?>backend/users" class="menu-item <?php echo $hidden; ?><?php echo $active; ?>"
|
2013-12-20 19:44:44 +02:00
|
|
|
title="<?php echo $this->lang->line('manage_users_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('users'); ?>
|
2013-06-12 18:31:16 +03:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<?php // SETTINGS MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
2013-09-26 19:06:57 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE
|
|
|
|
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'hidden'; ?>
|
2013-10-10 19:50:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_SYSTEM_SETTINGS) ? 'active' : ''; ?>
|
2013-10-17 18:31:43 +03:00
|
|
|
<a href="<?php echo $base_url; ?>backend/settings" class="menu-item <?php echo $hidden; ?><?php echo $active; ?>"
|
2013-12-20 19:44:44 +02:00
|
|
|
title="<?php echo $this->lang->line('settings_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('settings'); ?>
|
2013-06-12 18:31:16 +03:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<?php // LOGOUT MENU ITEM
|
|
|
|
// ------------------------------------------------------ ?>
|
2013-10-18 17:56:12 +03:00
|
|
|
<a href="<?php echo $base_url; ?>user/logout" class="menu-item"
|
2013-12-20 19:44:44 +02:00
|
|
|
title="<?php echo $this->lang->line('log_out_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('log_out'); ?>
|
2013-06-12 18:31:16 +03:00
|
|
|
</a>
|
|
|
|
|
|
|
|
</div>
|
2013-06-18 19:06:34 +03:00
|
|
|
</div>
|
2013-06-28 17:23:17 +03:00
|
|
|
|
|
|
|
<div id="notification" style="display: none;"></div>
|
|
|
|
|
|
|
|
<div id="loading" style="display: none;">
|
2015-01-15 00:15:27 +02:00
|
|
|
<img src="<?php echo $base_url; ?>assets/img/loading.gif" />
|
2013-06-28 17:23:17 +03:00
|
|
|
</div>
|