<form name="login_form" method="post" action="{$smarty.const._URL}/login.php">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
  <tr>
    <td>{$lang.username}<br />
    <input name="username" type="text" size="15" class="inputtext" /></td>
  </tr>
  <tr>
    <td>{$lang.password}<br />
      <input name="pass" type="password" size="15" class="inputtext" />
	</td>
  </tr>
  <tr>
  <td>
  <input name="remember" type="checkbox" value="1" {if $smarty.post.remember} checked="checked"{/if} />
      {$lang.remember_me}
  </td>
  </tr>
  <tr>
    <td><label>
	<input type="hidden" name="ref" value="{$ref}" />
      <input type="submit" name="Login" value="{$lang.login}" class="inputbutton" />
    </label></td>
  </tr>
  <tr>

    <td><span class="signup"><a href="{$smarty.const._URL}/login.{$smarty.const._FEXT}?do=forgot_pass">{$lang.forgot_pass}</a></span></td>

  </tr>
</table>
</form>