0 || $port['ifOutErrors_delta'] > 0) { $error_img = generate_port_link($port, "Interface Errors", 'port_errors'); } else { $error_img = ''; } echo " "; echo ' '.generate_port_link($port, $port['ifIndex'].'. '.$port['label']).'
'.$port['ifAlias'].''; if ($port['ifAlias']) { echo '
'; } unset($break); if ($port_details) { foreach (dbFetchRows('SELECT * FROM `ipv4_addresses` WHERE `port_id` = ?', array($port['port_id'])) as $ip) { echo "$break ".$ip['ipv4_address'].'/'.$ip['ipv4_prefixlen'].''; $break = ','; } foreach (dbFetchRows('SELECT * FROM `ipv6_addresses` WHERE `port_id` = ?', array($port['port_id'])) as $ip6) { ; echo "$break ".Net_IPv6::compress($ip6['ipv6_address']).'/'.$ip6['ipv6_prefixlen'].''; $break = ','; } } echo ''; $width = '120'; $height = '40'; $from = $config['time']['day']; echo ''; echo (formatRates(($port['ifInOctets_rate'] * 8))." ".formatRates(($port['ifOutOctets_rate'] * 8))); echo '
'; $port['graph_type'] = 'port_bits'; echo generate_port_link( $port, "", $port['graph_type'] ); echo ''; echo ''.formatRates($port['adslAturChanCurrTxRate']).'/'.formatRates($port['adslAtucChanCurrTxRate']); echo '
'; $port['graph_type'] = 'port_adsl_speed'; echo generate_port_link( $port, "", $port['graph_type'] ); echo ''; echo ''.formatRates($port['adslAturCurrAttainableRate']).'/'.formatRates($port['adslAtucCurrAttainableRate']); echo '
'; $port['graph_type'] = 'port_adsl_attainable'; echo generate_port_link( $port, "", $port['graph_type'] ); echo ''; echo ''.$port['adslAturCurrAtn'].'dB/'.$port['adslAtucCurrAtn'].'dB'; echo '
'; $port['graph_type'] = 'port_adsl_attenuation'; echo generate_port_link( $port, "", $port['graph_type'] ); echo ''; echo ''.$port['adslAturCurrSnrMgn'].'dB/'.$port['adslAtucCurrSnrMgn'].'dB'; echo '
'; $port['graph_type'] = 'port_adsl_snr'; echo generate_port_link( $port, "", $port['graph_type'] ); echo ''; echo ''.$port['adslAturCurrOutputPwr'].'dBm/'.$port['adslAtucCurrOutputPwr'].'dBm'; echo '
'; $port['graph_type'] = 'port_adsl_power'; echo generate_port_link( $port, "", $port['graph_type'] ); echo '';