Subversion Repositories taios

Rev

Rev 169 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

require '_taios.php';

$page = new Taios_Page('Login');
$page->drawHeader();
$page->drawMiddle();

?>

<p class="bold">Here you can login to Tim32 using your Tim32 account.</p>
<br />

<?php

if (isset($_GET['error']))
{
    $page->drawError($_GET['error'], false);
}

?>

<form action="login-do.php" method="POST">
<?php
$redirurl = $_SERVER['HTTP_REFERER'];
if($_GET['oldurl'])
    $redirurl = $_GET['oldurl'];
write('<input type="hidden" name="oldurl" value="' . $redirurl . '" />');
?>
<table>
<tr>
<td class="bold">Username: </td>
<td><input type="text" name="username" /></td>
</tr>
<tr>
<td class="bold">Password: </td>
<td><input type="password" name="password" /></td>
</tr>
<tr>
<td class="bold">Remember Me: </td>
<td><input type="checkbox" name="remember" value="yes" /></td>
</tr>
<tr>
<td class="bold"></td>
<td><input type="submit" value="Login" /></td>
</tr>
</table>
</form>

<?php

$page->drawFooter();

?>