{*
  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">
<br>
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<form action="login.php" id="login" method="post">
			<input type="hidden" value="{$refer}" name="refer"/>
			<td id="toppage" colspan="2"><a href="#">{$lang.enterusername} {$sitename}</a>
			</td>
		</tr>
        <tr>
            <td class="lineeven"><b>» {$lang.username} :</b></td>
            <td class="lineeven"><input type="textbox" id="username" name="username" size="25"/></td>
        </tr>
        <tr>
            <td class="lineodd"><b>» {$lang.password} :</b></td>
            <td class="lineodd"><input type="password" name="password" size="25"/></td>
        </tr>
        <tr>
            <td colspan="2" class="lineeven"><input type="checkbox" name="permanent" id="permanent" value="1" /><label for="permanent">{$lang.stayloggedin}</label></td>
        </tr>

        <tr>
            <td class="lineodd" colspan="2" align="center">
                <span class="onglet-admin">
				<input type="submit" style="width:100%;" value="{$lang.login}" />
				</span>
				<span class="onglet-admin">
				<input type="button" style="width:100%;" value="{$lang.back}" onclick="javascript:history.go(-1)"/>
				</span>
            </td>
        </tr>
		{if $error}
   		<tr>
			<td class="lineeven" colspan="2" align="center"><b>{$error}</b></td>
		</tr>
        {/if}
 	</form>
   </table>

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

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

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