if (isset($_GET['ban']) && is_numeric($_GET['ban'])){
$a = dbquery("DELETE FROM ".$db_prefix."bad_login");
while ($b = dbarray($a)){
$c = $b['login_ip'];
$result = dbquery("INSERT INTO ".$db_prefix."blacklist WHERE blacklist_ip='$c'");
redirect(FUSION_SELF);
}
}