<%@language=vbscript codepage=936 %>
<%
option explicit
'强制浏览器重新访问服务器下载页面，而不是从缓存读取页面
Response.Buffer = True 
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 
'主要是使随机出现的图片数字随机
%>

<html>
<head>
<title>管理员登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="inc_style.css" rel="stylesheet" type="text/css">
<script language=javascript>
<!--
function SetFocus()
{
if (document.Login.UserName.value=="")
	document.Login.UserName.focus();
else
	document.Login.UserName.select();
}
function CheckForm()
{
	if(document.Login.UserName.value=="")
	{
		alert("请输入用户名！");
		document.Login.UserName.focus();
		return false;
	}
	if(document.Login.Password.value == "")
	{
		alert("请输入密码！");
		document.Login.Password.focus();
		return false;
	}
	if (document.Login.kqiqi_checkcode.value.length == 0)
   {
       alert ("请输入您的验证码！");
       document.Login.kqiqi_checkcode.focus();   
       return(false);
    }
	
	
	
}
//-->
</script>

</head>
<body class="bgcolor" bgcolor="#E6E6E6" background="images/bg.jpg">

<form name="Login" action="admin_login_check.asp" method="post" target="_parent" onSubmit="return CheckForm();">
			<div align="center">
			<table width="740" border="0" cellspacing="1" bordercolor="#cac8c9" height="532" >
          <tr align="center"> 
            <td height="200" colspan="3">　</td>
          </tr>
          <tr align="center"> 
            <td height="42" colspan="3">　</td>
          </tr>
          <tr> 
            <td width="310" height="33" align="right" >用户名：</td>
            <td  height="33" colspan="2"><input name="UserName"  type="text"  id="UserName4" maxlength="20" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onMouseOver="this.style.background='#E1F4EE';" onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select(); "></td>
          </tr>
          <tr> 
            <td height="28" align="right">密&nbsp; 码：</td>
            <td height="28" colspan="2"><input name="Password"  type="password" maxlength="20" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onMouseOver="this.style.background='#E1F4EE';" onMouseOut="this.style.background='#FFFFFF'" onFocus="this.select(); "></td>
          </tr>
         <tr>
                  <td height="40" align="right">验证码：</td>
                  <td width="88" valign="middle">
                   <input name="kqiqi_checkcode"  type="text"  id="kqiqi_checkcode" style="width:80px;border-style:solid;border-width:1px;padding-left:4px;padding-right:4px;;padding-top:4px;padding-bottom:4px;" maxlength="5" size="11"></td>
                  <td width="332" valign="middle"><img src=getcode.asp alt="验证码,看不清楚请点击刷新验证码" title="看不清请点击刷新验证码" style="cursor:pointer;height:20px;" onClick="this.src='getcode.asp?rand='+Math.random()"></td>
               
                </tr>

          <tr> 
            <td colspan="3" height="45"> <div align="center"> 
                <input   type="submit" name="Submit" value=" 登 陆 ">
                <input name="reset" type="reset"  id="reset" value=" 清&nbsp;除 ">
                <br>
              </div></td>
          </tr>
          <tr> 
            <td colspan="3"> 　</td>
          </tr>
          <tr>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr>
            <td colspan="3">&nbsp;</td>
          </tr>
            </table>
</div>
			</div>
</form>

</body>
</html>