Rev 483 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
169 | tom | 1 | <?php |
2 | |||
3 | require '_taios.php'; |
||
4 | |||
5 | $page = new Taios_Page('Login'); |
||
6 | $page->drawHeader(); |
||
7 | $page->drawMiddle(); |
||
8 | |||
9 | ?> |
||
10 | |||
11 | <p class="bold">Here you can login to Tim32 using your Tim32 account.</p> |
||
484 | muzer | 12 | <p>By using this website, you hereby accept cookies being stored on your computer.</p> |
169 | tom | 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="login-do.php" method="POST"> |
||
483 | muzer | 25 | <?php |
26 | $redirurl = $_SERVER['HTTP_REFERER']; |
||
27 | if($_GET['oldurl']) |
||
28 | $redirurl = $_GET['oldurl']; |
||
29 | write('<input type="hidden" name="oldurl" value="' . $redirurl . '" />'); |
||
30 | ?> |
||
169 | tom | 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">Remember Me: </td> |
||
42 | <td><input type="checkbox" name="remember" value="yes" /></td> |
||
43 | </tr> |
||
44 | <tr> |
||
45 | <td class="bold"></td> |
||
46 | <td><input type="submit" value="Login" /></td> |
||
47 | </tr> |
||
48 | </table> |
||
49 | </form> |
||
50 | |||
51 | <?php |
||
52 | |||
53 | $page->drawFooter(); |
||
54 | |||
55 | ?> |