query("SELECT Ip FROM ".$configuration['prefix']."_msg WHERE Id = ".$_GET['id']); list($ip) = mysql_fetch_array($connect->query); $connect->query("INSERT INTO ".$configuration['prefix']."_bann VALUES('".$ip."')"); $connect->close(); header('Location: ../index.php'); } ?>