Ip | Name | Total | Sent | Received | tcp | udp | icmp | http | smtp | ftp"; $r = $result->fetch(); $db = NULL; echo " |
"; if (strpos($ip, "/") === FALSE) echo "$ip | ".gethostbyaddr($ip); else echo "Total | $ip"; echo fmtb($r['total']).fmtb($r['sent']).fmtb($r['received']). fmtb($r['tcp']).fmtb($r['udp']).fmtb($r['icmp']).fmtb($r['http']). fmtb($r['p2p']).fmtb($r['ftp']); echo " |