"; $rowtext .= ""; $pkgdb_split = split("\|", $pkgdb_row); $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 .= ""; $column++; } $rowtext .= ""; if($srcip == "") $dontdisplay = true; if($lastseenip == $srcip) $dontdisplay = true; if($dontdisplay == false) { echo $rowtext; $lastseenip = $srcip; } $rows++; } ?>
Action Type IP From To Attempts
"; $srcip = $pkgdb_split[1]; $rowtext .= "Whitelist "; $rowtext .= " | Blacklist "; $rowtext .= "{$col}