Subversion Repositories taios

Rev

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

Rev Author Line No. Line
169 tom 1
<?php
2
 
3
require '_taios.php';
348 tom 4
require_once '_recaptchalib.php';
169 tom 5
 
6
$page = new Taios_Page('Register');
7
$page->drawHeader();
8
$page->drawMiddle();
9
 
10
?>
11
 
12
<p class="bold">Here you can create an account with Tim32.</p>
13
<br />
14
 
15
<?php
16
 
17
if (isset($_GET['error']))
18
{
19
    $page->drawError($_GET['error'], false);
20
}
21
 
22
?>
23
 
352 tom 24
<script type="text/javascript">
25
var RecaptchaOptions = {
353 tom 26
   theme : 'clean'
352 tom 27
};
28
</script>
29
 
169 tom 30
<form action="register-do.php" method="POST">
31
<table>
32
<tr>
33
<td class="bold">Username: </td>
34
<td><input type="text" name="username" /></td>
35
</tr>
36
<tr>
37
<td class="bold">Password: </td>
38
<td><input type="password" name="password" /></td>
39
</tr>
40
<tr>
41
<td class="bold">Repeat Password: </td>
42
<td><input type="password" name="password2" /></td>
43
</tr>
44
<tr>
369 tom 45
<td class="bold">Email Address: </td>
169 tom 46
<td><input type="text" name="email" /></td>
47
</tr>
48
<tr>
369 tom 49
<td class="bold">Name: </td>
169 tom 50
<td><input type="text" name="name" /></td>
51
</tr>
52
<tr>
53
<td class="bold"></td>
524 muzer 54
<td><?php echo recaptcha_get_html(RECAPTCHA_PUBLICKEY, null, !empty($_SERVER['HTTPS'])); ?></td>
348 tom 55
</tr>
56
<tr>
449 tom 57
<td class="bold">3 + 9 * 8</td>
58
<td><input type="text" name="maths" /></td>
59
</tr>
60
<tr>
348 tom 61
<td class="bold"></td>
169 tom 62
<td><input type="submit" value="Register" /></td>
63
</tr>
64
</table>
397 tom 65
 
398 tom 66
<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>
169 tom 67
</form>
68
 
69
<?php
70
 
71
$page->drawFooter();
72
 
73
?>