Файл: Website/ajax_registration.php
Строк: 53
<?php
/*** Freedom City | Check RPGBUNNY.COM for more Full RPG Sources | www.rpgbunny.com ***/include "antet.php"; include "func.php";
include "language/en.php";
$_SESSION = array();
session_destroy();
?>
<title><?php echo $title; ?></title>
<link rel="SHORTCUT ICON" href="favicon.ico">
<html>
<head>
</head>
<body>
<table width="100%" height="100%" border="0">
<tr>
<td background="layout/intro/ajax/ajaxbg.jpg">
<center>
<?php
$config=config();
if (!$config[3][1]) msg($lang['regClosed']);
$factions=factions();
$_SESSION["code"]=rand(1000, 9999);
?>
<form name="form1" method="post" action="register_.php">
<label><?php echo $lang['username'] ?><br>
<input class='textbox' type="text" name="name"><br>
</label>
<label><?php echo $lang['password'] ?><br>
<input class='textbox' type="password" name="pass"><br>
</label>
<label><?php echo $lang['retypePass'] ?><br>
<input class='textbox' type="password" name="pass_"><br>
</label>
<label><?php echo $lang['validEmail'] ?><br>
<input class='textbox' type="text" name="email"><br>
</label>
<label><?php echo $lang['faction'] ?><br>
<select class='dropdown' name="faction">
<?php for ($i=0; $i<count($factions); $i++) echo "<option value='".$i."'>".$factions[$i][1]."</option>"; ?>
</select><br><br>
</label>
<label>
<input class='button' type="submit" name="reg" value="<?php echo $lang['register'] ?>">
</label>
</form> </td>
</tr>
</table>
</body>
</html>