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"
|
|
|
|
href="<?php echo $base_url; ?>assets/images/favicon.ico">
|
|
|
|
|
|
|
|
<?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-06-12 18:31:16 +03:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="header">
|
|
|
|
<div id="header-logo">
|
|
|
|
<img src="<?php echo $base_url; ?>assets/images/logo.png">
|
|
|
|
<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-19 18:28:19 +02:00
|
|
|
title="<?php echo $this->lang->line('be_manage_appointment_record_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('be_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-19 18:28:19 +02:00
|
|
|
title="<?php echo $this->lang->line('be_manage_customers_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('be_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-19 18:28:19 +02:00
|
|
|
title="<?php echo $this->lang->line('be_manage_services_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('be_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-19 18:28:19 +02:00
|
|
|
title="<?php echo $this->lang->line('be_manage_users_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('be_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-19 18:28:19 +02:00
|
|
|
title="<?php echo $this->lang->line('be_settings_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('be_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-19 18:28:19 +02:00
|
|
|
title="<?php echo $this->lang->line('be_log_out_hint'); ?>">
|
|
|
|
<?php echo $this->lang->line('be_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;">
|
|
|
|
<img src="<?php echo $base_url; ?>assets/images/loading.gif" />
|
|
|
|
</div>
|