

<form action="index.php?p=login" method="post" name="login" id="login">
  <table width="100%"  border="0" cellpadding="5" cellspacing="1">
          <tr>
            <td colspan="2" class="box_outerhead">{$msgtitle}</td>
          </tr>
          <tr>
            <td colspan="2" >{$msg}</td>
          </tr>
		  {if $loginform==1}
          <tr>
            <td colspan="2" class="box_outerhead">{$lang.pleaselogin}</td>
          </tr>
          <tr>
            <td width="20%" nowrap class="row_first">{$lang.loginusername}</td>
            <td class="row_second"><input name="kname" type="text" id="kname" /></td>
          </tr>
          <tr>
            <td width="20%" nowrap class="row_first">{$lang.loginpassword}</td>
            <td class="row_second"><input name="kpass" type="password" id="kpass" /></td>
          </tr>
          <tr>
            <td width="20%" nowrap class="row_first">{$lang.rememberlogin}</td>
            <td class="row_second"><input name="staylogged" type="checkbox" id="staylogged" value="ja" checked="checked" /></td>
          </tr>
          <tr>
            <td width="20%" nowrap class="row_first">&nbsp;</td>
            <td class="row_second"><input name="Submit" type="submit" class="button" value="{$lang.buttonlogin}" />
              <input name="do" type="hidden" id="do" value="login" />
              <input name="redir" type="hidden" id="redir" value="{$redir}" /></td>
          </tr>
          <tr>
            <td colspan="2" class="box_outerhead"><div align="center"><a href="index.php?p=pwlost&amp;area={$area}">{$lang.ispasswordlost}</a> | <a href="index.php?p=register&amp;area={$area}">{$lang.wanttoregister}</a> </div></td>
          </tr>
		  {/if}
  </table>
</form>
