Rev 353 | Rev 398 | 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 | |||
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> |
||
351 | tom | 54 | <td><?php echo recaptcha_get_html(RECAPTCHA_PUBLICKEY); ?></td> |
348 | tom | 55 | </tr> |
56 | <tr> |
||
57 | <td class="bold"></td> |
||
169 | tom | 58 | <td><input type="submit" value="Register" /></td> |
59 | </tr> |
||
60 | </table> |
||
61 | </form> |
||
62 | |||
63 | <?php |
||
64 | |||
65 | $page->drawFooter(); |
||
66 | |||
67 | ?> |