<%@ page language="C#" masterpagefile="~/putong.master" autoeventwireup="true" inherits="login, App_Web_login.aspx.cdcab7d2" title="用户登录--火车时刻表" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<form id="form1" runat="server" >
    <asp:Panel ID="Panel1" runat="server" Height="50px" Width="100%">
        <br/><br/>
   <div style="text-align:center;">
    <div id="MsgContent" style="width:300px">
      <div id="MsgHead"><b>恭喜您登录成功，您可以</b></div>
      <div id="MsgBody">
		 <div class="MessageIcon"></div>
        <div class="MessageText"><br/>
         <a href="/">单击返回首页</a><br/><br/>
         <a href="login.aspx?action=logout">退出登录</a>
         <a href="control.aspx">系统管理</a>
         </div>
		</div>
	  </div>
	</div>
   <br/><br/>
</asp:Panel>
    <asp:Panel ID="Panel2" runat="server" Height="50px" Width="100%">
       <br/><br/>
       <div style="text-align:center;">
        <div id="Div1" style="width:300px">
          <div id="Div2">错误信息</div>
          <div id="Div3">
	       <div class="ErrorIcon"></div>
           <div class="MessageText"><b>非法用户名！<br/>请尝试使用其他用户名！</b><br/><a href=""javascript:history.go(-1);"">单击返回</a></div>
	      </div>
	    </div>
      </div><br/><br/>
  </asp:Panel>
    <asp:Panel ID="Panel3" runat="server" Height="50px" Width="100%">
        <br/><br/>
   <div style="text-align:center;">
    <div id="Div4">
      <div id="Div5">用户登录</div>
      
      <div id="Div6">
	   <label>用户名：<asp:TextBox ID="username" runat="server" CssClass="userpass"></asp:TextBox>&nbsp;
           <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="username" ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。">*</asp:RequiredFieldValidator></label><br/><br/>
	   <label>密　码：<asp:TextBox ID="password" runat="server" CssClass="userpass" TextMode="Password"></asp:TextBox>&nbsp;
	        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="password" ErrorMessage="必须填写“密码”。" ToolTip="必须填写“密码”。">*</asp:RequiredFieldValidator></label><br/><br/>
	   <label><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="49%" align="right" style="height: 22px">
     验证码：<asp:TextBox ID="validate" runat="server" CssClass="userpass" Columns="5" Width=53px></asp:TextBox></td><td align="left" style="height: 22px"><%=getcode%><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="validate" ErrorMessage="必须填写“验证码”。" ToolTip="必须填写“验证码”。" Width=48px>*</asp:RequiredFieldValidator></td></tr></table></label>
          用户名不能超过10位，密码不能超过20位<br/>
	   　　<label></label><br/>
          <asp:Button ID="Button1" runat="server" Text="登 陆" CssClass="userbutton" OnClick="Button1_Click" />
          &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<br/><br/>
  </div>
	</div>
  </div>
  </asp:Panel>
  </form> 
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
  <br />
</asp:Content>


