mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-06-25 19:18:33 +02:00
show bandwidth plan
This commit is contained in:
parent
a51462ef1a
commit
6462572fb8
6 changed files with 430 additions and 326 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue