admin change to adminlte

This commit is contained in:
Ibnu Maksum
2022-10-16 14:48:21 +07:00
parent 9015d519c1
commit a7e8335297
90 changed files with 913 additions and 745 deletions

View File

@ -1,13 +1,12 @@
<?php
/**
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
* PHP Mikrotik Billing (https://ibnux.github.io/phpnuxbill/)
**/
_admin();
$ui->assign('_title', $_L['Dashboard']);
$admin = Admin::_info();
$ui->assign('_admin', $admin);
if($admin['user_type'] != 'Admin' AND $admin['user_type'] != 'Sales'){
if(!in_array($admin['user_type'],['Admin','Sales'])){
r2(U."home",'e',$_L['Do_Not_Access']);
}