{include file=Header.htm}
{literal}
<script language="Javascript">
/**
 * Change the value of Action dynamicly.
 *
 * @author          wwccss <wwccss@263.net>
 * @param   string  ActionMode
 */
function submitForm(ActionMode)
{
    document.getElementById("ActionMode").value = ActionMode;
    document.getElementById("LoginForm").submit();
}
</script>
{/literal}
<body style="margin-top:100px" onload="document.getElementById('UserName').focus();">
  <form method="post" name="LoginForm" id="LoginForm">
    <table align="center" class="tblnarrow noborder">
      <caption>{$TPL.Title}</caption>
      <tr>
        <th>{$TPL.UserName}</th>
        <td><input type="text" name="UserName" id="UserName" value="" /></td>
      </tr>
      <tr>
        <th>{$TPL.Password}</th>
        <td><input type="password" name="Password" value="" /></td>
      </tr>
      <tr>
        <td colspan="2" align="center">
          <input type="submit" value="{$TPL.Submit}" class="submit" onclick="submitForm('Login');" />
        </td>
      </tr>
      <tr>
        <th>{$TPL.SelectLang}</th>
        <td>{$LangList}</td>
      </tr>
      <tr>
        <th>{$TPL.SelectStyle}</th>
        <td>{$StyleList}</td>
        <input type="hidden" name="ActionMode" id="ActionMode" value="">
      </tr>
      <tr>
        <td colspan="2" align="right">
          <a href="http://forum.1zsoft.com" target="_blank">{$TPL.SupportForum}</a>
        </td>
      </tr>
    </table>
  </form>
</body>
</html>