<!-- BEGIN {$smarty.template} -->

<form action="{$ACTION}" method="post" name="flogin">

<div class="loginwrapper">
<table class="login" cellspacing="0">
  <tr> <th colspan="3">{$smarty.const.PHPAGA_SITENAME|wash|default:"phpaga"}</th> </tr>
  <tr>
    <td class="label"> {t}Login{/t}: </td>
    <td class="value"> <input type="text" class="tinput" name="login" value="{$LOGIN_VALUE|wash}" size="10" maxlength="20" /> </td>
    <td rowspan="3"> <img src="img/phpaga/mbobo.png" border="0" alt="Mbobo" /> </td>
  </tr>
  <tr>
    <td class="label"> {t}Password{/t}: </td>
    <td class="value"> <input type="password" class="tinput" name="passwd" size="10" maxlength="50" /> </td>
  </tr>
  <tr>
    <td class="row" colspan="2"> <input type="submit" name="submit" value=" {t}Log in{/t} " /> </td>
  </tr>
</table>
</div>
</form>



{if strlen($ERROR_STATUS)}<div class="loginstatus">{$ERROR_STATUS|wash}</div>{/if}

<noscript>
<div class="loginstatus">
{t}This application requires a JavaScript-enabled browser.{/t} <br />
{t}Your browser does not support JavaScript or has JavaScript  disabled.{/t} <br />
{t}You will not be able to use phpaga to its full extent.{/t}
</div>
</noscript>

<div class="loginlogo"><a href="http://phpaga.net/">phpaga.net</a></div>

<script type="text/javascript">

if (document.forms["flogin"].elements["login"].value != '')
    document.forms["flogin"].elements["passwd"].focus();
else
    document.forms["flogin"].elements["login"].focus();

</script>
</div>

</body>
</html>

<!-- END {$smarty.template} -->
