<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="TotCms.Web.Admin.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 runat="server">
    <title>淘特Asp.Net Cms管理后台</title>
  <link href="style/Global.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
      .input_f{ width:100px; border:solid 1px #999999;}
      .style2{ text-align:right; padding-right:20px;}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div align="left">
      <br /><br /><br /><br />
        <table bgcolor="#F7FAFE" width="500px" align="center" border="0" 
          cellpadding="0" cellspacing="0">
          <tr>
            <td class="style2">
              &nbsp;
              <img alt="TotNetCms" src="../Images/logo.gif" 
                style="width: 193px; height: 67px" /></td>
            <td valign="bottom">
              管理员登录</td>
          </tr>
          <tr>
            <td class="style2" height="35">
    
        &nbsp;
    
        用户名：</td>
            <td>
              <asp:TextBox ID="UserName" runat="server" CssClass="input_f"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="用户名不能为空" ControlToValidate="UserName"></asp:RequiredFieldValidator>
            </td>
          </tr>
          <tr>
            <td class="style2" height="35">
        &nbsp;
        密&nbsp;&nbsp;&nbsp; 码：</td>
            <td>
              <asp:TextBox ID="Password" runat="server" 
            TextMode="Password" CssClass="input_f"></asp:TextBox>
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ErrorMessage="密码不能为空" ControlToValidate="Password"></asp:RequiredFieldValidator>
            </td>
          </tr>
          <tr>
            <td class="style2">
        &nbsp;
        验证码：</td>
            <td>
              <img alt="" src="../VerifyCode.aspx" onClick="this.src='../VerifyCode.aspx?time='+Math.random()"; /><br />
              <asp:TextBox ID="CheckCode" runat="server"></asp:TextBox>              
              <asp:RequiredFieldValidator 
                ID="RequiredFieldValidator3" runat="server" 
                ErrorMessage="请填写验证码" ControlToValidate="CheckCode"></asp:RequiredFieldValidator>
              
            </td>
          </tr>
          <tr>
            <td align="center" colspan="2" height="35">
        
        <asp:Button ID="Button1" runat="server" Text="登录" onclick="Button1_Click" />
    
            </td>
          </tr>
        </table>
    </div>
    <div id="totnetcmsurl" runat="server" style="text-align:center;"></div>
    </form>
</body>
</html>
