<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_login.aspx.cs" Inherits="KstCMS.KstCMS_Manager.Admin_login" %>

<html>
<head runat="server">
<title></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color:#016BA9;
}
-->
</style>
<script>


    function loadwindow() {
        if (window.navigator.appName == "Netscape" || window.navigator.appName == "Opera" || getIEVersonNumber() <= 5) {
            alert("建议使用IE6以上版本浏览器登陆本系统！");
        }

    }			
</script>

</head>

<body style="background-image:url(images/login/login.jpg); background-repeat:repeat-x" onload="return loadwindow();">
<form id="form1" runat="server">
    			              <asp:ScriptManager ID="ScriptManager1" runat="server"   AllowCustomErrorsRedirect="false">
             </asp:ScriptManager>
             <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
             <ContentTemplate>
<table  width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="250" valign="bottom" style="background-image:url(images/login/login_r1_c2.jpg); background-position:center; background-repeat:no-repeat"><table width="100%" border="0" cellspacing="0" cellpadding="0"  height="70">
      <tr>
        <td width="29%">&nbsp;</td>
        <td width="71%">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="126" align="center" valign="bottom" style="background-image:url(images/login/login_r2_c2.jpg); background-position:center; background-repeat:no-repeat"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="41%" nowrap="nowrap">&nbsp;</td>
        <td width="59%"><table width="300" border="0" cellspacing="0" cellpadding="4" style="color:#FFF">
        
          <tr>
            <td width="52" nowrap="nowrap">&nbsp;</td>
            <td width="232">&nbsp;</td>
          </tr>
          <tr>
            <td nowrap="nowrap">用户名：</td>
            <td><asp:TextBox ID="UserId" runat="server" Width="150" MaxLength="20" CssClass="input_text"></asp:TextBox></td>
          </tr>
          <tr>
            <td nowrap="nowrap">密&nbsp;码：</td>
            <td><asp:TextBox ID="UserPwd" runat="server" MaxLength="20" Width="150" CssClass="input_text" TextMode="Password"></asp:TextBox></td>
          </tr>
          <tr>
            <td nowrap="nowrap">验证码：</td>
            <td>
             <input type="text" name="VateCode" maxlength="4" size="4" class="input_text" title="验证码~int!" />
                    <img src="Module/Code/ViteCode.aspx" height="18" align="absmiddle" style="cursor:pointer" onclick="this.src='Module/Code/ViteCode.aspx?id='+Math.random();" />
            </td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="89" align="center" valign="top" style="background-image:url(images/login/login_r3_c2.jpg); background-position:center; background-repeat:no-repeat"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="41%" nowrap="nowrap">&nbsp;</td>
        <td width="59%"><table width="300" border="0" cellspacing="0" cellpadding="4">
          <tr>
            <td width="52" nowrap="nowrap">&nbsp;</td>
            <td width="232">
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="images/login/loginbtn.jpg" /> &nbsp;&nbsp;<img src="images/login/GetPwdbtn.jpg" style="cursor:pointer" /></td>
          </tr>

        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td align="center"><img src="images/login/login_r4_c2.jpg" width="921" height="87" alt="" /></td>
  </tr>
</table>
                  </ContentTemplate>
             </asp:UpdatePanel>

             <script type="text/javascript" language="javascript">
                 Sys.WebForms.PageRequestManager.getInstance().add_endRequest(
                  function (sender, e) {
                      e.set_errorHandled(true);
                      if (e.get_error()) {
                          var msg = e.get_error().message.replace("Sys.WebForms.PageRequestManagerServerErrorException:", "");
                          window.alert(msg);
                      }
                  }
                )          
             </script>
                   <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                 <ProgressTemplate>正在登录，请稍候</ProgressTemplate>
                 </asp:UpdateProgress> 
</form>
</body>
</html>
