Вход Регистрация
Файл: Website/register.php
Строк: 51
<?php

/*** Freedom City | Check RPGBUNNY.COM for more Full RPG Sources | www.rpgbunny.com ***/include "antet.php"; include "func.php";
$config=config();
if (!
$config[3][1]) msg($lang['regClosed']);
$factions=factions();
$_SESSION["code"]=rand(10009999);
?>
<html>
<?php echo "<link rel='stylesheet' type='text/css' href='".$imgs.$fimgs."default.css'>"?>

<head>
<title><?php echo $title?> - <?php echo $lang['register'?></title>
</head>

<body class="q_body">

<link rel="stylesheet" type="text/css" href="layout/css/css/style.css"/>
<div align="left">


<table class="q_table">
        <form name="form1" method="post" action="register_.php">
          <label><?php echo $lang['username'?>
          <input class='textbox' type="text" name="name">
          </label>
                <p>
                  <label><?php echo $lang['password'?>
                  <input class='textbox' type="password" name="pass">
                  </label>
          </p>
                <p>
                  <label><?php echo $lang['retypePass'?>
                  <input class='textbox' type="password" name="pass_">
                  </label>
                </p>
                <p>
                  <label><?php echo $lang['validEmail'?>
                  <input class='textbox' type="text" name="email">
                  </label>
                </p>
                <p>
                  <label><?php echo $lang['faction'?>
                  <select class='dropdown' name="faction">
                  <?php for ($i=0$i<count($factions); $i++) echo "<option value='".$i."'>".$factions[$i][1]."</option>"?>
                  </select>
                  </label>
                </p>
                <p>
                  <label><?php echo $lang['typeCode'?> '<?php echo $_SESSION["code"];?>'<img src="captcha.php">
                  <input class='textbox' type="text" name="code">
                  </label>
                </p>
                <p>
                  <label>
                  <input class='button' type="submit" name="reg" value="<?php echo $lang['submit'?>">
                  </label>
                </p>
        </form>        </td>
    </tr>
</table>


</div>

</body>

</html>
Онлайн: 0
Реклама