2011-05-05 11:27:22 +00:00
<? php
2015-07-10 13:36:21 +02:00
echo "<div style='margin: 5px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>" ;
2011-05-05 11:27:22 +00:00
2015-07-10 13:36:21 +02:00
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' ;
$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' ]));
2012-04-06 13:56:23 +00:00
2015-07-10 13:36:21 +02:00
foreach ( $ports as $port ) {
2019-04-11 23:26:42 -05:00
include 'includes/html/print-interface-adsl.inc.php' ;
2015-07-10 13:36:21 +02:00
$i ++ ;
}
2011-05-05 11:27:22 +00:00
2015-07-10 13:36:21 +02:00
echo '</table></div>' ;
echo "<div style='min-height: 150px;'></div>" ;