<%@language=vbscript codepage=936 %>
<%
option explicit
'强制浏览器重新访问服务器下载页面，而不是从缓存读取页面
Response.Buffer = True 
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1 
Response.Expires = 0 
Response.CacheControl = "no-cache" 
'主要是使随机出现的图片数字随机
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>欢迎登陆芜湖播客家园- 管理登录</title>
<style type="text/css">
Body {
	Background: #EDEFFE url(Common/LoginBG.gif) Top Left Repeat-X;
	Margin: 0;
	Padding: 0;
	Font-Size: 12px;
	Font-Family: Verdana, Arial, Tahoma, Helvetica, Sans-Serif;
	Text-Align: Center;
	Color: #0855A5;
}
Form {
	Margin: 0;
	Padding: 0;
}
Input {
	Font-Size: 12px;
	Font-Family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
	Margin: 0 8px 0 2px;
	Border: 1px solid #3D73BD;
	Color: #0855A5;
	Padding: 2px 3px;
}
Input.Text {
	Width: 80px;
}
Input.Code {
	Width: 38px;
}
Input.Btn{
	Background-Image: url(Common/ActionBtn.gif);
	Background-Repeat: no-repeat;
	Background-Color: #F2FBFF;
	Border-Width: 0;
	Padding-Top: 0 !important; Padding-Top: 2px;
	Width: 65px;
	Height: 23px;
	Font-Size: 12px;
	Color: #023D97;
	Cursor: Hand;
}
#All {
	Background-Image: url(Common/LoginBox.jpg);No-Repeat Center;
	Width: 635px;
	Height: 300px;
	Margin-Top: 140px;
	Margin-Left: Auto;
	Margin-Right: Auto;
	Line-height: 22px;
}
#LoginBox {
	Padding-Top: 247px;
	Margin-Left: 23px;
	Text-Align: Left;
}
#LoginBox Img {
	Margin-Left: 10px;
	Margin-Right: 10px;
	Cursor: Pointer;
}
</style>
<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.validatecode.value=="")
	{
		alert("请输入验证码！");
		document.Login.validatecode.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>






</head>
<body>

<div id="All">
  <div id="LoginBox">
	<form name="Login" action="Admin_ChkLogin.asp" method="post" target="_parent" onSubmit="return CheckForm();">
	  管理员名称:<input name="UserName"  type="text"  id="UserName4" style="width:80px;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">

&nbsp;管理员密码:<input name="Password"  type="password" style="width:80px;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">&nbsp;验证码:<input name="validatecode" type="text" id="validatecode" size="6" />&nbsp;<img src="include/validatecode.asp" width="56" height="18" border="0" align="absmiddle" ><input name="Submit" type="Submit" class="Btn" value="确认登录">
	</form>
  </div>
</div>

</body>
</html>