network(); $_text = '
' . $text['device'] . ' | ' . '' . $text['received'] . ' | ' . '' . $text['sent'] . ' | ' . '' . $text['errors'] . ' | '; while (list($dev, $stats) = each($net)) { $_text .= "\t
$f_body_open" . $dev . "$f_body_close | \n"; $_text .= "\t\t$f_body_open" . format_bytesize($stats['rx_bytes'] / 1024) . "$f_body_close | \n"; $_text .= "\t\t$f_body_open" . format_bytesize($stats['tx_bytes'] / 1024) . "$f_body_close | \n"; $_text .= "\t\t$f_body_open" . $stats['errs'] . '/' . $stats['drop'] . "$f_body_close | \n"; $_text .= "\t