<%@ page language="C#" autoeventwireup="true" inherits="HL_Admin_Admin_Login, HoWaveVGO" validaterequest="true" enableEventValidation="false" %>

<!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>威购商城后台登录</title>
    <link href="Css/login.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function SetFocus() {
var obj=document.getElementById("AdminUserName");
if(obj.value == "")
{  
   obj.focus();
}
else
  obj.select();
}
var _href_=(top.location.href).toLowerCase();
if(_href_.indexOf("admin_index")>0){top.location.href="Admin_Login.aspx"};
function refreshCode(){
  document.getElementById("ImgCheckCode").innerHTML = "<img alt='验证码' title='看不清楚，换一个验证码' src='CheckCode.aspx?Rnd="+Math.random()+"'/>";

}
</script>
</head>

<body onload="SetFocus();">
    <form id="form1" runat="server">
       <div class="login">
       <div class="form-block">
              <div class="login-text">
              <div class="logimg"><img alt="Login" src="Images/Login/login_lef.gif" height="85" width="220" /></div>
              <div class="logimg"><img alt="" src="Images/Login/login_mid.gif" height="85" width="185" /></div>
              <div class="logimg logbtm"><asp:ImageButton CssClass="button" ID="LoginSubmit" OnClick="LoginSubmit_Click1" runat="server" ImageUrl="Images/Login/login_btm.gif" /></div>
              </div>
              <div class="login-form">
                <div class="inputbag user">
                 <div class="inputlabel">用户：</div>
                 <div><asp:TextBox ID="AdminUserName" runat="server" CssClass="inputbox" MaxLength="16" /></div>
                </div>
                <div class="inputbag keys">
                 <div class="inputlabel">密码：</div>
                 <div><asp:TextBox ID="AdminPassword" runat="server" CssClass="inputbox"  TextMode="Password" MaxLength="16"/></div>
                </div>
                <div class="inputbag code">
                 <div class="inputlabel">验证码：&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="err_tips" runat="server"  ForeColor="red" /></div>
                 <div style="float:left"><asp:TextBox ID="CheckCode" runat="server" CssClass="inputbox" /></div>
		 <div id="ImgCheckCode" style="float:left" onclick="javascript:refreshCode();"></div>
                </div>
              </div>
       </div>
       </div>

    </form>
    <script type="text/javascript">
    refreshCode();
    </script>
</body>
</html>
