mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-06-25 19:18:33 +02:00
Registration no need has voucher
This commit is contained in:
parent
eb3c84d333
commit
dd116ee248
15 changed files with 236 additions and 404 deletions
|
@ -20,26 +20,26 @@ switch ($action) {
|
|||
$routers = _get('routers');
|
||||
$d = ORM::for_table('tbl_pool')->where('routers', $routers)->find_many();
|
||||
$ui->assign('d',$d);
|
||||
|
||||
|
||||
$ui->display('autoload-pool.tpl');
|
||||
break;
|
||||
|
||||
|
||||
case 'server':
|
||||
$d = ORM::for_table('tbl_routers')->find_many();
|
||||
$ui->assign('d',$d);
|
||||
|
||||
|
||||
$ui->display('autoload-server.tpl');
|
||||
break;
|
||||
|
||||
|
||||
case 'plan':
|
||||
$server = _post('server');
|
||||
$jenis = _post('jenis');
|
||||
$d = ORM::for_table('tbl_plans')->where('routers', $server)->where('type', $jenis)->find_many();
|
||||
$ui->assign('d',$d);
|
||||
|
||||
|
||||
$ui->display('autoload.tpl');
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
echo 'action not defined';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue