<div>
  <%	If Session("UserName")="" Then
%>
  <table border="0" cellspacing="0" cellpadding="0"  class="logintable">
    <form action="UserLogin.asp" method="post" name="UserLogin" onSubmit="return CheckForm();">
      <tr>
        <td height="41" colspan="2" >&nbsp;</td>
      </tr>
      <tr>
        <td height="35">用户名：<input name="UserName" type="text" id="UserName" size="12" /></td>
        <td rowspan="2" style="padding-left:8px;"><input type="image" name="imageField" src="images/login1.gif" /></td>
      </tr>
      <tr>
        <td height="23">密&nbsp;&nbsp;码：
        <input name="password" type="text" id="password" size="12" /></td>
      </tr>
      <tr>
        <td height="60" align="center"><a href="UserReg.asp"><img src="images/regbut.gif" width="99" height="21" border="0" /></a></td>
        <td>&nbsp;</td>
      </tr>
    </form>
  </table>
  <%else
response.write "欢迎您！" & Session("UserName") & "<br><br>"
		response.write "用户控制面板：<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='UserServer.asp'><b>进入会员中心</b></a> <a href='UserLogout.asp?Action=Ch'>退出会员中心</a><br><br>"	end if%>
</div>
