";
$rowtext .= "";
$pkgdb_split = split("\|", $pkgdb_row);
$rowtext .= "";
$srcip = $pkgdb_split[1];
$rowtext .= "Whitelist ";
$rowtext .= " | Blacklist ";
$rowtext .= " | ";
$column = 0;
foreach($pkgdb_split as $col) {
if($column == 4 || $column == 5 || $column == 6 || $column == 8) {
$column++;
continue;
}
if($col == "")
$dontdisplay = true;
$col = str_replace("<","",$col);
$col = str_replace(">","",$col);
$rowtext .= "{$col} | ";
$column++;
}
$rowtext .= " ";
if($srcip == "")
$dontdisplay = true;
if($lastseenip == $srcip)
$dontdisplay = true;
if($dontdisplay == false) {
echo $rowtext;
$lastseenip = $srcip;
}
$rows++;
}
?>
|