mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-24 15:36:33 +08:00
18 lines
No EOL
515 B
PHP
18 lines
No EOL
515 B
PHP
<?php
|
|
/**
|
|
* PHP Mikrotik Billing (https://ibnux.github.io/phpmixbill/)
|
|
**/
|
|
_auth();
|
|
$ui->assign('_title', $_L['Order_Voucher'].'- '. $config['CompanyName']);
|
|
$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);
|
|
$ui->display('user-pages.tpl');
|
|
}else
|
|
$ui->display('404.tpl'); |