<%@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="img0415/css.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;
	}
	
}

function CheckBrowser() 
{
  var app=navigator.appName;
  var verStr=navigator.appVersion;
  if (app.indexOf('Netscape') != -1) {
    alert("友情提示：\n    你使用的是Netscape浏览器，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
  } 
  else if (app.indexOf('Microsoft') != -1) {
    if (verStr.indexOf("MSIE 3.0")!=-1 || verStr.indexOf("MSIE 4.0") != -1 || verStr.indexOf("MSIE 5.0") != -1 || verStr.indexOf("MSIE 5.1") != -1)
      alert("友情提示：\n    您的浏览器版本太低，可能会导致无法使用后台的部分功能。建议您使用 IE6.0 或以上版本。");
  }
}
//-->
</script>
<style type="text/css">
<!--
body {
	background-color: #f2f2f2;
}
-->
</style></head>
<body class="bgcolor">
<p>&nbsp;</p>
<form name="Login" action="Admin_ChkLogin.asp" method="post" target="_parent" onSubmit="return CheckForm();">
  <div align="center"> 
    <p>&nbsp;</p>
    <p>&nbsp;</p>
  </div>
  <table width="320" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#CCCCCC">
    <tr valign="middle">
      <td colspan="2" bgcolor="#F2f2f2"><div align="center"> --- &nbsp;&nbsp;<strong>后台登录</strong>&nbsp;&nbsp;---</div></td>
    </tr>
    <tr valign="middle">
      <td height="35" colspan="2" bgcolor="#FFFFFF">&nbsp;屏幕分辨率为 <font color="#FF0000"><strong>1024*768</strong></font> 或以上达到最佳浏览效果！</td>
    </tr>
    <tr> 
      <td align="right" bgcolor="#FFFFFF">用户名称：</td>
      <td bgcolor="#FFFFFF"><input name="UserName"  type="text"  id="UserName4" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onFocus="this.select(); " onMouseOver="this.style.background='#f9f9f9';" onMouseOut="this.style.background='#FFFFFF'" maxlength="20"></td>
    </tr>
    <tr> 
      <td align="right" bgcolor="#FFFFFF">用户密码：</td>
      <td bgcolor="#FFFFFF"><input name="Password"  type="password" style="width:160px;border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onFocus="this.select(); " onMouseOver="this.style.background='#f9f9f9';" onMouseOut="this.style.background='#FFFFFF'" maxlength="20"></td>
    </tr>
    <tr valign="middle"> 
      <td height="35" colspan="2" bgcolor="#FFFFFF"> 
        <div align="center"> 
          <input   type="submit" name="Submit" value=" 确&nbsp;认 " style="font-size: 9pt; height: 19; width: 60; color: #000000; background-color: #f9f9f9; border: 1 solid #e1e1e1" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#f9f9f9'">
          &nbsp;&nbsp;&nbsp; 
          <input name="reset" type="reset"  id="reset" value=" 清&nbsp;除 " style="font-size: 9pt; height: 19; width: 60; color: #000000; background-color: #f9f9f9; border: 1 solid #e1e1e1" onMouseOver ="this.style.backgroundColor='#ffffff'" onMouseOut ="this.style.backgroundColor='#f9f9f9'">
          <br>
      </div></td>
    </tr>
    <tr valign="middle">
      <td height="35" colspan="2" bgcolor="#FFFFFF">    &nbsp;需要浏览器为<strong><font color="#FF0000"> </font></strong><font color="#FF0000"><strong>IE5.5</strong></font> 
    或以上版本才能正常运行！！！</td>
    </tr>
  </table>
</form>
<script language="JavaScript" type="text/JavaScript">
CheckBrowser();
SetFocus(); 
</script>
</body>
</html>
