Subversion Repositories taios

Rev

Rev 449 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

require '_taios.php';
require_once '_recaptchalib.php';

$page = new Taios_Page('Register');
$page->drawHeader();
$page->drawMiddle();

?>

<p class="bold">Here you can create an account with Tim32.</p>
<br />

<?php

if (isset($_GET['error']))
{
    $page->drawError($_GET['error'], false);
}

?>

<script type="text/javascript">
var RecaptchaOptions = {
   theme : 'clean'
};
</script>

<form action="register-do.php" method="POST">
<table>
<tr>
<td class="bold">Username: </td>
<td><input type="text" name="username" /></td>
</tr>
<tr>
<td class="bold">Password: </td>
<td><input type="password" name="password" /></td>
</tr>
<tr>
<td class="bold">Repeat Password: </td>
<td><input type="password" name="password2" /></td>
</tr>
<tr>
<td class="bold">Email Address: </td>
<td><input type="text" name="email" /></td>
</tr>
<tr>
<td class="bold">Name: </td>
<td><input type="text" name="name" /></td>
</tr>
<tr>
<td class="bold"></td>
<td><?php echo recaptcha_get_html(RECAPTCHA_PUBLICKEY, null, !empty($_SERVER['HTTPS'])); ?></td>
</tr>
<tr>
<td class="bold">3 + 9 * 8</td>
<td><input type="text" name="maths" /></td>
</tr>
<tr>
<td class="bold"></td>
<td><input type="submit" value="Register" /></td>
</tr>
</table>

<p style="text-align: center; color: #666666">By registering to Tim32, you agree to be reasonable in all your suggestion/accusations and advoid subjectivity. Suvbjective posts/comments are subject to removal by a Subject of the Tim32 Admins.</p>
</form>

<?php

$page->drawFooter();

?>