<?php
require_once "config.inc.php";
require_once "controllers/login.class.php";
$c = new Login();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?=TITLE?></title>
<link rel="stylesheet" type="text/css" href="common.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="javascript.js"></script>
</head>
<body onload="javascript: setFocus('username'); ">
<div class="divContainer">
<div class="divHeader">
<ul class="ulHeaderMenu">
<li><a href="task.php"><?=$c->getMessage("tasks")?></a></li>
<li><a href="project.php"><?=$c->getMessage("projects")?></a></li>
<li><a href="user.php"><?=$c->getMessage("users")?></a></li>
<li><a href="profile.php"><?=$c->getMessage("profile")?></a></li>
</ul>
</div>
<div class="divBody">
<form name="form1" action="<?=htmlentities($c->getCurrentPage())?>" method="post">
<table class="tableGroup" style="margin: 70px auto 120px; " border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<?=$c->getErrorLn("error", "error")?>
<table class="tableText" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="width: 7em; "><strong><?=$c->getMessage("username")?>:</strong></td>
<td><input class="inputText" type="text" name="username" id="username" value="admin" size="30" /></td>
</tr>
<tr>
<td><label><strong><?=$c->getMessage("password")?>:</strong></label></td>
<td><input class="inputText" type="password" name="password" value="admin" size="30" /></td>
</tr>
<tr>
<td style="text-align: right; "><input type="checkbox" name="remember" value="yes"<?=$c->getParam("remember") == "yes"? " checked='checked'": NULL?> /></td>
<td><?=$c->getMessage("remember_me")?></td>
</tr>
<tr>
<td> </td>
<td>
<!--
<a style="float: right; " href="rememberPassword.php">Forgot your password?</a>
-->
<input class="inputButton" style="width: 7em; " type="submit" value="<?=$c->getMessage("accept")?>" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>