Focuslinkstech 0eead7cea1 Template Redesigned
we have move all user template files to folder ui/ui/user-ui for easy customisation
2024-08-16 09:39:41 +01:00

21 lines
586 B
PHP

<?php
/**
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
* by https://t.me/ibnux
**/
_auth();
$ui->assign('_title', Lang::T('Order Voucher'));
$ui->assign('_system_menu', 'order');
$action = $routes['1'];
$user = User::_info();
$ui->assign('_user', $user);
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');
}else
$ui->display('user-ui/404.tpl');