mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
git-svn-id: http://www.observium.org/svn/observer/trunk@2247 61d68cd4-352d-0410-923a-c4978735b2b8
18 lines
749 B
PHP
18 lines
749 B
PHP
<?php
|
|
|
|
echo("<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>");
|
|
|
|
echo("<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>");
|
|
$i = "0";
|
|
$interface_query = mysql_query("select * from `ports` AS P, `ports_adsl` AS A WHERE P.device_id = '".$device['device_id']."'".
|
|
" AND A.interface_id = P.interface_id AND P.deleted = '0' ORDER BY `ifIndex` ASC");
|
|
while ($interface = mysql_fetch_assoc($interface_query))
|
|
{
|
|
include("includes/print-interface-adsl.inc.php");
|
|
$i++;
|
|
}
|
|
echo("</table></div>");
|
|
echo("<div style='min-height: 150px;'></div>");
|
|
|
|
?>
|