show bandwidth plan

This commit is contained in:
Ibnu Maksum
2024-09-25 15:00:13 +07:00
parent a51462ef1a
commit 6462572fb8
6 changed files with 430 additions and 326 deletions

View File

@ -28,7 +28,10 @@ switch ($action) {
$ui->assign('d', $d);
$ui->display('autoload-pool.tpl');
break;
case 'bw_name':
$bw = ORM::for_table('tbl_bandwidth')->select("name_bw")->find_one($routes['2']);
echo $bw['name_bw'];
die();
case 'server':
$d = ORM::for_table('tbl_routers')->where('enabled', '1')->find_many();
$ui->assign('d', $d);