db_Delete("generic", "gen_id='$delete' "); } $message = FLALAN_3.": ".$delcount; $bancount = 0; foreach($_POST['flaban'] as $ban) { if($sql -> db_Select("generic", "*", "gen_id=$ban")) { $at = $sql -> db_Fetch(); $banlist_ip = $at['gen_ip']; $sql->db_Insert("banlist", "'$banlist_ip', '".ADMINID."', '".FLALAN_4."' "); $sql -> db_Delete("generic", "gen_id='$ban' "); $bancount ++; } } $message .= ", ".FLALAN_5.": ".$bancount; } if(e_QUERY == "dabl") { $sql -> db_Delete("generic", "gen_type='auto_banned' "); $message = FLALAN_17; } if($sql -> db_Select("generic", "*", "gen_type='auto_banned' ORDER BY gen_datestamp DESC ")) { $abArray = $sql -> db_getList(); $message = FLALAN_15; foreach($abArray as $ab) { $message .= " - ".$ab['gen_ip']; } $message .= "