change folder ui/ui/user-ui to ui/ui/customer

This commit is contained in:
Ibnu Maksum 2024-10-10 10:19:01 +07:00
parent 8f78f5184e
commit ba63face92
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5
45 changed files with 1272 additions and 1266 deletions

View File

@ -129,7 +129,7 @@ try {
$e->getTraceAsString()
);
if (!Admin::getID()) {
$ui->display('user-ui/error.tpl'); die();
$ui->display('customer/error.tpl'); die();
}
$ui->assign("error_message", $e->getMessage() . '<br><pre>' . $e->getTraceAsString() . '</pre>');
$ui->assign("error_title", "PHPNuxBill Crash");
@ -142,7 +142,7 @@ try {
$e->getTraceAsString()
);
if (!Admin::getID()) {
$ui->display('user-ui/error.tpl'); die();
$ui->display('customer/error.tpl'); die();
}
$ui->assign("error_message", $e->getMessage() . '<br><pre>' . $e->getTraceAsString() . '</pre>');
$ui->assign("error_title", "PHPNuxBill Crash");

View File

@ -18,7 +18,7 @@ switch ($action) {
case 'change-password':
run_hook('customer_view_change_password'); #HOOK
$ui->display('user-ui/change-password.tpl');
$ui->display('customer/change-password.tpl');
break;
case 'change-password-post':
@ -67,7 +67,7 @@ switch ($action) {
case 'profile':
run_hook('customer_view_edit_profile'); #HOOK
$ui->display('user-ui/profile.tpl');
$ui->display('customer/profile.tpl');
break;
case 'edit-profile-post':
$fullname = _post('fullname');
@ -101,7 +101,7 @@ switch ($action) {
case 'phone-update':
$ui->assign('new_phone', $_SESSION['new_phone']);
$ui->display('user-ui/phone-update.tpl');
$ui->display('customer/phone-update.tpl');
break;
case 'phone-update-otp':
@ -211,7 +211,7 @@ switch ($action) {
case 'email-update':
$ui->assign('new_email', $_SESSION['new_email']);
$ui->display('user-ui/email-update.tpl');
$ui->display('customer/email-update.tpl');
break;
case 'email-update-otp':
$email = trim(_post('email'));

View File

@ -166,4 +166,4 @@ foreach ($fs as $file) {
$ui->assign('step', $step);
$ui->assign('_title', Lang::T('Forgot Password'));
$ui->display('user-ui/forgot.tpl');
$ui->display('customer/forgot.tpl');

View File

@ -336,4 +336,4 @@ $abills = User::getAttributes("Bill");
$ui->assign('abills', $abills);
run_hook('view_customer_dashboard'); #HOOK
$ui->display('user-ui/dashboard.tpl');
$ui->display('customer/dashboard.tpl');

View File

@ -292,10 +292,10 @@ switch ($do) {
if ($config['disable_registration'] == 'yes') {
$ui->assign('_title', Lang::T('Activation'));
$ui->assign('code', alphanumeric(_get('code'), "-"));
$ui->display('user-ui/login-noreg.tpl');
$ui->display('customer/login-noreg.tpl');
} else {
$ui->assign('_title', Lang::T('Login'));
$ui->display('user-ui/login.tpl');
$ui->display('customer/login.tpl');
}
break;
}

View File

@ -29,7 +29,7 @@ switch ($action) {
$ui->assign('tipe', 'view');
$ui->assign('_system_menu', 'inbox');
$ui->assign('_title', Lang::T('Inbox'));
$ui->display('user-ui/inbox.tpl');
$ui->display('customer/inbox.tpl');
break;
case 'delete':
if($routes['2']){
@ -57,5 +57,5 @@ switch ($action) {
$ui->assign('mails', $mails);
$ui->assign('_system_menu', 'inbox');
$ui->assign('_title', Lang::T('Inbox'));
$ui->display('user-ui/inbox.tpl');
$ui->display('customer/inbox.tpl');
}

View File

@ -16,6 +16,6 @@ if(file_exists(__DIR__."/../../pages/".str_replace(".","",$action).".html")){
$ui->assign("PageFile",$action);
$ui->assign("pageHeader",$action);
run_hook('customer_view_page'); #HOOK
$ui->display('user-ui/pages.tpl');
$ui->display('customer/pages.tpl');
}else
$ui->display('user-ui/404.tpl');
$ui->display('customer/404.tpl');

View File

@ -63,7 +63,7 @@ switch ($do) {
$ui->assign('notify', 'Wrong Verification code');
$ui->assign('notify_t', 'd');
$ui->assign('_title', Lang::T('Register'));
$ui->display('user-ui/register-otp.tpl');
$ui->display('customer/register-otp.tpl');
exit();
} else {
unlink($otpPath);
@ -98,7 +98,7 @@ switch ($do) {
$ui->assign('notify_t', 'd');
$ui->assign('_title', Lang::T('Register'));
run_hook('view_otp_register'); #HOOK
$ui->display('user-ui/register-rotp.tpl');
$ui->display('customer/register-rotp.tpl');
}
} else {
$ui->assign('username', $username);
@ -109,7 +109,7 @@ switch ($do) {
$ui->assign('notify', $msg);
$ui->assign('notify_t', 'd');
$ui->assign('_title', Lang::T('Register'));
$ui->display('user-ui/register.tpl');
$ui->display('customer/register.tpl');
}
break;
@ -132,7 +132,7 @@ switch ($do) {
$ui->assign('notify', 'Please wait ' . (600 - (time() - filemtime($otpPath))) . ' seconds before sending another SMS');
$ui->assign('notify_t', 'd');
$ui->assign('_title', Lang::T('Register'));
$ui->display('user-ui/register-otp.tpl');
$ui->display('customer/register-otp.tpl');
} else {
$otp = rand(100000, 999999);
file_put_contents($otpPath, $otp);
@ -141,12 +141,12 @@ switch ($do) {
$ui->assign('notify', 'Registration code has been sent to your phone');
$ui->assign('notify_t', 's');
$ui->assign('_title', Lang::T('Register'));
$ui->display('user-ui/register-otp.tpl');
$ui->display('customer/register-otp.tpl');
}
} else {
$ui->assign('_title', Lang::T('Register'));
run_hook('view_otp_register'); #HOOK
$ui->display('user-ui/register-rotp.tpl');
$ui->display('customer/register-rotp.tpl');
}
} else {
$ui->assign('username', "");
@ -156,7 +156,7 @@ switch ($do) {
$ui->assign('otp', false);
$ui->assign('_title', Lang::T('Register'));
run_hook('view_register'); #HOOK
$ui->display('user-ui/register.tpl');
$ui->display('customer/register.tpl');
}
break;
}

View File

@ -17,7 +17,7 @@ switch ($action) {
case 'activation':
run_hook('view_activate_voucher'); #HOOK
$ui->assign('code', alphanumeric(_get('code'), "-_.,"));
$ui->display('user-ui/activation.tpl');
$ui->display('customer/activation.tpl');
break;
case 'activation-post':
@ -46,7 +46,7 @@ switch ($action) {
$ui->assign('d', $d);
run_hook('customer_view_activation_list'); #HOOK
$ui->display('user-ui/activation-list.tpl');
$ui->display('customer/activation-list.tpl');
break;
case 'invoice':
@ -58,7 +58,7 @@ switch ($action) {
}
if ($in) {
Package::createInvoice($in);
$ui->display('user-ui/invoice-customer.tpl');
$ui->display('customer/invoice-customer.tpl');
} else {
r2(U . 'voucher/list-activated', 'e', Lang::T('Not Found'));
}

View File

@ -131,13 +131,7 @@ abstract class Smarty_Internal_TemplateBase extends Smarty_Internal_Data
public function display($template = null, $cache_id = null, $compile_id = null, $parent = null)
{
// display template
if(strpos($template, "user-ui") === false){
if(strpos($template, "section/user-") === false){
$template = str_replace("user-",'', $template);
}else{
$template = str_replace("section/user-",'user-ui/', $template);
}
}
$template = str_replace("section/user-",'customer/', $template);
$this->_execute($template, $cache_id, $compile_id, $parent, 1);
}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
<div class="page page-err clearfix">
@ -7,4 +7,4 @@
<p class="text-desc mb20">{Lang::T('Coming Soon! Next Version...')}</p>
</div>
</div>
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-activation-list -->
<div class="row">
@ -41,4 +41,4 @@
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-activation -->
<div class="row">
@ -38,4 +38,4 @@
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-change-password -->
<div class="row">
@ -40,4 +40,4 @@
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-dashboard -->
<div class="row">
@ -443,4 +443,4 @@
document.write('<meta http-equiv="refresh" target="_blank" content="' + authdly + '; url=' + auth + '">');
</script>
{/if}
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-phone-update -->
@ -76,4 +76,4 @@
</div>
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -0,0 +1,39 @@
</div>
<!-- Modal -->
<div class="modal fade" id="HTMLModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body" id="HTMLModal_konten"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">&times;</button>
</div>
</div>
</div>
</div>
{if $_c['tawkto'] != ''}
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {},
Tawk_LoadStart = new Date();
(function() {
var s1 = document.createElement("script"),
s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src='https://embed.tawk.to/{$_c['tawkto']}';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->
{/if}
<script src="ui/ui/scripts/vendors.js?v=1"></script>
</body>
</html>

168
ui/ui/customer/footer.tpl Normal file
View File

@ -0,0 +1,168 @@
</section>
</div>
{if isset($_c['CompanyFooter'])}
<footer class="main-footer">
{$_c['CompanyFooter']}
<div class="pull-right">
<a href="javascript:showPrivacy()">Privacy</a>
&bull;
<a href="javascript:showTaC()">T &amp; C</a>
</div>
</footer>
{else}
<footer class="main-footer">
PHPNuxBill by <a href="https://github.com/hotspotbilling/phpnuxbill" rel="nofollow noreferrer noopener"
target="_blank">iBNuX</a>, Theme by <a href="https://adminlte.io/" rel="nofollow noreferrer noopener"
target="_blank">AdminLTE</a>
<div class="pull-right">
<a href="javascript:showPrivacy()">Privacy</a>
&bull;
<a href="javascript:showTaC()">T &amp; C</a>
</div>
</footer>
{/if}
</div>
<!-- Modal -->
<div class="modal fade" id="HTMLModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body" id="HTMLModal_konten"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">&times;</button>
</div>
</div>
</div>
</div>
<script src="ui/ui/scripts/jquery.min.js"></script>
<script src="ui/ui/scripts/bootstrap.min.js"></script>
<script src="ui/ui/scripts/adminlte.min.js"></script>
<script src="ui/ui/scripts/plugins/select2.min.js"></script>
<script src="ui/ui/scripts/custom.js?v=2"></script>
{if isset($xfooter)}
{$xfooter}
{/if}
{if $_c['tawkto'] != ''}
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {},
Tawk_LoadStart = new Date();
(function() {
var s1 = document.createElement("script"),
s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src='https://embed.tawk.to/{$_c['tawkto']}';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->
{/if}
<script>
const toggleIcon = document.getElementById('toggleIcon');
const body = document.body;
const savedMode = localStorage.getItem('mode');
if (savedMode === 'dark') {
body.classList.add('dark-mode');
toggleIcon.textContent = '🌜';
}
function setMode(mode) {
if (mode === 'dark') {
body.classList.add('dark-mode');
toggleIcon.textContent = '🌜';
} else {
body.classList.remove('dark-mode');
toggleIcon.textContent = '🌞';
}
}
toggleIcon.addEventListener('click', () => {
if (body.classList.contains('dark-mode')) {
setMode('light');
localStorage.setItem('mode', 'light');
} else {
setMode('dark');
localStorage.setItem('mode', 'dark');
}
});
</script>
{literal}
<script>
var listAtts = document.querySelectorAll(`[api-get-text]`);
listAtts.forEach(function(el) {
$.get(el.getAttribute('api-get-text'), function(data) {
el.innerHTML = data;
});
});
$(document).ready(function() {
var listAtts = document.querySelectorAll(`button[type="submit"]`);
listAtts.forEach(function(el) {
if (el.addEventListener) { // all browsers except IE before version 9
el.addEventListener("click", function() {
$(this).html(
`<span class="loading"></span>`
);
setTimeout(() => {
$(this).prop("disabled", true);
}, 100);
}, false);
} else {
if (el.attachEvent) { // IE before version 9
el.attachEvent("click", function() {
$(this).html(
`<span class="loading"></span>`
);
setTimeout(() => {
$(this).prop("disabled", true);
}, 100);
});
}
}
$(function() {
$('[data-toggle="tooltip"]').tooltip()
})
});
});
function setCookie(name, value, days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}
setCookie('user_language', '{/literal}{$user_language}{literal}', 365);
</script>
{/literal}
</body>
</html>

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
<form action="{$_url}forgot&step={$step+1}" method="post">
@ -96,4 +96,4 @@
</div>
</div>
</form>
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{$_title} - {$_c['CompanyName']}</title>
<link rel="shortcut icon" href="ui/ui/images/logo.png" type="image/x-icon" />
<link rel="stylesheet" href="ui/ui/styles/bootstrap.min.css">
<link rel="stylesheet" href="ui/ui/styles/modern-AdminLTE.min.css">
<link rel="stylesheet" href="ui/ui/styles/sweetalert2.min.css" />
<script src="ui/ui/scripts/sweetalert2.all.min.js"></script>
</head>
<body id="app" class="app off-canvas body-full">
<div class="container">
<div class="form-head mb20">
<h1 class="site-logo h2 mb5 mt5 text-center text-uppercase text-bold"
style="text-shadow: 2px 2px 4px #757575;">{$_c['CompanyName']}</h1>
<hr>
</div>
{if isset($notify)}
<script>
// Display SweetAlert toast notification
Swal.fire({
icon: '{if $notify_t == "s"}success{else}warning{/if}',
title: '{$notify}',
toast: true,
position: 'top-end',
showConfirmButton: false,
timer: 5000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
</script>
{/if}

939
ui/ui/customer/header.tpl Normal file
View File

@ -0,0 +1,939 @@
<!DOCTYPE html>
<html lang="en" class="has-aside-left has-aside-mobile-transition has-navbar-fixed-top has-aside-expanded">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{$_title} - {$_c['CompanyName']}</title>
<link rel="shortcut icon" href="ui/ui/images/logo.png" type="image/x-icon" />
<link rel="stylesheet" href="ui/ui/styles/bootstrap.min.css">
<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/modern-AdminLTE.min.css">
<link rel="stylesheet" href="ui/ui/styles/sweetalert2.min.css" />
<script src="ui/ui/scripts/sweetalert2.all.min.js"></script>
<style>
/* New Customize Interface Start Here */
body {
position: relative;
z-index: 1;
background-color: rgb(241 245 249);
font-family: Satoshi, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 400;
color: rgb(100 116 139);
}
.modern-skin-dark .main-header .logo {
background-color: rgb(28 36 52);
color: #fff;
}
.modern-skin-dark .main-header .navbar {
background: rgb(28 36 52);
}
.modern-skin-dark .main-sidebar .sidebar {
background-color: rgb(28 36 52);
bottom: 0;
}
.modern-skin-dark .main-sidebar {
background-color: rgb(28 36 52);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.modern-skin-dark .main-header .navbar>a:focus,
.modern-skin-dark .main-header .navbar>a:active,
.modern-skin-dark .main-header .navbar>a:visited,
.modern-skin-dark .main-header .navbar>a:hover {
background-color: rgb(28 36 52);
}
.sidebar-menu li>a {
position: relative;
background-color: rgb(28 36 52);
}
.sidebar-menu li:focus,
.sidebar-menu li :hover {
color: #10d435;
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li.active a {
background-color: #2e298e;
border-radius: 5px;
margin: 10px;
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu {
background-color: rgb(28 36 52);
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li .treeview-menu li.active a {
background-color: transparent !important;
color: rgb(84, 131, 227);
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li .treeview-menu li>a {
background-color: transparent !important;
padding: 10px 5px 5px 15px;
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li .treeview-menu {
padding-left: 0;
border-left: 3px solid #10d435;
}
.content-header {
list-style-type: none;
padding: 15px;
background-color: #f6f9fc;
}
@media (max-width: 767px) {
.content {
padding: 0 15px !important;
background-color: #f6f9fc;
}
}
.content {
padding: 25px !important;
background-color: #f6f9fc;
}
.content-wrapper,
.right-side {
min-height: 100%;
background-color: #f6f9fc;
z-index: 800;
}
.main-footer {
background: rgb(28 36 52);
padding: 15px;
color: rgb(100 116 139);
border-top: 1px solid #d2d6de;
}
.panel-primary {
border-color: #333;
}
.panel {
margin-bottom: 20px;
background-color: #fff;
border: 0px solid transparent;
border-radius: 21px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0px 4px 30px rgba(221, 224, 255, .54);
}
.panel-primary>.panel-heading {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.panel-primary>.panel-heading {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.box.box-solid.box-primary>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box-body {
border-radius: 21px;
padding: 10px;
}
.box.box-solid.box-primary {
background-color: #fff;
border: 0px solid transparent;
border-radius: 21px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0px 4px 30px rgba(221, 224, 255, .54);
}
.content .row [class*=col-] .box {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 4px 4px 30px rgba(221, 224, 255, .54);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-ms-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-webkit-border-radius: 1px !important;
-moz-border-radius: 1px !important;
-ms-border-radius: 1px !important;
border-radius: 15px !important;
border-color: rgba(221, 224, 255, .54);
}
.box.box-solid.box-info>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box-header {
color: inherit;
display: block;
padding: 10px;
position: relative;
border-color: transparent;
border-radius: 25px;
}
.box.box-solid.box-default>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-success>.box-header {
color: inherit;
background: transparent;
background-color: transparent;
}
.box.box-solid.box-primary>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-info>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-danger>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-warning>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box {
position: relative;
border-radius: 15px;
margin-bottom: 20px;
width: 100%;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0px 4px 30px rgba(221, 224, 255, .54);
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li>a {
font-weight: bold;
}
.content-header>h1 {
font-weight: bold;
}
.box-header>.fa,
.box-header>.glyphicon,
.box-header>.ion,
.box-header .box-title {
font-weight: bold;
}
.main-header .logo .logo-lg {
font-weight: bold;
}
/* New Customize Interface End Here */
::-moz-selection {
/* Code for Firefox */
color: red;
background: yellow;
}
::selection {
color: red;
background: yellow;
}
.content-wrapper {
margin-top: 50px;
}
@media (max-width: 767px) {
.content-wrapper {
margin-top: 100px;
}
}
.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);
}
}
.dropdown-menu .dropdown-item {
margin-bottom: 5px;
}
.dropdown-menu .dropdown-item button {
margin: 0;
padding: 10px;
}
.toggle-container {
cursor: pointer;
}
.toggle-container .toggle-icon {
font-size: 25px;
color: rgb(100 116 139);
transition: color 0.5s ease;
}
@media (max-width: 600px) {
.toggle-container .toggle-icon {
font-size: 20px;
color: rgb(100 116 139);
transition: color 0.5s ease;
}
}
/* dark mode styles start here */
.dark-mode {
background-color: #1a202c;
color: #cbd5e0;
}
.dark-mode .main-header .logo,
.dark-mode .main-header .navbar,
.dark-mode .main-sidebar,
.dark-mode .main-sidebar .sidebar,
.dark-mode .sidebar-menu li>a {
background-color: #0e1219;
color: #cbd5e0;
}
.dark-mode .sidebar-menu li:hover,
.dark-mode .sidebar-menu li:focus {
color: #10d435;
}
.dark-mode .main-sidebar .sidebar .sidebar-menu li.active a {
background-color: #2e298e;
}
.dark-mode .content,
.dark-mode .content-header,
.dark-mode .content-wrapper,
.dark-mode .right-side {
background-color: #0e1219;
}
.dark-mode .main-footer {
background-color: #1a202c;
color: #cbd5e0;
}
.dark-mode .panel,
.dark-mode .box {
background-color: #2d3748;
border-color: #4a5568;
box-shadow: none;
}
.dark-mode .panel-heading,
.dark-mode .box-header {
background-color: transparent;
color: #cbd5e0;
}
.dark-mode .box-footer,
.dark-mode .panel-footer {
background-color: #2d3748;
}
.dark-mode .search-container {
background-color: #2d3748;
color: #cbd5e0;
}
.dark-mode .searchTerm {
background-color: #4a5568;
color: #cbd5e0;
}
.dark-mode .cancelButton {
background-color: #e53e3e;
}
.dark-mode .notification-top-bar {
background-color: #742a2a;
}
.dark-mode .bs-callout {
background-color: #2d3748;
border-color: #4a5568;
color: #cbd5e0;
}
.dark-mode .bs-callout h4 {
color: #cbd5e0;
}
.dark-mode .bg-gray {
background-color: inherit !important;
}
.dark-mode .breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: rgba(221, 224, 255, .54);
border-radius: 4px;
}
.dark-mode .pagination>.disabled>span,
.dark-mode .pagination>.disabled>span:hover,
.dark-mode .pagination>.disabled>span:focus,
.dark-mode .pagination>.disabled>a,
.dark-mode .pagination>.disabled>a:hover,
.dark-mode .pagination>.disabled>a:focus {
color: inherit;
background-color: rgba(221, 224, 255, .54);
border-color: rgba(221, 224, 255, .54);
cursor: not-allowed;
}
.dark-mode .pagination>.active>a,
.dark-mode .pagination>.active>a:hover,
.dark-mode .pagination>.active>a:focus,
.dark-mode .pagination>.active>span,
.dark-mode .pagination>.active>span:hover,
.dark-mode .pagination>.active>span:focus {
z-index: 2;
color: #fff;
background-color: #435ebe;
border-color: rgba(221, 224, 255, .54);
box-shadow: 0 2px 5px rgba(67, 94, 190, .3);
cursor: default;
}
.dark-mode .pagination>li>a {
background: inherit;
color: inherit;
border: 1px solid;
border-color: rgba(221, 224, 255, .54);
}
.dark-mode .table {
background-color: inherit;
color: #ddd;
border-color: #444;
}
.dark-mode .table th,
.dark-mode .table td {
background-color: inherit;
border-color: inherit;
color: #ddd;
}
.dark-mode .table th {
background-color: inherit;
font-weight: bold;
}
.dark-mode .table-striped tbody tr:nth-of-type(odd) {
background-color: inherit;
}
.dark-mode .table-bordered {
border: 1px solid #444;
}
.dark-mode .table-hover tbody tr:hover {
background-color: #555;
color: #fff;
}
.dark-mode .table-condensed th,
.dark-mode .table-condensed td {
padding: 8px;
}
.dark-mode .panel>.table:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child {
border-bottom-right-radius: 21px;
border-bottom-left-radius: 21px;
}
.dark-mode .panel>.table:last-child>tbody:last-child>tr:last-child,
.dark-mode .panel>.table:last-child>tfoot:last-child>tr:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child {
border-bottom-right-radius: 21px;
border-bottom-left-radius: 21px;
}
.dark-mode .panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,
.dark-mode .panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child {
border-bottom-right-radius: 21px;
}
.dark-mode .help-block {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: inherit;
}
.dark-mode .text-muted {
color: rgba(221, 224, 255, .54);
}
.dark-mode .form-control {
display: block;
width: 100%;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: inherit;
background-color: transparent;
background-image: none;
border: 1px solid;
border-color: rgba(221, 224, 255, .54);
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.dark-mode .main-footer {
border-top: 1px solid transparent;
}
.dark-mode .box.box-solid.box-primary>.box-header {
color: #fff;
background-color: inherit;
border-color: rgba(221, 224, 255, .54);
border-top-left-radius: 45px;
border-top-right-radius: 45px;
}
.dark-mode .box-body {
border-radius: 0px;
padding: 10px;
}
.dark-mode .box-header {
display: block;
padding: 10px;
position: relative;
border-color: transparent;
border-radius: 0px;
}
.dark-mode .nav-stacked>li>a {
color: inherit;
}
.dark-mode .list-group-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: transparent;
border: 1px solid rgba(221, 224, 255, .54);
}
.dark-mode .panel-footer {
padding: 10px 15px;
border-top: 1px rgba(221, 224, 255, .54);
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.dark-mode .content .row [class*=col-] .box {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 4px 4px 30px rgba(221, 224, 255, .54);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-ms-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-webkit-border-radius: 1px !important;
-moz-border-radius: 1px !important;
-ms-border-radius: 1px !important;
border-radius: 15px !important;
border-color: inherit;
background-color: inherit;
}
/* Dark Mode - Input Fields */
.dark-mode input:not(#filterNavigateMenu),
.dark-mode textarea:not(#filterNavigateMenu),
.dark-mode select:not(#filterNavigateMenu),
.dark-mode .select2-selection:not(#filterNavigateMenu) {
color: inherit;
transition: all .5s ease-in-out;
}
.dark-mode input:focus:not(#filterNavigateMenu),
.dark-mode textarea:focus:not(#filterNavigateMenu),
.dark-mode select:focus:not(#filterNavigateMenu),
.dark-mode .select2-selection:focus:not(#filterNavigateMenu) {
color: #1f201f;
outline: none;
}
.dark-mode .input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
color: inherit;
border-color: rgba(221, 224, 255, .54);
background-color: inherit;
}
.dark-mode .input-group .input-group-addon {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
color: inherit;
border-bottom-left-radius: 0;
border-color: rgba(221, 224, 255, .54);
background-color: transparent;
}
.dark-mode .input-group .form-control:last-child,
.dark-mode .input-group-addon:last-child,
.dark-mode .input-group-btn:last-child>.btn,
.dark-mode .input-group-btn:last-child>.btn-group>.btn,
.dark-mode .input-group-btn:last-child>.dropdown-toggle,
.dark-mode .input-group-btn:first-child>.btn:not(:first-child),
.dark-mode .input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
color: inherit;
}
.dark-mode input:not(#filterNavigateMenu),
textarea:not(#filterNavigateMenu),
optgroup:not(#filterNavigateMenu),
select:not(#filterNavigateMenu),
.dark-mode .select2-selection:not(#filterNavigateMenu) {
-moz-transition: all .5s ease-in-out;
-o-transition: all .5s ease-in-out;
-webkit-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}
.dark-mode .modern-skin-dark .main-sidebar .sidebar .sidebar-menu li>a {
font-weight: bold;
}
.dark-mode .content-header>h1 {
font-weight: bold;
}
.dark-mode .box-header>.fa,
.dark-mode .box-header>.glyphicon,
.dark-mode .box-header>.ion,
.dark-mode .box-header .box-title {
font-weight: bold;
}
.dark-mode .content-header>h2 {
font-weight: bold;
}
.dark-mode .main-header .logo .logo-lg {
font-weight: bold;
}
.dark-mode .modal-content {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .125);
box-shadow: 0 2px 3px rgba(0, 0, 0, .125);
border: 0;
background: #1a202c;
}
.dark-mode .modal-header {
padding: 15px;
border-bottom: 1px solid rgba(221, 224, 255, .54);
min-height: 16.428571429px;
background-color: #1a202c;
color: inherit;
}
.dark-mode .navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a,
.dark-mode .navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a,
.dark-mode .navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a {
display: block;
white-space: nowrap;
border-bottom: 1px solid rgba(221, 224, 255, .54);
background: #1a202c;
color: inherit;
}
.dark-mode .navbar-nav>.notifications-menu>.dropdown-menu>li.footer>a,
.dark-mode .navbar-nav>.messages-menu>.dropdown-menu>li.footer>a,
.dark-mode .navbar-nav>.tasks-menu>.dropdown-menu>li.footer>a {
background: #1a202c !important;
color: inherit !important;
}
.dark-mode .navbar-nav>.user-menu>.dropdown-menu>.user-footer {
background-color: #1a202c;
}
</style>
{if isset($xheader)}
{$xheader}
{/if}
</head>
<body class="hold-transition modern-skin-dark sidebar-mini">
<div class="wrapper">
<header class="main-header" style="position:fixed; width: 100%">
<a href="{$_url}home" class="logo">
<span class="logo-mini"><b>N</b>uX</span>
<span class="logo-lg">{$_c['CompanyName']}</span>
</a>
<nav class="navbar navbar-static-top">
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li>
<a class="toggle-container" href="#">
<i class="toggle-icon" id="toggleIcon">🌞</i>
</a>
</li>
<li class="dropdown tasks-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
<i class="fa fa-flag-o"></i>
</a>
<ul class="dropdown-menu">
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu" api-get-text="{$_url}autoload_user/language&select={$user_language}"></ul>
</li>
</ul>
</li>
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-envelope-o"></i>
<span class="label label-warning"
api-get-text="{$_url}autoload_user/inbox_unread"></span>
</a>
<ul class="dropdown-menu">
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu" api-get-text="{$_url}autoload_user/inbox"></ul>
</li>
<li class="footer"><a href="{$_url}mail">{Lang::T('Inbox')}</a></li>
</ul>
</li>
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
{if $_c['enable_balance'] == 'yes'}
<span
style="color: whitesmoke;">&nbsp;{Lang::moneyFormat($_user['balance'])}&nbsp;</span>
{else}
<span>{$_user['fullname']}</span>
{/if}
<img src="https://robohash.org/{$_user['id']}?set=set3&size=100x100&bgset=bg1"
onerror="this.src='{$UPLOAD_PATH}/user.default.jpg'" class="user-image"
alt="User Image">
</a>
<ul class="dropdown-menu">
<li class="user-header">
<img src="https://robohash.org/{$_user['id']}?set=set3&size=100x100&bgset=bg1"
onerror="this.src='{$UPLOAD_PATH}/user.default.jpg'" class="img-circle"
alt="User Image">
<p>
{$_user['fullname']}
<small>{$_user['phonenumber']}<br>
{$_user['email']}</small>
</p>
</li>
<li class="user-body">
<div class="row">
<div class="col-xs-7 text-center text-sm">
<a href="{$_url}accounts/change-password"><i class="ion ion-settings"></i>
{Lang::T('Change Password')}</a>
</div>
<div class="col-xs-5 text-center text-sm">
<a href="{$_url}accounts/profile"><i class="ion ion-person"></i>
{Lang::T('My Account')}</a>
</div>
</div>
</li>
<li class="user-footer">
<div class="pull-right">
<a href="{$_url}logout" class="btn btn-default btn-flat"><i
class="ion ion-power"></i> {Lang::T('Logout')}</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<aside class="main-sidebar" style="position:fixed;">
<section class="sidebar">
<ul class="sidebar-menu" data-widget="tree">
<li {if $_system_menu eq 'home'}class="active" {/if}>
<a href="{$_url}home">
<i class="ion ion-monitor"></i>
<span>{Lang::T('Dashboard')}</span>
</a>
</li>
{$_MENU_AFTER_DASHBOARD}
<li {if $_system_menu eq 'inbox'}class="active" {/if}>
<a href="{$_url}mail">
<i class="fa fa-envelope"></i>
<span>{Lang::T('Inbox')}</span>
</a>
</li>
{$_MENU_AFTER_INBOX}
{if $_c['disable_voucher'] != 'yes'}
<li {if $_system_menu eq 'voucher'}class="active" {/if}>
<a href="{$_url}voucher/activation">
<i class="fa fa-ticket"></i>
<span>Voucher</span>
</a>
</li>
{/if}
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
{if $_c['enable_balance'] == 'yes'}
<li {if $_system_menu eq 'balance'}class="active" {/if}>
<a href="{$_url}order/balance">
<i class="ion ion-ios-cart"></i>
<span>{Lang::T('Buy Balance')}</span>
</a>
</li>
{/if}
<li {if $_system_menu eq 'package'}class="active" {/if}>
<a href="{$_url}order/package">
<i class="ion ion-ios-cart"></i>
<span>{Lang::T('Buy Package')}</span>
</a>
</li>
<li {if $_system_menu eq 'history'}class="active" {/if}>
<a href="{$_url}order/history">
<i class="fa fa-file-text"></i>
<span>{Lang::T('Order History')}</span>
</a>
</li>
{/if}
{$_MENU_AFTER_ORDER}
<li {if $_system_menu eq 'list-activated'}class="active" {/if}>
<a href="{$_url}voucher/list-activated">
<i class="fa fa-list-alt"></i>
<span>{Lang::T('Activation History')}</span>
</a>
</li>
{$_MENU_AFTER_HISTORY}
</ul>
</section>
</aside>
<div class="content-wrapper">
<section class="content-header">
<h1>
{$_title}
</h1>
</section>
<section class="content">
{if isset($notify)}
<script>
// Display SweetAlert toast notification
Swal.fire({
icon: '{if $notify_t == "s"}success{else}warning{/if}',
title: '{$notify}',
position: 'top-end',
showConfirmButton: false,
timer: 5000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
</script>
{/if}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
{if $tipe == 'view'}
<div class="box box-primary">
@ -111,4 +111,4 @@
{/if}
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<div class="row">
<div class="col-lg-12">
@ -18,4 +18,4 @@
</div>
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
<div class="row">
<div class="col-sm-8">
@ -80,4 +80,4 @@
</center>
</div>
</div>
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
<div class="row">
@ -89,4 +89,4 @@
</div>
</div>
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-orderPlan -->
<div class="row">
<div class="col-sm-12">
@ -39,4 +39,4 @@
{/if}
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-orderHistory -->
<div class="row">
@ -53,4 +53,4 @@
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-orderPlan -->
<div class="row">
<div class="col-sm-12">
@ -653,4 +653,4 @@
{/foreach}
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-orderView -->
<div class="row">
<div class="col-md-3"></div>
@ -150,4 +150,4 @@
</div>
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-pages -->
<div class="row">
@ -12,4 +12,4 @@
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-phone-update -->
@ -77,4 +77,4 @@
</div>
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-profile -->
<div class="row">
@ -98,4 +98,4 @@
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
<div class="row">
@ -119,4 +119,4 @@
</script>
<!--End of Tawk.to Script-->
{/if}
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
@ -52,4 +52,4 @@
</form>
</div>
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header-public.tpl"}
{include file="customer/header-public.tpl"}
<div class="hidden-xs" style="height:100px"></div>
<div class="row">
@ -82,4 +82,4 @@
</div>
</form>
</div>
{include file="user-ui/footer-public.tpl"}
{include file="customer/footer-public.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<div class="row">
{if file_exists("$PAGES_PATH/Payment_Info.html")}
@ -122,4 +122,4 @@
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,4 +1,4 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
<!-- user-orderView -->
<div class="row">
<div class="col-md-3"></div>
@ -64,4 +64,4 @@
</div>
</div>
</div>
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}

View File

@ -1,3 +1,3 @@
{include file="user-ui/footer.tpl"}
{include file="customer/footer.tpl"}
{* Don't include this file again, change to user-ui/footer.tpl *}
{* Don't include this file again, change to customer/footer.tpl *}

View File

@ -1,3 +1,3 @@
{include file="user-ui/header.tpl"}
{include file="customer/header.tpl"}
{* Don't include this file again, change to user-ui/header.tpl *}
{* Don't include this file again, change to customer/header.tpl *}

View File

@ -1,39 +1,3 @@
{include file="customer/footer-public.tpl"}
</div>
<!-- Modal -->
<div class="modal fade" id="HTMLModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body" id="HTMLModal_konten"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">&times;</button>
</div>
</div>
</div>
</div>
{if $_c['tawkto'] != ''}
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {},
Tawk_LoadStart = new Date();
(function() {
var s1 = document.createElement("script"),
s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src='https://embed.tawk.to/{$_c['tawkto']}';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->
{/if}
<script src="ui/ui/scripts/vendors.js?v=1"></script>
</body>
</html>
{* Don't include this file again, change to customer/footer-public.tpl *}

View File

@ -1,168 +1,3 @@
</section>
</div>
{if isset($_c['CompanyFooter'])}
<footer class="main-footer">
{$_c['CompanyFooter']}
<div class="pull-right">
<a href="javascript:showPrivacy()">Privacy</a>
&bull;
<a href="javascript:showTaC()">T &amp; C</a>
</div>
</footer>
{else}
<footer class="main-footer">
PHPNuxBill by <a href="https://github.com/hotspotbilling/phpnuxbill" rel="nofollow noreferrer noopener"
target="_blank">iBNuX</a>, Theme by <a href="https://adminlte.io/" rel="nofollow noreferrer noopener"
target="_blank">AdminLTE</a>
<div class="pull-right">
<a href="javascript:showPrivacy()">Privacy</a>
&bull;
<a href="javascript:showTaC()">T &amp; C</a>
</div>
</footer>
{/if}
</div>
{include file="customer/footer.tpl"}
<!-- Modal -->
<div class="modal fade" id="HTMLModal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
</div>
<div class="modal-body" id="HTMLModal_konten"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">&times;</button>
</div>
</div>
</div>
</div>
<script src="ui/ui/scripts/jquery.min.js"></script>
<script src="ui/ui/scripts/bootstrap.min.js"></script>
<script src="ui/ui/scripts/adminlte.min.js"></script>
<script src="ui/ui/scripts/plugins/select2.min.js"></script>
<script src="ui/ui/scripts/custom.js?v=2"></script>
{if isset($xfooter)}
{$xfooter}
{/if}
{if $_c['tawkto'] != ''}
<!--Start of Tawk.to Script-->
<script type="text/javascript">
var Tawk_API = Tawk_API || {},
Tawk_LoadStart = new Date();
(function() {
var s1 = document.createElement("script"),
s0 = document.getElementsByTagName("script")[0];
s1.async = true;
s1.src='https://embed.tawk.to/{$_c['tawkto']}';
s1.charset = 'UTF-8';
s1.setAttribute('crossorigin', '*');
s0.parentNode.insertBefore(s1, s0);
})();
</script>
<!--End of Tawk.to Script-->
{/if}
<script>
const toggleIcon = document.getElementById('toggleIcon');
const body = document.body;
const savedMode = localStorage.getItem('mode');
if (savedMode === 'dark') {
body.classList.add('dark-mode');
toggleIcon.textContent = '🌜';
}
function setMode(mode) {
if (mode === 'dark') {
body.classList.add('dark-mode');
toggleIcon.textContent = '🌜';
} else {
body.classList.remove('dark-mode');
toggleIcon.textContent = '🌞';
}
}
toggleIcon.addEventListener('click', () => {
if (body.classList.contains('dark-mode')) {
setMode('light');
localStorage.setItem('mode', 'light');
} else {
setMode('dark');
localStorage.setItem('mode', 'dark');
}
});
</script>
{literal}
<script>
var listAtts = document.querySelectorAll(`[api-get-text]`);
listAtts.forEach(function(el) {
$.get(el.getAttribute('api-get-text'), function(data) {
el.innerHTML = data;
});
});
$(document).ready(function() {
var listAtts = document.querySelectorAll(`button[type="submit"]`);
listAtts.forEach(function(el) {
if (el.addEventListener) { // all browsers except IE before version 9
el.addEventListener("click", function() {
$(this).html(
`<span class="loading"></span>`
);
setTimeout(() => {
$(this).prop("disabled", true);
}, 100);
}, false);
} else {
if (el.attachEvent) { // IE before version 9
el.attachEvent("click", function() {
$(this).html(
`<span class="loading"></span>`
);
setTimeout(() => {
$(this).prop("disabled", true);
}, 100);
});
}
}
$(function() {
$('[data-toggle="tooltip"]').tooltip()
})
});
});
function setCookie(name, value, days) {
var expires = "";
if (days) {
var date = new Date();
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
expires = "; expires=" + date.toUTCString();
}
document.cookie = name + "=" + (value || "") + expires + "; path=/";
}
function getCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) == ' ') c = c.substring(1, c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
}
return null;
}
setCookie('user_language', '{/literal}{$user_language}{literal}', 365);
</script>
{/literal}
</body>
</html>
{* Don't include this file again, change to customer/footer.tpl *}

View File

@ -1,43 +1,3 @@
<!DOCTYPE html>
<html>
{include file="customer/header-public.tpl"}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>{$_title} - {$_c['CompanyName']}</title>
<link rel="shortcut icon" href="ui/ui/images/logo.png" type="image/x-icon" />
<link rel="stylesheet" href="ui/ui/styles/bootstrap.min.css">
<link rel="stylesheet" href="ui/ui/styles/modern-AdminLTE.min.css">
<link rel="stylesheet" href="ui/ui/styles/sweetalert2.min.css" />
<script src="ui/ui/scripts/sweetalert2.all.min.js"></script>
</head>
<body id="app" class="app off-canvas body-full">
<div class="container">
<div class="form-head mb20">
<h1 class="site-logo h2 mb5 mt5 text-center text-uppercase text-bold"
style="text-shadow: 2px 2px 4px #757575;">{$_c['CompanyName']}</h1>
<hr>
</div>
{if isset($notify)}
<script>
// Display SweetAlert toast notification
Swal.fire({
icon: '{if $notify_t == "s"}success{else}warning{/if}',
title: '{$notify}',
toast: true,
position: 'top-end',
showConfirmButton: false,
timer: 5000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
</script>
{/if}
{* Don't include this file again, change to customer/header-public.tpl *}

View File

@ -1,939 +1,3 @@
<!DOCTYPE html>
<html lang="en" class="has-aside-left has-aside-mobile-transition has-navbar-fixed-top has-aside-expanded">
{include file="customer/header.tpl"}
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{$_title} - {$_c['CompanyName']}</title>
<link rel="shortcut icon" href="ui/ui/images/logo.png" type="image/x-icon" />
<link rel="stylesheet" href="ui/ui/styles/bootstrap.min.css">
<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/modern-AdminLTE.min.css">
<link rel="stylesheet" href="ui/ui/styles/sweetalert2.min.css" />
<script src="ui/ui/scripts/sweetalert2.all.min.js"></script>
<style>
/* New Customize Interface Start Here */
body {
position: relative;
z-index: 1;
background-color: rgb(241 245 249);
font-family: Satoshi, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
font-weight: 400;
color: rgb(100 116 139);
}
.modern-skin-dark .main-header .logo {
background-color: rgb(28 36 52);
color: #fff;
}
.modern-skin-dark .main-header .navbar {
background: rgb(28 36 52);
}
.modern-skin-dark .main-sidebar .sidebar {
background-color: rgb(28 36 52);
bottom: 0;
}
.modern-skin-dark .main-sidebar {
background-color: rgb(28 36 52);
box-shadow: 0 0 5px rgba(0, 0, 0, .3);
}
.modern-skin-dark .main-header .navbar>a:focus,
.modern-skin-dark .main-header .navbar>a:active,
.modern-skin-dark .main-header .navbar>a:visited,
.modern-skin-dark .main-header .navbar>a:hover {
background-color: rgb(28 36 52);
}
.sidebar-menu li>a {
position: relative;
background-color: rgb(28 36 52);
}
.sidebar-menu li:focus,
.sidebar-menu li :hover {
color: #10d435;
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li.active a {
background-color: #2e298e;
border-radius: 5px;
margin: 10px;
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu {
background-color: rgb(28 36 52);
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li .treeview-menu li.active a {
background-color: transparent !important;
color: rgb(84, 131, 227);
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li .treeview-menu li>a {
background-color: transparent !important;
padding: 10px 5px 5px 15px;
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li .treeview-menu {
padding-left: 0;
border-left: 3px solid #10d435;
}
.content-header {
list-style-type: none;
padding: 15px;
background-color: #f6f9fc;
}
@media (max-width: 767px) {
.content {
padding: 0 15px !important;
background-color: #f6f9fc;
}
}
.content {
padding: 25px !important;
background-color: #f6f9fc;
}
.content-wrapper,
.right-side {
min-height: 100%;
background-color: #f6f9fc;
z-index: 800;
}
.main-footer {
background: rgb(28 36 52);
padding: 15px;
color: rgb(100 116 139);
border-top: 1px solid #d2d6de;
}
.panel-primary {
border-color: #333;
}
.panel {
margin-bottom: 20px;
background-color: #fff;
border: 0px solid transparent;
border-radius: 21px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0px 4px 30px rgba(221, 224, 255, .54);
}
.panel-primary>.panel-heading {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.panel-primary>.panel-heading {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.panel-heading {
padding: 10px 15px;
border-bottom: 1px solid transparent;
border-top-right-radius: 3px;
border-top-left-radius: 3px;
}
.box.box-solid.box-primary>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box-body {
border-radius: 21px;
padding: 10px;
}
.box.box-solid.box-primary {
background-color: #fff;
border: 0px solid transparent;
border-radius: 21px;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0px 4px 30px rgba(221, 224, 255, .54);
}
.content .row [class*=col-] .box {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 4px 4px 30px rgba(221, 224, 255, .54);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-ms-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-webkit-border-radius: 1px !important;
-moz-border-radius: 1px !important;
-ms-border-radius: 1px !important;
border-radius: 15px !important;
border-color: rgba(221, 224, 255, .54);
}
.box.box-solid.box-info>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box-header {
color: inherit;
display: block;
padding: 10px;
position: relative;
border-color: transparent;
border-radius: 25px;
}
.box.box-solid.box-default>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-success>.box-header {
color: inherit;
background: transparent;
background-color: transparent;
}
.box.box-solid.box-primary>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-info>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-danger>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box.box-solid.box-warning>.box-header {
color: inherit;
background-color: transparent;
border-color: transparent;
}
.box {
position: relative;
border-radius: 15px;
margin-bottom: 20px;
width: 100%;
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 0px 4px 30px rgba(221, 224, 255, .54);
}
.modern-skin-dark .main-sidebar .sidebar .sidebar-menu li>a {
font-weight: bold;
}
.content-header>h1 {
font-weight: bold;
}
.box-header>.fa,
.box-header>.glyphicon,
.box-header>.ion,
.box-header .box-title {
font-weight: bold;
}
.main-header .logo .logo-lg {
font-weight: bold;
}
/* New Customize Interface End Here */
::-moz-selection {
/* Code for Firefox */
color: red;
background: yellow;
}
::selection {
color: red;
background: yellow;
}
.content-wrapper {
margin-top: 50px;
}
@media (max-width: 767px) {
.content-wrapper {
margin-top: 100px;
}
}
.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);
}
}
.dropdown-menu .dropdown-item {
margin-bottom: 5px;
}
.dropdown-menu .dropdown-item button {
margin: 0;
padding: 10px;
}
.toggle-container {
cursor: pointer;
}
.toggle-container .toggle-icon {
font-size: 25px;
color: rgb(100 116 139);
transition: color 0.5s ease;
}
@media (max-width: 600px) {
.toggle-container .toggle-icon {
font-size: 20px;
color: rgb(100 116 139);
transition: color 0.5s ease;
}
}
/* dark mode styles start here */
.dark-mode {
background-color: #1a202c;
color: #cbd5e0;
}
.dark-mode .main-header .logo,
.dark-mode .main-header .navbar,
.dark-mode .main-sidebar,
.dark-mode .main-sidebar .sidebar,
.dark-mode .sidebar-menu li>a {
background-color: #0e1219;
color: #cbd5e0;
}
.dark-mode .sidebar-menu li:hover,
.dark-mode .sidebar-menu li:focus {
color: #10d435;
}
.dark-mode .main-sidebar .sidebar .sidebar-menu li.active a {
background-color: #2e298e;
}
.dark-mode .content,
.dark-mode .content-header,
.dark-mode .content-wrapper,
.dark-mode .right-side {
background-color: #0e1219;
}
.dark-mode .main-footer {
background-color: #1a202c;
color: #cbd5e0;
}
.dark-mode .panel,
.dark-mode .box {
background-color: #2d3748;
border-color: #4a5568;
box-shadow: none;
}
.dark-mode .panel-heading,
.dark-mode .box-header {
background-color: transparent;
color: #cbd5e0;
}
.dark-mode .box-footer,
.dark-mode .panel-footer {
background-color: #2d3748;
}
.dark-mode .search-container {
background-color: #2d3748;
color: #cbd5e0;
}
.dark-mode .searchTerm {
background-color: #4a5568;
color: #cbd5e0;
}
.dark-mode .cancelButton {
background-color: #e53e3e;
}
.dark-mode .notification-top-bar {
background-color: #742a2a;
}
.dark-mode .bs-callout {
background-color: #2d3748;
border-color: #4a5568;
color: #cbd5e0;
}
.dark-mode .bs-callout h4 {
color: #cbd5e0;
}
.dark-mode .bg-gray {
background-color: inherit !important;
}
.dark-mode .breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: rgba(221, 224, 255, .54);
border-radius: 4px;
}
.dark-mode .pagination>.disabled>span,
.dark-mode .pagination>.disabled>span:hover,
.dark-mode .pagination>.disabled>span:focus,
.dark-mode .pagination>.disabled>a,
.dark-mode .pagination>.disabled>a:hover,
.dark-mode .pagination>.disabled>a:focus {
color: inherit;
background-color: rgba(221, 224, 255, .54);
border-color: rgba(221, 224, 255, .54);
cursor: not-allowed;
}
.dark-mode .pagination>.active>a,
.dark-mode .pagination>.active>a:hover,
.dark-mode .pagination>.active>a:focus,
.dark-mode .pagination>.active>span,
.dark-mode .pagination>.active>span:hover,
.dark-mode .pagination>.active>span:focus {
z-index: 2;
color: #fff;
background-color: #435ebe;
border-color: rgba(221, 224, 255, .54);
box-shadow: 0 2px 5px rgba(67, 94, 190, .3);
cursor: default;
}
.dark-mode .pagination>li>a {
background: inherit;
color: inherit;
border: 1px solid;
border-color: rgba(221, 224, 255, .54);
}
.dark-mode .table {
background-color: inherit;
color: #ddd;
border-color: #444;
}
.dark-mode .table th,
.dark-mode .table td {
background-color: inherit;
border-color: inherit;
color: #ddd;
}
.dark-mode .table th {
background-color: inherit;
font-weight: bold;
}
.dark-mode .table-striped tbody tr:nth-of-type(odd) {
background-color: inherit;
}
.dark-mode .table-bordered {
border: 1px solid #444;
}
.dark-mode .table-hover tbody tr:hover {
background-color: #555;
color: #fff;
}
.dark-mode .table-condensed th,
.dark-mode .table-condensed td {
padding: 8px;
}
.dark-mode .panel>.table:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child {
border-bottom-right-radius: 21px;
border-bottom-left-radius: 21px;
}
.dark-mode .panel>.table:last-child>tbody:last-child>tr:last-child,
.dark-mode .panel>.table:last-child>tfoot:last-child>tr:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child {
border-bottom-right-radius: 21px;
border-bottom-left-radius: 21px;
}
.dark-mode .panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,
.dark-mode .panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,
.dark-mode .panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child {
border-bottom-right-radius: 21px;
}
.dark-mode .help-block {
display: block;
margin-top: 5px;
margin-bottom: 10px;
color: inherit;
}
.dark-mode .text-muted {
color: rgba(221, 224, 255, .54);
}
.dark-mode .form-control {
display: block;
width: 100%;
padding: 6px 12px;
font-size: 14px;
line-height: 1.428571429;
color: inherit;
background-color: transparent;
background-image: none;
border: 1px solid;
border-color: rgba(221, 224, 255, .54);
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.dark-mode .main-footer {
border-top: 1px solid transparent;
}
.dark-mode .box.box-solid.box-primary>.box-header {
color: #fff;
background-color: inherit;
border-color: rgba(221, 224, 255, .54);
border-top-left-radius: 45px;
border-top-right-radius: 45px;
}
.dark-mode .box-body {
border-radius: 0px;
padding: 10px;
}
.dark-mode .box-header {
display: block;
padding: 10px;
position: relative;
border-color: transparent;
border-radius: 0px;
}
.dark-mode .nav-stacked>li>a {
color: inherit;
}
.dark-mode .list-group-item {
position: relative;
display: block;
padding: 10px 15px;
margin-bottom: -1px;
background-color: transparent;
border: 1px solid rgba(221, 224, 255, .54);
}
.dark-mode .panel-footer {
padding: 10px 15px;
border-top: 1px rgba(221, 224, 255, .54);
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.dark-mode .content .row [class*=col-] .box {
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
box-shadow: 4px 4px 30px rgba(221, 224, 255, .54);
-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-ms-box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
-webkit-border-radius: 1px !important;
-moz-border-radius: 1px !important;
-ms-border-radius: 1px !important;
border-radius: 15px !important;
border-color: inherit;
background-color: inherit;
}
/* Dark Mode - Input Fields */
.dark-mode input:not(#filterNavigateMenu),
.dark-mode textarea:not(#filterNavigateMenu),
.dark-mode select:not(#filterNavigateMenu),
.dark-mode .select2-selection:not(#filterNavigateMenu) {
color: inherit;
transition: all .5s ease-in-out;
}
.dark-mode input:focus:not(#filterNavigateMenu),
.dark-mode textarea:focus:not(#filterNavigateMenu),
.dark-mode select:focus:not(#filterNavigateMenu),
.dark-mode .select2-selection:focus:not(#filterNavigateMenu) {
color: #1f201f;
outline: none;
}
.dark-mode .input-group .form-control {
position: relative;
z-index: 2;
float: left;
width: 100%;
margin-bottom: 0;
color: inherit;
border-color: rgba(221, 224, 255, .54);
background-color: inherit;
}
.dark-mode .input-group .input-group-addon {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
color: inherit;
border-bottom-left-radius: 0;
border-color: rgba(221, 224, 255, .54);
background-color: transparent;
}
.dark-mode .input-group .form-control:last-child,
.dark-mode .input-group-addon:last-child,
.dark-mode .input-group-btn:last-child>.btn,
.dark-mode .input-group-btn:last-child>.btn-group>.btn,
.dark-mode .input-group-btn:last-child>.dropdown-toggle,
.dark-mode .input-group-btn:first-child>.btn:not(:first-child),
.dark-mode .input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
color: inherit;
}
.dark-mode input:not(#filterNavigateMenu),
textarea:not(#filterNavigateMenu),
optgroup:not(#filterNavigateMenu),
select:not(#filterNavigateMenu),
.dark-mode .select2-selection:not(#filterNavigateMenu) {
-moz-transition: all .5s ease-in-out;
-o-transition: all .5s ease-in-out;
-webkit-transition: all .5s ease-in-out;
transition: all .5s ease-in-out;
}
.dark-mode .modern-skin-dark .main-sidebar .sidebar .sidebar-menu li>a {
font-weight: bold;
}
.dark-mode .content-header>h1 {
font-weight: bold;
}
.dark-mode .box-header>.fa,
.dark-mode .box-header>.glyphicon,
.dark-mode .box-header>.ion,
.dark-mode .box-header .box-title {
font-weight: bold;
}
.dark-mode .content-header>h2 {
font-weight: bold;
}
.dark-mode .main-header .logo .logo-lg {
font-weight: bold;
}
.dark-mode .modal-content {
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 15px;
border-bottom-left-radius: 15px;
-webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .125);
box-shadow: 0 2px 3px rgba(0, 0, 0, .125);
border: 0;
background: #1a202c;
}
.dark-mode .modal-header {
padding: 15px;
border-bottom: 1px solid rgba(221, 224, 255, .54);
min-height: 16.428571429px;
background-color: #1a202c;
color: inherit;
}
.dark-mode .navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a,
.dark-mode .navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a,
.dark-mode .navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a {
display: block;
white-space: nowrap;
border-bottom: 1px solid rgba(221, 224, 255, .54);
background: #1a202c;
color: inherit;
}
.dark-mode .navbar-nav>.notifications-menu>.dropdown-menu>li.footer>a,
.dark-mode .navbar-nav>.messages-menu>.dropdown-menu>li.footer>a,
.dark-mode .navbar-nav>.tasks-menu>.dropdown-menu>li.footer>a {
background: #1a202c !important;
color: inherit !important;
}
.dark-mode .navbar-nav>.user-menu>.dropdown-menu>.user-footer {
background-color: #1a202c;
}
</style>
{if isset($xheader)}
{$xheader}
{/if}
</head>
<body class="hold-transition modern-skin-dark sidebar-mini">
<div class="wrapper">
<header class="main-header" style="position:fixed; width: 100%">
<a href="{$_url}home" class="logo">
<span class="logo-mini"><b>N</b>uX</span>
<span class="logo-lg">{$_c['CompanyName']}</span>
</a>
<nav class="navbar navbar-static-top">
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li>
<a class="toggle-container" href="#">
<i class="toggle-icon" id="toggleIcon">🌞</i>
</a>
</li>
<li class="dropdown tasks-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
<i class="fa fa-flag-o"></i>
</a>
<ul class="dropdown-menu">
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu" api-get-text="{$_url}autoload_user/language&select={$user_language}"></ul>
</li>
</ul>
</li>
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-envelope-o"></i>
<span class="label label-warning"
api-get-text="{$_url}autoload_user/inbox_unread"></span>
</a>
<ul class="dropdown-menu">
<li>
<!-- inner menu: contains the actual data -->
<ul class="menu" api-get-text="{$_url}autoload_user/inbox"></ul>
</li>
<li class="footer"><a href="{$_url}mail">{Lang::T('Inbox')}</a></li>
</ul>
</li>
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
{if $_c['enable_balance'] == 'yes'}
<span
style="color: whitesmoke;">&nbsp;{Lang::moneyFormat($_user['balance'])}&nbsp;</span>
{else}
<span>{$_user['fullname']}</span>
{/if}
<img src="https://robohash.org/{$_user['id']}?set=set3&size=100x100&bgset=bg1"
onerror="this.src='{$UPLOAD_PATH}/user.default.jpg'" class="user-image"
alt="User Image">
</a>
<ul class="dropdown-menu">
<li class="user-header">
<img src="https://robohash.org/{$_user['id']}?set=set3&size=100x100&bgset=bg1"
onerror="this.src='{$UPLOAD_PATH}/user.default.jpg'" class="img-circle"
alt="User Image">
<p>
{$_user['fullname']}
<small>{$_user['phonenumber']}<br>
{$_user['email']}</small>
</p>
</li>
<li class="user-body">
<div class="row">
<div class="col-xs-7 text-center text-sm">
<a href="{$_url}accounts/change-password"><i class="ion ion-settings"></i>
{Lang::T('Change Password')}</a>
</div>
<div class="col-xs-5 text-center text-sm">
<a href="{$_url}accounts/profile"><i class="ion ion-person"></i>
{Lang::T('My Account')}</a>
</div>
</div>
</li>
<li class="user-footer">
<div class="pull-right">
<a href="{$_url}logout" class="btn btn-default btn-flat"><i
class="ion ion-power"></i> {Lang::T('Logout')}</a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<aside class="main-sidebar" style="position:fixed;">
<section class="sidebar">
<ul class="sidebar-menu" data-widget="tree">
<li {if $_system_menu eq 'home'}class="active" {/if}>
<a href="{$_url}home">
<i class="ion ion-monitor"></i>
<span>{Lang::T('Dashboard')}</span>
</a>
</li>
{$_MENU_AFTER_DASHBOARD}
<li {if $_system_menu eq 'inbox'}class="active" {/if}>
<a href="{$_url}mail">
<i class="fa fa-envelope"></i>
<span>{Lang::T('Inbox')}</span>
</a>
</li>
{$_MENU_AFTER_INBOX}
{if $_c['disable_voucher'] != 'yes'}
<li {if $_system_menu eq 'voucher'}class="active" {/if}>
<a href="{$_url}voucher/activation">
<i class="fa fa-ticket"></i>
<span>Voucher</span>
</a>
</li>
{/if}
{if $_c['payment_gateway'] != 'none' or $_c['payment_gateway'] == '' }
{if $_c['enable_balance'] == 'yes'}
<li {if $_system_menu eq 'balance'}class="active" {/if}>
<a href="{$_url}order/balance">
<i class="ion ion-ios-cart"></i>
<span>{Lang::T('Buy Balance')}</span>
</a>
</li>
{/if}
<li {if $_system_menu eq 'package'}class="active" {/if}>
<a href="{$_url}order/package">
<i class="ion ion-ios-cart"></i>
<span>{Lang::T('Buy Package')}</span>
</a>
</li>
<li {if $_system_menu eq 'history'}class="active" {/if}>
<a href="{$_url}order/history">
<i class="fa fa-file-text"></i>
<span>{Lang::T('Order History')}</span>
</a>
</li>
{/if}
{$_MENU_AFTER_ORDER}
<li {if $_system_menu eq 'list-activated'}class="active" {/if}>
<a href="{$_url}voucher/list-activated">
<i class="fa fa-list-alt"></i>
<span>{Lang::T('Activation History')}</span>
</a>
</li>
{$_MENU_AFTER_HISTORY}
</ul>
</section>
</aside>
<div class="content-wrapper">
<section class="content-header">
<h1>
{$_title}
</h1>
</section>
<section class="content">
{if isset($notify)}
<script>
// Display SweetAlert toast notification
Swal.fire({
icon: '{if $notify_t == "s"}success{else}warning{/if}',
title: '{$notify}',
position: 'top-end',
showConfirmButton: false,
timer: 5000,
timerProgressBar: true,
didOpen: (toast) => {
toast.addEventListener('mouseenter', Swal.stopTimer)
toast.addEventListener('mouseleave', Swal.resumeTimer)
}
});
</script>
{/if}
{* Don't include this file again, change to customer/header.tpl *}