2017-03-11 03:51:06 +08:00
|
|
|
<?php
|
|
|
|
/**
|
2023-10-12 16:55:42 +08:00
|
|
|
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
|
|
|
* by https://t.me/ibnux
|
|
|
|
**/
|
|
|
|
|
2017-03-11 03:51:06 +08:00
|
|
|
_auth();
|
2024-02-13 14:54:01 +08:00
|
|
|
$ui->assign('_title', Lang::T('Order Voucher'));
|
2017-03-11 03:51:06 +08:00
|
|
|
$ui->assign('_system_menu', 'order');
|
|
|
|
|
2017-03-19 08:02:14 +08:00
|
|
|
$action = $routes['1'];
|
2017-03-11 03:51:06 +08:00
|
|
|
$user = User::_info();
|
|
|
|
$ui->assign('_user', $user);
|
|
|
|
|
2017-03-19 08:02:14 +08:00
|
|
|
if(file_exists(__DIR__."/../../pages/".str_replace(".","",$action).".html")){
|
|
|
|
$ui->assign("PageFile",$action);
|
|
|
|
$ui->assign("pageHeader",$action);
|
2022-09-18 01:00:40 +08:00
|
|
|
run_hook('customer_view_page'); #HOOK
|
2017-03-19 08:02:14 +08:00
|
|
|
$ui->display('user-pages.tpl');
|
|
|
|
}else
|
|
|
|
$ui->display('404.tpl');
|