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