{*
  Login page
  $Id: login.tpl,v 1.5 2005/06/04 16:59:36 andig2 Exp $
*}

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

<div id="topspacer"></div>

<div id="content">

<div id="contentlogin">
    <form action="login.php" id="login" method="post">
    <input type="hidden" value="{$refer}" name="refer"/>

        <table width="80%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="2" class="title-classement">{$lang.enterusername} {$sitename}</td>
		</tr>
        <tr>
            <td>{$lang.username} :</td>
            <td><input type="textbox" id="username" name="username" size="25"/></td>
        </tr>
        <tr>
            <td>{$lang.password} :</td>
            <td><input type="password" name="password" size="25"/></td>
        </tr>
        <tr>
            <td colspan="2"><input type="checkbox" name="permanent" id="permanent" value="1" /><label for="permanent">{$lang.stayloggedin}</label></td>
        </tr>
		{if $error}
		<tr>
            <td colspan="2">{$error}</td>
        </tr>
		{/if}
        <tr>
            <td colspan="2" align="center">
                <input type="submit" style="width:100%;" class="button" value="{$lang.login}" />
            </td>
        </tr>
        </table>
    </form>

</div>
<!-- /contentlogin -->

</div>
<!-- /content -->

<script language="JavaScript" type="text/javascript">
// <!--
    document.forms['login'].username.focus();
// -->
</script>
