  <table border=0 cellspacing=0 cellpadding=0 width='100%'>
  <tr><td align=center><img src='images/index/user_login.gif' border=0></td></tr>
  <tr><td height=120>
<%if login_mode="" then%>
    <table border=0 cellspacing=0 cellpadding=0 width='100%'>
    <tr align=center>
    <td width='30%'><img src='images/index/user_pass.gif' border=0></td>
    <td width='70%'>
      <table border=0>
      <form name=login_frm method=post action='login.asp?action=login_chk' onsubmit="return login_true()">
      <tr>
      <td>用户：</td>
      <td><input type=text name=username value='' size=12 maxlength=20></td>
      </tr>
      <tr>
      <td>密码：</td>
      <td><input type=password name=password size=12 maxlength=20<%if int(format_mid_num(46))=0 then%> readOnly onKeyDown="Calc.password.value=this.value" onChange="Calc.password.value=this.value" onclick="password1=this;showkeyboard();this.readOnly=1;Calc.password.value=''"<%end if%>></td>
      </tr>
      <tr><td colspan=2 height=30 align=center><input type=checkbox id=id_memery_info name=memery_info value='yes'><label for=id_memery_info id=label_memery_info>记住密码</label>&nbsp;<input type=image src='images/index/user_login_button.gif' border=0 align=absmiddle></td></tr>
      </form>
      </table>
    </td>
    </tr>
    <tr><td colspan=2 align=center>
      <table border=0>
      <tr>
      <td><a href='register.asp'><img src='images/index/user_register.gif' border=0></a></td>
      <td width=5></td>
      <td><a href='user_getpass.asp'><img src='images/index/user_getpass.gif' border=0></a></td>
      </tr>
      </table>
    </td></tr>
    </table>
<%else%>
    <table border=0 cellspacing=1 cellpadding=4 width='100%'>
    <tr><td align=center><font class=red2><script language="javascript" src="style/time.js"></script></font>&nbsp;&nbsp;<font class=blue><b><%response.write login_username%></b></font></td></tr>
    <tr><td align=center>你现在已登陆 <font class=red><%response.write format_power(login_mode,1)%></font> 模式</td></tr>
    <tr><td align=center>您目前有<font class=red2><%response.write login_emoney%></font><%response.write joekoe_cms.web_unit%>&nbsp;<a href='emoney.asp'><img src='skin/<%response.write joekoe_cms.web_skin%>/small/emoney.gif' border=0 align=absmiddle></a>，<%response.write login_integral%>分</td></tr>
    <tr><td align=center><a href='user/mail.asp'><img src='skin/<%response.write joekoe_cms.web_skin%>/mail/new.gif' align=absmiddle border=0>&nbsp;我的短信箱（
<%
if login_msg>0 then
  response.write "<font class=red>"&login_msg&"</font>"
else
  response.write "<font class=gray>0</font>"
end if
%>
&nbsp;新）</a></td></tr>
    <tr><td align=center><img src='skin/<%response.write joekoe_cms.web_skin%>/small/u_main.gif' border=0 align=absmiddle>&nbsp;<a href='user_main.asp'>用户中心</a>&nbsp;&nbsp;<img src='skin/<%response.write joekoe_cms.web_skin%>/small/u_logout.gif' border=0 align=absmiddle>&nbsp;<a href='login.asp?action=logout' onclick="javascript:return click_return('退出本次登陆',1);">退出登陆</a></td></tr>
    </table>
<%end if%>
  </td></tr>
  </table>
<script language=JavaScript src='../style/softkeyboard.js'></script>
<script>
window.onload=
	function ()
	{
		password1=null;		
		initCalc();
		Load();
	}
</script>