System socket information for both IPv4 and IPv6

(Click here for explanation of the information listed for each socket)

$table) { $elements = ($tabindex == 0 ? 7 : 7); $name = ($tabindex == 0 ? 'IPv4' : 'IPv6'); ?>
$line) { if ($i == 0) $class = 'info'; else $class = ''; if (trim($line) == "") continue; print("\n"); $j = 0; foreach (explode(' ', $line) as $entry) { if ($entry == '' || $entry == "ADDRESS") continue; if ($i == 0) print("\n"); else print("\n"); $j++; } print("\n"); } ?>
$entry$entry