Filter:

"; $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 and $filter == "") $dontdisplay = true; if($filter <> "") { if(strstr($rowtext, $filter) == true) $dontdisplay = false; else $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}