Registration no need has voucher

This commit is contained in:
Ibnu Maksum
2022-09-01 14:52:32 +07:00
parent eb3c84d333
commit dd116ee248
15 changed files with 236 additions and 404 deletions

View File

@ -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';
}