Rev 350 | Rev 352 | Go to most recent revision | 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 | |||
24 | <form action="register-do.php" method="POST"> |
||
25 | <table> |
||
26 | <tr> |
||
27 | <td class="bold">Username: </td> |
||
28 | <td><input type="text" name="username" /></td> |
||
29 | </tr> |
||
30 | <tr> |
||
31 | <td class="bold">Password: </td> |
||
32 | <td><input type="password" name="password" /></td> |
||
33 | </tr> |
||
34 | <tr> |
||
35 | <td class="bold">Repeat Password: </td> |
||
36 | <td><input type="password" name="password2" /></td> |
||
37 | </tr> |
||
38 | <tr> |
||
39 | <td class="bold">Email Address</td>: </td> |
||
40 | <td><input type="text" name="email" /></td> |
||
41 | </tr> |
||
42 | <tr> |
||
43 | <td class="bold">Name</td>: </td> |
||
44 | <td><input type="text" name="name" /></td> |
||
45 | </tr> |
||
46 | <tr> |
||
47 | <td class="bold"></td> |
||
351 | tom | 48 | <td><?php echo recaptcha_get_html(RECAPTCHA_PUBLICKEY); ?></td> |
348 | tom | 49 | </tr> |
50 | <tr> |
||
51 | <td class="bold"></td> |
||
169 | tom | 52 | <td><input type="submit" value="Register" /></td> |
53 | </tr> |
||
54 | </table> |
||
55 | </form> |
||
56 | |||
57 | <?php |
||
58 | |||
59 | $page->drawFooter(); |
||
60 | |||
61 | ?> |