Commit version 24.12.13800
This commit is contained in:
@ -4,23 +4,22 @@
|
||||
* Observium Network Management and Monitoring System
|
||||
* Copyright (C) 2006-2015, Adam Armstrong - http://www.observium.org
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage webui
|
||||
* @author Adam Armstrong <adama@observium.org>
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
* @package observium
|
||||
* @subpackage webui
|
||||
* @author Adam Armstrong <adama@observium.org>
|
||||
* @copyright (C) Adam Armstrong
|
||||
*
|
||||
*/
|
||||
|
||||
echo('<table class="table table-striped table-condensed">');
|
||||
|
||||
echo("<thead><tr><th>Port</th><th>Traffic</th><th>Sync Speed</th><th>Attainable Speed</th><th>Attenuation</th><th>SNR Margin</th><th>Output Powers</th></tr></thead>");
|
||||
$i = "0";
|
||||
$ports = dbFetchRows("select * from `ports` AS P, `ports_adsl` AS A WHERE P.device_id = ? AND A.port_id = P.port_id AND P.deleted = '0' ORDER BY `ifIndex` ASC", array($device['device_id']));
|
||||
foreach ($ports as $port)
|
||||
{
|
||||
include("includes/print-interface-adsl.inc.php");
|
||||
$i = "0";
|
||||
$ports = dbFetchRows("select * from `ports` AS P, `ports_adsl` AS A WHERE P.device_id = ? AND A.port_id = P.port_id AND P.deleted = '0' ORDER BY `ifIndex` ASC", [$device['device_id']]);
|
||||
foreach ($ports as $port) {
|
||||
include("includes/print-interface-adsl.inc.php");
|
||||
|
||||
$i++;
|
||||
$i++;
|
||||
}
|
||||
|
||||
echo("</table>");
|
||||
|
Reference in New Issue
Block a user