2016-01-09 23:29:28 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<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
|
|
|
|
2020-09-30 14:32:42 +03:00
|
|
|
<title><?= isset($page_title) ? $page_title : lang('backend_section') ?> | Easy!Appointments</title>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2017-11-14 16:01:49 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-qtip/jquery.qtip.min.css') ?>">
|
2018-06-24 16:07:22 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/trumbowyg/ui/trumbowyg.min.css') ?>">
|
2020-05-04 12:33:35 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/select2/select2.min.css') ?>">
|
2017-11-14 16:01:49 +03:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/backend.css') ?>">
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-09-07 13:51:50 +03:00
|
|
|
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
|
|
|
|
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
|
|
|
|
|
|
|
|
<script>
|
|
|
|
// Global JavaScript Variables - Used in all backend pages.
|
|
|
|
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
|
|
|
|
var EALang = <?= json_encode($this->lang->language) ?>;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
|
2020-05-05 20:35:33 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
|
2017-11-14 16:01:49 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/ext/jquery-qtip/jquery.qtip.min.js') ?>"></script>
|
2020-10-20 16:03:48 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/moment/moment.min.js') ?>"></script>
|
|
|
|
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
|
2018-06-24 16:07:22 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/trumbowyg/trumbowyg.min.js') ?>"></script>
|
2020-05-04 12:33:35 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/select2/select2.min.js') ?>"></script>
|
2020-08-15 18:55:35 +03:00
|
|
|
<script src="<?= asset_url('assets/ext/fontawesome/js/all.min.js') ?>"></script>
|
2016-01-09 23:29:28 +02:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2020-05-05 20:35:33 +03:00
|
|
|
<nav id="header" class="navbar navbar-expand-md navbar-dark">
|
|
|
|
<div id="header-logo" class="navbar-brand">
|
|
|
|
<img src="<?= base_url('assets/img/logo.png') ?>">
|
2020-10-21 21:36:05 +03:00
|
|
|
<h6>EASY!APPOINTMENTS</h6>
|
2020-10-22 12:10:36 +03:00
|
|
|
<small>Open Source Appointment Scheduler</small>
|
2020-05-05 20:35:33 +03:00
|
|
|
</div>
|
2020-03-18 22:21:11 +03:00
|
|
|
|
2020-09-03 14:48:58 +03:00
|
|
|
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#header-menu">
|
2020-05-05 20:35:33 +03:00
|
|
|
<span class="sr-only">Toggle navigation</span>
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
2020-03-18 22:21:11 +03:00
|
|
|
|
2020-05-05 20:35:33 +03:00
|
|
|
<div id="header-menu" class="collapse navbar-collapse flex-row-reverse">
|
|
|
|
<ul class="navbar-nav">
|
2020-06-18 21:37:11 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_APPOINTMENTS]['view'] == TRUE) ? '' : 'd-none' ?>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_APPOINTMENTS) ? 'active' : '' ?>
|
|
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
|
|
<a href="<?= site_url('backend') ?>" class="nav-link"
|
|
|
|
title="<?= lang('manage_appointment_record_hint') ?>">
|
2020-09-23 14:18:50 +03:00
|
|
|
<i class="far fa-calendar-alt mr-2"></i>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= lang('calendar') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-06-18 21:37:11 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_CUSTOMERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_CUSTOMERS) ? 'active' : '' ?>
|
|
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
|
|
<a href="<?= site_url('backend/customers') ?>" class="nav-link"
|
|
|
|
title="<?= lang('manage_customers_hint') ?>">
|
2020-09-23 14:18:50 +03:00
|
|
|
<i class="fas fa-user-friends mr-2"></i>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= lang('customers') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-06-18 21:37:11 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_SERVICES]['view'] == TRUE) ? '' : 'd-none' ?>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
|
|
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
|
|
<a href="<?= site_url('backend/services') ?>" class="nav-link"
|
|
|
|
title="<?= lang('manage_services_hint') ?>">
|
2020-09-23 14:18:50 +03:00
|
|
|
<i class="fas fa-business-time mr-2"></i>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= lang('services') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-06-18 21:37:11 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_USERS) ? 'active' : '' ?>
|
|
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
|
|
<a href="<?= site_url('backend/users') ?>" class="nav-link"
|
|
|
|
title="<?= lang('manage_users_hint') ?>">
|
2020-09-23 14:18:50 +03:00
|
|
|
<i class="fas fa-users-cog mr-2"></i>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= lang('users') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-05-05 20:35:33 +03:00
|
|
|
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE
|
2020-06-18 21:37:11 +03:00
|
|
|
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?php $active = ($active_menu == PRIV_SYSTEM_SETTINGS) ? 'active' : '' ?>
|
|
|
|
<li class="nav-item <?= $active . $hidden ?>">
|
|
|
|
<a href="<?= site_url('backend/settings') ?>" class="nav-link"
|
|
|
|
title="<?= lang('settings_hint') ?>">
|
2020-09-23 14:18:50 +03:00
|
|
|
<i class="fas fa-cogs mr-2"></i>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= lang('settings') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
2016-01-09 23:29:28 +02:00
|
|
|
|
2020-05-05 20:35:33 +03:00
|
|
|
<li class="nav-item">
|
|
|
|
<a href="<?= site_url('user/logout') ?>" class="nav-link"
|
|
|
|
title="<?= lang('log_out_hint') ?>">
|
2020-09-23 14:18:50 +03:00
|
|
|
<i class="fas fa-sign-out-alt mr-2"></i>
|
2020-05-05 20:35:33 +03:00
|
|
|
<?= lang('log_out') ?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
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-11-16 01:35:11 +03:00
|
|
|
<div class="any-element animation is-loading">
|
2017-11-16 01:20:04 +03:00
|
|
|
|
|
|
|
</div>
|
2016-01-09 23:29:28 +02:00
|
|
|
</div>
|