Subversion Repositories taios

Rev

Rev 169 | 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';
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>
12
<br />
13
 
14
<?php
15
 
16
if (isset($_GET['error']))
17
{
18
    $page->drawError($_GET['error'], false);
19
}
20
 
21
?>
22
 
23
<form action="login-do.php" method="POST">
483 muzer 24
<?php
25
$redirurl = $_SERVER['HTTP_REFERER'];
26
if($_GET['oldurl'])
27
    $redirurl = $_GET['oldurl'];
28
write('<input type="hidden" name="oldurl" value="' . $redirurl . '" />');
29
?>
169 tom 30
<table>
31
<tr>
32
<td class="bold">Username: </td>
33
<td><input type="text" name="username" /></td>
34
</tr>
35
<tr>
36
<td class="bold">Password: </td>
37
<td><input type="password" name="password" /></td>
38
</tr>
39
<tr>
40
<td class="bold">Remember Me: </td>
41
<td><input type="checkbox" name="remember" value="yes" /></td>
42
</tr>
43
<tr>
44
<td class="bold"></td>
45
<td><input type="submit" value="Login" /></td>
46
</tr>
47
</table>
48
</form>
49
 
50
<?php
51
 
52
$page->drawFooter();
53
 
54
?>