<?php use_helper('Validation') ?>

<TABLE border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
	<td class="title" align="center"><img src="images/blank.gif" border="0" height="2" width="1">Administrator</td>
</tr>
</TABLE>
<br/>
<br/>
<br/>
<table width="100%">
<tr>
    <td height="192" width="30%">&nbsp;</td>
    <td align="center" class="tabForm">
		<?php echo form_tag('authenticate/login') ?>
		    <div>
				<?php echo form_error('nickname') ?>
		    	<label for="nickname">Username:&nbsp;</label>
				<?php echo input_tag('nickname', $sf_params->get('nickname')) ?>
		    </div>
		    <div>
				<?php echo form_error('password') ?>
		    	<label for="password">Password:&nbsp;</label>
				<?php echo input_password_tag('password') ?>	
			</div>
			<br>
			<?php echo input_hidden_tag('referer', $sf_request->getAttribute('referer')) ?>
			<?php echo submit_tag('sign in') ?>
		</form>
	</td>
    <td width="30%">&nbsp;</td>
</tr>
</table>
