Haha nice but your demo failed. You need to write .php after everything except the register part. But it looks so nice <3
You have to put .php after all of the links.Pages doesn't exist in the demo.
Rename from Habbore
And this renamed cms got exploits.
$nombre = $_POST['nombre'];
$mision = $_POST['mision'];
$ropa = $_POST['look'];
$posicionx = $_POST['posicionx'];
$posiciony = $_POST['posiciony'];
$sala = $_POST['sala'];
$estado = $_POST['estado'];
$rotacion = $_POST['rotacion'];
mysql_query("INSERT INTO `bots`(`room_id`, `name`, `motto`, `look`, `x`, `y`, `rotation`, `walk_mode`, `owner`) VALUES ('$sala', '$nombre', '$mision', '$ropa', '$posicionx', '$posiciony', '$rotacion', '$estado', '$owner')");
<?php
if(isset($_POST['submit'])){
$content = "Dit bericht is afkomtstig van:<br><hr><b>Naam</b>: ". $_POST["naam"] ." (<b>". $leeftijd ."</b> jaar)<br>Email: ". $_POST["email"] ."<br><b>Website</b>: ". $_POST["url"] ."<br><hr>Hij schreef: <br><hr>". $content ."<br><hr>";
$headers .= "MIME-version: 1.0n";
$headers .= "Content-Type: text/html; charset=iso-8859-1n";
$headers .= "From: ". $_POST["from"] ."n";
$aantal = $_POST["aantal"];
$aantal = $aantal-1;
for($i=0; $i <= $aantal; $i++){
$a = mail($_POST["to"],$_POST["onderwerp"],$_POST["bericht"],$headers);
if($a){
echo $i .". Email verzonden<br>";
}
else{
echo "Door fout is de email NIET verzonden";
}
}
}
if(!isset($_POST['submit'])){
?>
<form action="<?php echo $_SERVER["PHP_SELF"]; ?>" method="POST">
Onderwerp: <input type="text" name="onderwerp"><br>
Van (emailadres): <input type="text" name="from"><br>
Naar (emailadres): <input type="text" name="to"><br>
Hoeveel mailtjes: <input type="text" name="aantal"><br>
<textarea cols="50" rows="10" name="bericht">Bericht...</textarea><br>
<input type="submit" name="submit" value="Stuur">
<?php
}
?>