21 lines
588 B
PHP
Raw Normal View History

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');
$action = $routes['1'];
2017-03-11 02:51:06 +07:00
$user = User::_info();
$ui->assign('_user', $user);
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
$ui->display('customer/pages.tpl');
}else
$ui->display('customer/404.tpl');