1013 lines
43 KiB
PHP
1013 lines
43 KiB
PHP
|
|
<?php
|
||
|
|
/* Smarty version 4.3.1, created on 2025-09-17 17:01:12
|
||
|
|
from '/var/www/html/yatmack/ui/ui/sections/header.tpl' */
|
||
|
|
|
||
|
|
/* @var Smarty_Internal_Template $_smarty_tpl */
|
||
|
|
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
|
||
|
|
'version' => '4.3.1',
|
||
|
|
'unifunc' => 'content_68cabf28e5e415_50547382',
|
||
|
|
'has_nocache_code' => false,
|
||
|
|
'file_dependency' =>
|
||
|
|
array (
|
||
|
|
'201e26bc65c44cfa78a421ed22efe33068dd5cd0' =>
|
||
|
|
array (
|
||
|
|
0 => '/var/www/html/yatmack/ui/ui/sections/header.tpl',
|
||
|
|
1 => 1758108402,
|
||
|
|
2 => 'file',
|
||
|
|
),
|
||
|
|
),
|
||
|
|
'includes' =>
|
||
|
|
array (
|
||
|
|
),
|
||
|
|
),false)) {
|
||
|
|
function content_68cabf28e5e415_50547382 (Smarty_Internal_Template $_smarty_tpl) {
|
||
|
|
?><!DOCTYPE html>
|
||
|
|
<html lang="en">
|
||
|
|
|
||
|
|
<head>
|
||
|
|
<meta charset="utf-8">
|
||
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
|
||
|
|
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
|
||
|
|
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
|
||
|
|
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png">
|
||
|
|
<link rel="icon" type="image/png" sizes="64x64" href="favicon-64x64.png">
|
||
|
|
<link rel="icon" type="image/svg+xml" href="favicon.svg">
|
||
|
|
<title><?php echo $_smarty_tpl->tpl_vars['_title']->value;?>
|
||
|
|
- <?php echo $_smarty_tpl->tpl_vars['_c']->value['CompanyName'];?>
|
||
|
|
</title>
|
||
|
|
<link rel="stylesheet" href="ui/ui/assets/vendor/chartist/css/chartist.min.css">
|
||
|
|
<link href="ui/ui/assets/vendor/bootstrap-select/dist/css/bootstrap-select.min.css" rel="stylesheet">
|
||
|
|
<link href="ui/ui/assets/css/style.css" rel="stylesheet">
|
||
|
|
<link rel="stylesheet" href="ui/ui/fonts/ionicons/css/ionicons.min.css">
|
||
|
|
<link rel="stylesheet" href="ui/ui/fonts/font-awesome/css/font-awesome.min.css">
|
||
|
|
<link rel="stylesheet" href="ui/ui/styles/select2.min.css" />
|
||
|
|
<link rel="stylesheet" href="ui/ui/styles/select2-bootstrap.min.css" />
|
||
|
|
<link rel="stylesheet" href="ui/ui/styles/sweetalert2.min.css" />
|
||
|
|
<link rel="stylesheet" href="ui/ui/styles/plugins/pace.css" />
|
||
|
|
<?php echo '<script'; ?>
|
||
|
|
src="ui/ui/scripts/sweetalert2.all.min.js"><?php echo '</script'; ?>
|
||
|
|
>
|
||
|
|
|
||
|
|
<style>
|
||
|
|
::-moz-selection {
|
||
|
|
Code for Firefox
|
||
|
|
color: red;
|
||
|
|
background: yellow;
|
||
|
|
}
|
||
|
|
|
||
|
|
::selection {
|
||
|
|
color: red;
|
||
|
|
background: yellow;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select2-container .select2-selection--single .select2-selection__rendered {
|
||
|
|
margin-top: 0px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Fix select2 conflicts with Bootstrap form styling */
|
||
|
|
.select2-container--bootstrap .select2-selection--single {
|
||
|
|
height: 52px !important;
|
||
|
|
line-height: 1.42857143 !important;
|
||
|
|
padding: 6px 24px 6px 12px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
|
||
|
|
color: #555 !important;
|
||
|
|
padding: 0 !important;
|
||
|
|
line-height: 40px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
|
||
|
|
position: absolute !important;
|
||
|
|
bottom: 0 !important;
|
||
|
|
right: 12px !important;
|
||
|
|
top: 0 !important;
|
||
|
|
width: 4px !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
|
||
|
|
border-color: #999 transparent transparent !important;
|
||
|
|
border-style: solid !important;
|
||
|
|
border-width: 4px 4px 0 !important;
|
||
|
|
height: 0 !important;
|
||
|
|
left: 0 !important;
|
||
|
|
margin-left: -4px !important;
|
||
|
|
margin-top: -2px !important;
|
||
|
|
position: absolute !important;
|
||
|
|
top: 50% !important;
|
||
|
|
width: 0 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Ensure proper z-index for dropdowns */
|
||
|
|
.select2-dropdown {
|
||
|
|
z-index: 9999 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
.select2-container {
|
||
|
|
z-index: 1000 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Fix form-select conflicts */
|
||
|
|
.form-select.select2-hidden-accessible {
|
||
|
|
position: absolute !important;
|
||
|
|
width: 1px !important;
|
||
|
|
height: 1px !important;
|
||
|
|
padding: 0 !important;
|
||
|
|
margin: -1px !important;
|
||
|
|
overflow: hidden !important;
|
||
|
|
clip: rect(0, 0, 0, 0) !important;
|
||
|
|
white-space: nowrap !important;
|
||
|
|
border: 0 !important;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (min-width: 768px) {
|
||
|
|
.outer {
|
||
|
|
height: 200px
|
||
|
|
/* Or whatever */
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
th:first-child,
|
||
|
|
td:first-child {
|
||
|
|
position: sticky;
|
||
|
|
left: 0px;
|
||
|
|
background-color: #f9f9f9;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
.text1line {
|
||
|
|
display: block;
|
||
|
|
/* or inline-block */
|
||
|
|
text-overflow: ellipsis;
|
||
|
|
word-wrap: break-word;
|
||
|
|
overflow: hidden;
|
||
|
|
max-height: 1em;
|
||
|
|
line-height: 1em;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
.loading {
|
||
|
|
pointer-events: none;
|
||
|
|
opacity: 0.7;
|
||
|
|
}
|
||
|
|
|
||
|
|
.loading::after {
|
||
|
|
content: "";
|
||
|
|
display: inline-block;
|
||
|
|
width: 16px;
|
||
|
|
height: 16px;
|
||
|
|
vertical-align: middle;
|
||
|
|
margin-left: 10px;
|
||
|
|
border: 2px solid #fff;
|
||
|
|
border-top-color: transparent;
|
||
|
|
border-radius: 50%;
|
||
|
|
animation: spin 0.8s infinite linear;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes spin {
|
||
|
|
0% {
|
||
|
|
transform: rotate(0deg);
|
||
|
|
}
|
||
|
|
|
||
|
|
100% {
|
||
|
|
transform: rotate(360deg);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/*
|
||
|
|
* maintenance top-bar
|
||
|
|
*/
|
||
|
|
|
||
|
|
.notification-top-bar {
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
height: 40px;
|
||
|
|
line-height: 40px;
|
||
|
|
width: 100%;
|
||
|
|
background: #ec2106;
|
||
|
|
text-align: center;
|
||
|
|
color: #FFFFFF;
|
||
|
|
font-family: serif;
|
||
|
|
font-weight: bolder;
|
||
|
|
font-size: 14px;
|
||
|
|
z-index: 9999;
|
||
|
|
box-sizing: border-box;
|
||
|
|
padding: 0 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.notification-top-bar p {
|
||
|
|
padding: 0;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.notification-top-bar p a {
|
||
|
|
padding: 5px 10px;
|
||
|
|
border-radius: 3px;
|
||
|
|
background: #FFF;
|
||
|
|
color: #1ABC9C;
|
||
|
|
font-weight: bold;
|
||
|
|
text-decoration: none;
|
||
|
|
display: inline;
|
||
|
|
font-size: inherit;
|
||
|
|
}
|
||
|
|
|
||
|
|
@media (max-width: 600px) {
|
||
|
|
.notification-top-bar {
|
||
|
|
font-size: 12px;
|
||
|
|
height: auto;
|
||
|
|
line-height: normal;
|
||
|
|
padding: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.notification-top-bar p a {
|
||
|
|
padding: 5px 10px;
|
||
|
|
margin: 5px 0;
|
||
|
|
font-size: 10px;
|
||
|
|
display: inline-block;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Professional Menu Group Styling */
|
||
|
|
.nav-label {
|
||
|
|
padding: 15px 20px 8px 20px;
|
||
|
|
font-size: 11px;
|
||
|
|
font-weight: 600;
|
||
|
|
text-transform: uppercase;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
color: #8b9dc3;
|
||
|
|
border-bottom: 1px solid #e8ecf4;
|
||
|
|
margin-bottom: 5px;
|
||
|
|
background: #f8f9fa;
|
||
|
|
}
|
||
|
|
|
||
|
|
.nav-label:first-child {
|
||
|
|
margin-top: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Recharge Modal Styles */
|
||
|
|
.recharge-progress {
|
||
|
|
margin-bottom: 2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.progress-steps {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
position: relative;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
position: relative;
|
||
|
|
z-index: 2;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-circle {
|
||
|
|
width: 40px;
|
||
|
|
height: 40px;
|
||
|
|
border-radius: 50%;
|
||
|
|
background-color: #e9ecef;
|
||
|
|
color: #6c757d;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
font-weight: bold;
|
||
|
|
font-size: 16px;
|
||
|
|
transition: all 0.3s ease;
|
||
|
|
border: 3px solid #e9ecef;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step.active .step-circle {
|
||
|
|
background-color: #007bff;
|
||
|
|
color: white;
|
||
|
|
border-color: #007bff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step.completed .step-circle {
|
||
|
|
background-color: #28a745;
|
||
|
|
color: white;
|
||
|
|
border-color: #28a745;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step.completed .step-circle::before {
|
||
|
|
content: "✓";
|
||
|
|
font-size: 18px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-label {
|
||
|
|
margin-top: 8px;
|
||
|
|
font-size: 12px;
|
||
|
|
font-weight: 500;
|
||
|
|
color: #6c757d;
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step.active .step-label {
|
||
|
|
color: #007bff;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step.completed .step-label {
|
||
|
|
color: #28a745;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-line {
|
||
|
|
position: absolute;
|
||
|
|
top: 20px;
|
||
|
|
left: 50%;
|
||
|
|
right: 50%;
|
||
|
|
height: 2px;
|
||
|
|
background-color: #e9ecef;
|
||
|
|
z-index: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step:first-child .step-line {
|
||
|
|
left: 60%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step:last-child .step-line {
|
||
|
|
right: 60%;
|
||
|
|
}
|
||
|
|
|
||
|
|
.recharge-step {
|
||
|
|
min-height: 300px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.customer-info, .plan-info {
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
padding: 15px;
|
||
|
|
border-radius: 8px;
|
||
|
|
border: 1px solid #e9ecef;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-item {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
padding: 8px 0;
|
||
|
|
border-bottom: 1px solid #e9ecef;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-item:last-child {
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.info-item strong {
|
||
|
|
color: #495057;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
.total-section {
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
padding: 20px;
|
||
|
|
border-radius: 8px;
|
||
|
|
border: 1px solid #e9ecef;
|
||
|
|
}
|
||
|
|
|
||
|
|
.cost-item {
|
||
|
|
display: flex;
|
||
|
|
justify-content: space-between;
|
||
|
|
align-items: center;
|
||
|
|
padding: 5px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.total-amount {
|
||
|
|
margin-top: 15px;
|
||
|
|
padding-top: 15px;
|
||
|
|
border-top: 2px solid #007bff;
|
||
|
|
font-size: 18px;
|
||
|
|
color: #007bff;
|
||
|
|
}
|
||
|
|
|
||
|
|
.processing-section {
|
||
|
|
padding: 40px 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.spinner-border {
|
||
|
|
width: 3rem;
|
||
|
|
height: 3rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
.invoice-section {
|
||
|
|
padding: 20px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.invoice-details {
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
padding: 20px;
|
||
|
|
border-radius: 8px;
|
||
|
|
border: 1px solid #e9ecef;
|
||
|
|
margin: 20px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.invoice-actions {
|
||
|
|
text-align: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.invoice-actions .btn {
|
||
|
|
margin: 0 5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-section {
|
||
|
|
padding: 20px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-lg {
|
||
|
|
max-width: 800px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header {
|
||
|
|
background-color: #007bff;
|
||
|
|
color: white;
|
||
|
|
border-bottom: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header .close {
|
||
|
|
color: white;
|
||
|
|
opacity: 0.8;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-header .close:hover {
|
||
|
|
opacity: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.modal-footer {
|
||
|
|
border-top: 1px solid #e9ecef;
|
||
|
|
background-color: #f8f9fa;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-check-inline {
|
||
|
|
margin-right: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-check-input {
|
||
|
|
margin-right: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.help-block {
|
||
|
|
font-size: 12px;
|
||
|
|
color: #6c757d;
|
||
|
|
margin-top: 5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.alert {
|
||
|
|
border-radius: 8px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.btn-xs {
|
||
|
|
padding: 0.25rem 0.5rem;
|
||
|
|
font-size: 0.75rem;
|
||
|
|
border-radius: 0.2rem;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Responsive adjustments */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
.modal-lg {
|
||
|
|
max-width: 95%;
|
||
|
|
margin: 10px auto;
|
||
|
|
}
|
||
|
|
|
||
|
|
.progress-steps {
|
||
|
|
flex-direction: column;
|
||
|
|
gap: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-line {
|
||
|
|
display: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step {
|
||
|
|
flex-direction: row;
|
||
|
|
width: 100%;
|
||
|
|
justify-content: flex-start;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-circle {
|
||
|
|
margin-right: 15px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.step-label {
|
||
|
|
margin-top: 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['xheader']->value))) {?>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['xheader']->value;?>
|
||
|
|
|
||
|
|
<?php }?>
|
||
|
|
</head>
|
||
|
|
|
||
|
|
<body>
|
||
|
|
<!--**********************************
|
||
|
|
Main wrapper start
|
||
|
|
***********************************-->
|
||
|
|
<div id="main-wrapper">
|
||
|
|
|
||
|
|
<!--**********************************
|
||
|
|
Nav header start
|
||
|
|
***********************************-->
|
||
|
|
<div class="nav-header">
|
||
|
|
<a href="#" class="brand-logo">
|
||
|
|
<i class="logo-abbr fa-brands fa-stumbleupon"></i>
|
||
|
|
<p class="brand-title" width="124px" height="33px" style="font-size: 30px;">Admin</p>
|
||
|
|
</a>
|
||
|
|
<div class="nav-control">
|
||
|
|
<div class="hamburger">
|
||
|
|
<span class="line"></span><span class="line"></span><span class="line"></span>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<!--**********************************
|
||
|
|
Nav header end
|
||
|
|
***********************************-->
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<!--**********************************
|
||
|
|
Header start
|
||
|
|
***********************************-->
|
||
|
|
<div class="header">
|
||
|
|
<div class="header-content">
|
||
|
|
<nav class="navbar navbar-expand">
|
||
|
|
<div class="collapse navbar-collapse justify-content-between">
|
||
|
|
<div class="header-left">
|
||
|
|
<div class="dashboard_bar">
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_title']->value;?>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<ul class="navbar-nav header-right">
|
||
|
|
<li class="nav-item">
|
||
|
|
<div class="input-group search-area d-lg-inline-flex d-none">
|
||
|
|
<div class="input-group-append">
|
||
|
|
<span class="input-group-text"><a href="javascript:void(0)"><i
|
||
|
|
class="flaticon-381-search-2"></i></a></span>
|
||
|
|
</div>
|
||
|
|
<input type="text" class="form-control" placeholder="Search here...">
|
||
|
|
</div>
|
||
|
|
</li>
|
||
|
|
<li class="nav-item dropdown header-profile">
|
||
|
|
<a class="nav-link" href="javascript:void(0);" role="button" data-bs-toggle="dropdown">
|
||
|
|
<img src="https://robohash.org/<?php echo $_smarty_tpl->tpl_vars['_admin']->value['id'];?>
|
||
|
|
?set=set3&size=100x100&bgset=bg1"
|
||
|
|
onerror="this.src='<?php echo $_smarty_tpl->tpl_vars['UPLOAD_PATH']->value;?>
|
||
|
|
/admin.default.png'" class="user-image"
|
||
|
|
alt="Avatar">
|
||
|
|
<div class="header-info">
|
||
|
|
<p>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_admin']->value['fullname'];?>
|
||
|
|
|
||
|
|
<small><?php echo Lang::T($_smarty_tpl->tpl_vars['_admin']->value['user_type']);?>
|
||
|
|
</small>
|
||
|
|
</p>
|
||
|
|
</div>
|
||
|
|
</a>
|
||
|
|
<div class="dropdown-menu dropdown-menu-end">
|
||
|
|
<a class="dropdown-item ai-icon" href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/change-password"><i class="fa fa-settings"></i>
|
||
|
|
<?php echo Lang::T('Change Password');?>
|
||
|
|
</a>
|
||
|
|
<a class="dropdown-item ai-icon" href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/users-view/<?php echo $_smarty_tpl->tpl_vars['_admin']->value['id'];?>
|
||
|
|
">
|
||
|
|
<i class="fa fa-person"></i> <?php echo Lang::T('My Account');?>
|
||
|
|
</a>
|
||
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
logout" class="dropdown-item ai-icon btn btn-primary btn-flat"><i
|
||
|
|
class="fa fa-power"></i> <?php echo Lang::T('Logout');?>
|
||
|
|
</a>
|
||
|
|
</div>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
</nav>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<!--**********************************
|
||
|
|
Header end ti-comment-alt
|
||
|
|
***********************************-->
|
||
|
|
|
||
|
|
<!--**********************************
|
||
|
|
Sidebar start
|
||
|
|
***********************************-->
|
||
|
|
<div class="deznav">
|
||
|
|
<div class="deznav-scroll dz-demo-content">
|
||
|
|
<ul class="metismenu" id="menu" data-widget="tree">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'dashboard') {?>class="active" <?php }?>>
|
||
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
dashboard">
|
||
|
|
<i class="flaticon-layout"></i> <span class="nav-text"><?php echo Lang::T('Dashboard');?>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_DASHBOARD']->value;?>
|
||
|
|
|
||
|
|
<?php if (!in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('Report'))) {?>
|
||
|
|
<!-- Client Management Section -->
|
||
|
|
<li class="nav-label"><?php echo Lang::T('Client Management');?>
|
||
|
|
</li>
|
||
|
|
<li class="<?php if (in_array($_smarty_tpl->tpl_vars['_system_menu']->value,array('customers','map'))) {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-user-2"></i> <span class="nav-text"><?php echo Lang::T('Clients');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'customers') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
customers"><?php echo Lang::T('All Clients');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'map') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
map/customer"><?php echo Lang::T('Clients Map');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_CUSTOMERS']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_CUSTOMERS']->value;?>
|
||
|
|
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'onlineusers') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="fa fa-signal"></i> <span class="nav-text"><?php echo Lang::T('Online Clients');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'hotspot') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
onlineusers/hotspot"><?php echo Lang::T('Hotspot Client');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'pppoe') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
plugin/pppoe"><?php echo Lang::T('Pppoe Clients');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_ONLINEUSERS']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'list') {?>class="active" <?php }?>>
|
||
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
plan/list">
|
||
|
|
<i class="flaticon-381-user-3"></i> <span class="nav-text"><?php echo Lang::T('Active Clients');?>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
</li>
|
||
|
|
<!-- End Client Management Section -->
|
||
|
|
<!-- Service Management Section -->
|
||
|
|
<li class="nav-label"><?php echo Lang::T('Service Management');?>
|
||
|
|
</li>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'plan') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-layer"></i> <span class="nav-text"><?php echo Lang::T('Services');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<?php if ($_smarty_tpl->tpl_vars['_c']->value['disable_voucher'] != 'yes') {?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'voucher') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
plan/voucher"><?php echo Lang::T('Vouchers');?>
|
||
|
|
</a></li>
|
||
|
|
<?php }?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'recharge') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
plan/recharge"><?php echo Lang::T('Recharge Client');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_SERVICES']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php }?>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_SERVICES']->value;?>
|
||
|
|
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin'))) {?>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'services') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-network-3"></i> <span class="nav-text"><?php echo Lang::T('Internet Plan');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'hotspot') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
services/hotspot"><?php echo Lang::T('Hotspot');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'pppoe') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
services/pppoe"><?php echo Lang::T('PPPOE');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'list') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
bandwidth/list"><?php echo Lang::T('Bandwidth');?>
|
||
|
|
</a></li>
|
||
|
|
<?php if ($_smarty_tpl->tpl_vars['_c']->value['enable_balance'] == 'yes') {?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'balance') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
services/balance"><?php echo Lang::T('Balance');?>
|
||
|
|
</a></li>
|
||
|
|
<?php }?>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_PLANS']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php }?>
|
||
|
|
<!-- End Service Management Section -->
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_PLANS']->value;?>
|
||
|
|
|
||
|
|
<!-- Communication Section -->
|
||
|
|
<li class="nav-label"><?php echo Lang::T('Communication');?>
|
||
|
|
</li>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'message') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-send-1"></i> <span class="nav-text"><?php echo Lang::T('Send Message');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'send') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
message/send"><?php echo Lang::T('Single Customer');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'send_bulk') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
message/send_bulk"><?php echo Lang::T('Bulk Customers');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'messages') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
messages"><?php echo Lang::T('Sent Messages');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_MESSAGE']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_MESSAGE']->value;?>
|
||
|
|
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin'))) {?>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'pages') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-folder"></i> <span class="nav-text"><?php echo Lang::T("Announcement");?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<!--<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Order_Voucher') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Order_Voucher"><?php echo Lang::T('Order Voucher');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Voucher') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Voucher"><?php echo Lang::T('Voucher');?>
|
||
|
|
Template</a></li>-->
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Announcement') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Announcement"><?php echo Lang::T('Announcement');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Announcement_Customer') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Announcement_Customer"><?php echo Lang::T('Customer Announcement');?>
|
||
|
|
</a>
|
||
|
|
</li>
|
||
|
|
<!--<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Registratfa_Info') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Registration_Info"><?php echo Lang::T('Registration Info');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Privacy_Policy') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Privacy_Policy"><?php echo Lang::T('Privacy Policy');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'Terms_and_Conditions') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pages/Terms_and_Conditions"><?php echo Lang::T('Terms and Conditions');?>
|
||
|
|
</a></li>-->
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_PAGES']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php }?>
|
||
|
|
<!-- Financial & Reports Section -->
|
||
|
|
<li class="nav-label"><?php echo Lang::T('Financial & Reports');?>
|
||
|
|
</li>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'reports') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-bookmark"></i> <span class="nav-text"><?php echo Lang::T('Reports');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'daily-report') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
reports/daily-report"><?php echo Lang::T('Daily Reports');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'by-period') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
reports/by-period"><?php echo Lang::T('Period Reports');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'activation') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
reports/activation"><?php echo Lang::T('Activation History');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_REPORTS']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_REPORTS']->value;?>
|
||
|
|
|
||
|
|
<!-- End Financial & Reports Section -->
|
||
|
|
<!-- End Communication Section -->
|
||
|
|
<!-- System Administration Section -->
|
||
|
|
<li class="nav-label"><?php echo Lang::T('System Administration');?>
|
||
|
|
</li>
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin'))) {?>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'network') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-internet"></i> <span class="nav-text"><?php echo Lang::T('Network');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[0] == 'routers' && $_smarty_tpl->tpl_vars['_routes']->value[1] == 'list') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
routers/list"><?php echo Lang::T('Routers');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[0] == 'pool' && $_smarty_tpl->tpl_vars['_routes']->value[1] == 'list') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
pool/list"><?php echo Lang::T('IP Pool');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_NETWORK']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_NETWORKS']->value;?>
|
||
|
|
|
||
|
|
<?php if ($_smarty_tpl->tpl_vars['_c']->value['radius_enable']) {?>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'radius') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-network"></i> <span class="nav-text"><?php echo Lang::T('Radius');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[0] == 'radius' && $_smarty_tpl->tpl_vars['_routes']->value[1] == 'nas-list') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
radius/nas-list"><?php echo Lang::T('Radius NAS');?>
|
||
|
|
</a></li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_RADIUS']->value;?>
|
||
|
|
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php }?>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_RADIUS']->value;?>
|
||
|
|
|
||
|
|
<?php }?>
|
||
|
|
<li
|
||
|
|
class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'settings' || $_smarty_tpl->tpl_vars['_system_menu']->value == 'paymentgateway') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-settings-1"></i> <span class="nav-text"><?php echo Lang::T('Settings');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin'))) {?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'app') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/app"><?php echo Lang::T('General Settings');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'localisation') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/localisation"><?php echo Lang::T('Localisation');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'maintenance') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/maintenance"><?php echo Lang::T('Maintenance Mode');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'notifications') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/notifications"><?php echo Lang::T('Messages Settings');?>
|
||
|
|
</a></li>
|
||
|
|
<?php }?>
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin','Agent'))) {?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'users') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/users"><?php echo Lang::T('Admin Users');?>
|
||
|
|
</a></li>
|
||
|
|
<?php }?>
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin'))) {?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'dbstatus') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/dbstatus"><?php echo Lang::T('Backup/Restore');?>
|
||
|
|
</a></li>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'paymentgateway') {?>class="active" <?php }?>>
|
||
|
|
<a href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
paymentgateway">
|
||
|
|
<span class="text"><?php echo Lang::T('Payment Setup');?>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_SETTINGS']->value;?>
|
||
|
|
|
||
|
|
<?php }?>
|
||
|
|
</ul>
|
||
|
|
</li>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_SETTINGS']->value;?>
|
||
|
|
|
||
|
|
<?php if (in_array($_smarty_tpl->tpl_vars['_admin']->value['user_type'],array('SuperAdmin','Admin'))) {?>
|
||
|
|
<li class="<?php if ($_smarty_tpl->tpl_vars['_system_menu']->value == 'logs') {?>active<?php }?> treeview">
|
||
|
|
<a href="#">
|
||
|
|
<i class="flaticon-381-clock"></i> <span class="nav-text"><?php echo Lang::T('Logs');?>
|
||
|
|
</span>
|
||
|
|
<span class="pull-right-container">
|
||
|
|
<i class="fa fa-angle-down pull-right"></i>
|
||
|
|
</span>
|
||
|
|
</a>
|
||
|
|
<ul class="treeview-menu">
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'list') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
logs/YATMACK">YATMACK</a></li>
|
||
|
|
<?php if ($_smarty_tpl->tpl_vars['_c']->value['radius_enable']) {?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'radius') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
logs/radius">Radius</a>
|
||
|
|
</li>
|
||
|
|
<?php }?>
|
||
|
|
<li <?php if ($_smarty_tpl->tpl_vars['_routes']->value[1] == 'cron') {?>class="active" <?php }?>><a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
logs/cron"><?php echo Lang::T('Cron Jobs');?>
|
||
|
|
</a></li>
|
||
|
|
</ul>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_LOGS']->value;?>
|
||
|
|
|
||
|
|
</li>
|
||
|
|
<?php }?>
|
||
|
|
<?php echo $_smarty_tpl->tpl_vars['_MENU_AFTER_LOGS']->value;?>
|
||
|
|
|
||
|
|
<!-- End System Administration Section -->
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<!--**********************************
|
||
|
|
Sidebar end
|
||
|
|
***********************************-->
|
||
|
|
<?php if ($_smarty_tpl->tpl_vars['_c']->value['maintenance_mode'] == 1) {?>
|
||
|
|
<div class="notification-top-bar">
|
||
|
|
<p><?php echo Lang::T('The website is currently in maintenance mode, this means that some or all functionality may be
|
||
|
|
unavailable to regular users during this time.');?>
|
||
|
|
<small> <a
|
||
|
|
href="<?php echo $_smarty_tpl->tpl_vars['_url']->value;?>
|
||
|
|
settings/maintenance"><?php echo Lang::T('Turn Off');?>
|
||
|
|
</a></small></p>
|
||
|
|
</div>
|
||
|
|
<?php }?>
|
||
|
|
<!--**********************************
|
||
|
|
Content body start
|
||
|
|
***********************************-->
|
||
|
|
<div class="content-body">
|
||
|
|
<?php if ((isset($_smarty_tpl->tpl_vars['notify']->value))) {?>
|
||
|
|
<?php echo '<script'; ?>
|
||
|
|
>
|
||
|
|
// Display SweetAlert toast notification
|
||
|
|
Swal.fire({
|
||
|
|
icon: '<?php if ($_smarty_tpl->tpl_vars['notify_t']->value == "s") {?>success<?php } else { ?>error<?php }?>',
|
||
|
|
title: '<?php echo $_smarty_tpl->tpl_vars['notify']->value;?>
|
||
|
|
',
|
||
|
|
toast: true,
|
||
|
|
position: 'top-end',
|
||
|
|
showConfirmButton: false,
|
||
|
|
timer: 5000,
|
||
|
|
timerProgressBar: true,
|
||
|
|
didOpen: (toast) => {
|
||
|
|
toast.addEventListener('mouseenter', Swal.stopTimer)
|
||
|
|
toast.addEventListener('mouseleave', Swal.resumeTimer)
|
||
|
|
}
|
||
|
|
});
|
||
|
|
<?php echo '</script'; ?>
|
||
|
|
>
|
||
|
|
<?php }
|
||
|
|
}
|
||
|
|
}
|