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

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

<h1>{$smarty.const.PHPAGA_SITENAME|wash|default:"phpaga"}</h1>

<fieldset>

<label for="login">{t}Login{/t}:</label>
<input type="text" class="tinput" name="login" id="login" value="{$LOGIN_VALUE|wash}" size="10" maxlength="20" />
<br>

<label for="password">{t}Password{/t}:</label>
<input type="password" class="tinput" name="passwd" id="password" size="10" maxlength="50" />
<br>

<input type="submit" class="submit" name="submit" value=" {t}Log in{/t} " />

{if strlen($ERROR_STATUS)}<span class="lstatus">{$ERROR_STATUS|wash}</span>{/if}
</fieldset>
</form>

<noscript>
<div class="lstatus">
{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>

<p class="a"><a href="http://phpaga.net/">phpaga.net</a></p>
</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} -->
