2010-06-15 21:12:51 +00:00
|
|
|
<div style="width: 470px; margin: auto; margin-top: 30px;">
|
2010-06-13 19:48:40 +00:00
|
|
|
|
2010-10-23 17:01:19 +00:00
|
|
|
<div style="margin: auto; width:650px; padding:5px;">
|
2010-01-09 21:47:08 +00:00
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
2010-01-03 20:13:10 +00:00
|
|
|
<tr>
|
2010-10-23 17:01:19 +00:00
|
|
|
<td><img src="images/login-hamster.png" alt="Login required" /></td>
|
2010-01-03 20:13:10 +00:00
|
|
|
<td>
|
|
|
|
<form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" name="logonform">
|
|
|
|
<h3>Please log in:</h3>
|
|
|
|
<div style="height: 0px;"></div>
|
|
|
|
<table border="0" align="left">
|
|
|
|
<tr>
|
|
|
|
<td>Username</td>
|
2010-01-09 21:47:08 +00:00
|
|
|
<td><input type="text" name="username" /></td>
|
2010-01-03 20:13:10 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Password</td>
|
2010-01-09 21:47:08 +00:00
|
|
|
<td><input type="password" name="password" /></td>
|
2010-01-03 20:13:10 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2010-01-09 21:47:08 +00:00
|
|
|
<td colspan="2" align="right"><input type="checkbox" name="remember" />
|
|
|
|
<font size="2">Remember Me</font></td>
|
|
|
|
</tr>
|
2010-01-03 20:13:10 +00:00
|
|
|
<tr>
|
2010-02-07 14:17:02 +00:00
|
|
|
<td colspan="2" align="right"><input class="submit" name="submit" type="submit" value="Login" /></td>
|
2010-01-03 20:13:10 +00:00
|
|
|
</tr>
|
|
|
|
<?php
|
2010-02-28 13:04:07 +00:00
|
|
|
if(isset($auth_message)) {
|
2010-01-03 20:13:10 +00:00
|
|
|
echo('<tr><td colspan="2" style="font-weight: bold; color: #cc0000;">' . $auth_message . '</td></tr>');
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
</table>
|
2010-01-09 21:47:08 +00:00
|
|
|
</form>
|
|
|
|
</td>
|
2010-01-03 20:13:10 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<?php
|
2010-01-09 12:46:20 +00:00
|
|
|
|
|
|
|
|
2010-02-28 13:04:07 +00:00
|
|
|
if(isset($config['login_message'])) {
|
2010-06-15 21:12:51 +00:00
|
|
|
echo('<div style="margin-top: 10px;text-align: center; font-weight: bold; color: #cc0000; width: 470px;">'.$config['login_message'].'</div>');
|
2010-01-03 20:13:10 +00:00
|
|
|
}
|
|
|
|
?>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
document.logonform.username.focus();
|
|
|
|
// -->
|
2010-02-07 14:17:02 +00:00
|
|
|
</script>
|
2010-06-13 19:48:40 +00:00
|
|
|
|
2010-06-15 21:12:51 +00:00
|
|
|
</div>
|
2010-06-13 19:48:40 +00:00
|
|
|
</div>
|