<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TotCms.Web.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>会员登录</title>
    <link href="/style/global.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/js/commen.js"></script>
    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/js/login.js"></script>
    <style type="text/css">
    .l_input{ width:130px;}
    </style>
</head>
<body>
<div class="container">
    <%
      Response.WriteFile("Template/head.htm");    
    %>
 <form id="LoginForm" name="LoginForm" method="post" action="?act=do&gourl=<%=Server.UrlEncode(gourl)%>" onsubmit="return check(this)">
  <div class="br"></div>
  <table width="960" align="center" cellpadding="0" cellspacing="0" class="brd">
    <tr>
      <th colspan="2" class="th">会员登录</th>
    </tr>
    <tr>
      <td height="22" colspan="2" bgcolor="#FFFFFF" class="padleft5">&nbsp;</td>
    </tr>
    <tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>用户名</strong>：</td>
      <td width="54%" bgcolor="#FFFFFF" class="pformleft"><input name="UserName" 
              id="UserName" size="30" maxlength="20" onblur="checkUser(this)" 
              class="l_input" />
        (<span class="style3">*</span>)<span id="userMsg"></span></td>
    </tr>    
    <tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>帐号密码(至少4位)</strong>：</td>
      <td width="54%" bgcolor="#FFFFFF" class="pformleft"><input name="PassWord" 
              type="password" id="PassWord" value="" size="30" maxlength="16" 
              class="l_input" />
      (<span class="style3">*</span>)</td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>请输入验证码</strong>：</td>
    <td width="54%" bgcolor="#FFFFFF" class="pformleft">
          <img alt="" src="/CaptchaImage.aspx" onClick="this.src='/CaptchaImage.aspx?time='+Math.random()"; />
          <br />
          <input size="6" name="CheckCode" class="l_input" />          
          
          (<span class="style3">*</span>)</td>
    </tr>
    <tr>
      <td colspan="2" bgcolor="#FFFFFF" class="row4" height="50"><div align="center">
        <input type="submit" name="Submit" value="登 录" />
        <input type="reset" name="Submit2" value="取 消" />
        <a href="Reg.aspx">还没有注册？</a>
      </div></td>
    </tr>
  </table>
</form>
    <% Response.WriteFile("Template/root.htm"); %>
</div>
</body>
</html>
