<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<%
response.cookies(Forcast_SN)("UserName")=""
response.cookies(Forcast_SN)("KEY")=""
response.cookies(Forcast_SN)("purview")=""
response.cookies(Forcast_SN)("fullname")=""
response.cookies(Forcast_SN)("reglevel")=""
response.cookies(Forcast_SN)("shenhe")=""
response.cookies(Forcast_SN)("ViewUrl")="Admin_login.asp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyrightRed%><%=version%><%=ver%></title>
<script language="JavaScript">
<!--

if (self != top) top.location.href = window.location.href

//-->
</script>

<script language=javascript>
function CheckFormUserLogin()
{
	if(document.UserLogin.UserName.value=="")
	{
		alert("请输入用户名！");
		document.UserLogin.UserName.focus();
		return false;
	}
	if(document.UserLogin.Passwd.value == "")
	{
		alert("请输入密码！");
		document.UserLogin.Passwd.focus();
		return false;
	}
	if(document.UserLogin.verifycode.value == "")
	{
		alert("请输入验证码！");
		document.UserLogin.verifycode.focus();
		return false;
	}
}
</script>

<style type="text/css">
<!--
.style1 {
	font-size: 10.5pt;
	font-weight: bold;
}
body {
	background-color: #FFFFFF;
}
-->
</style>
</head>
<body background="images/linebg1.gif" topmargin="0" marginheight="0">
<br>
<p>&nbsp;</p>
<form method="POST" action="ChkLogin.asp" name="UserLogin" onSubmit="return CheckFormUserLogin();">
<table width="719" height="318" border="0" align=center cellpadding="0" cellspacing="0" background="IMAGES/login.gif">
<tr>
<td background="IMAGES/admin_1.gif" height="64" colspan="2" align="center"><font color="#000000">&nbsp;
  <p></font></td>
</tr>
<tr>
<td background="IMAGES/admin_2.gif" height="41" colspan="2" align="center"><span class="style1"></span></td>
</tr>
<tr>
<td width="270" height="176" background="IMAGES/admin_3.gif">
</td>
<td width="449" height="176" align="left" valign="top" background="IMAGES/admin_4.gif"><div align="left"></div>
  <table width="210" border="0" align="center" cellpadding="6">
  <tr>
    <td width="194">用户
      <input name="UserName" size="15" font face="宋体" style="font-size: 9pt; background-color:#EAEAF4">    </td>
  </tr>
  <tr>
    <td>密码
      <input type="password" name="Passwd" size="15" font face="宋体" style="font-size: 9pt; background-color:#EAEAF4">    </td>
  </tr>
  <tr>
    <td height="8">验证
      <%
		Function getcode1()
			Dim test
			On Error Resume Next
			Set test=Server.CreateObject("Adodb.Stream")
			Set test=Nothing
			If Err Then
				Dim zNum
				Randomize timer
				zNum = cint(8999*Rnd+1000)
				Session("verifycode") = zNum
				getcode1= Session("verifycode")		
			Else
				getcode1= "<img src=""getcode.asp"">"		
			End If
		End Function
		%>
        <input type="text" name="verifycode" size="15" font face="宋体" style="font-size: 9pt; background-color:#EAEAF4">
        <b><span><font color=#000000><%=getcode1()%></font></span></b> </td>
  </tr>
  <tr>
    <td>
      <p align="center">
        <input type="submit" name="Submit" value="确定" style="font-size: 9pt;  color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#24F708'" onMouseOut ="this.style.backgroundColor='#EAEAF4'" title="登录中极速网站管理系统">
        &nbsp;
        <input type="reset" name="Submit2" value="重输" style="font-size: 9pt;  color: #000000; background-color: #EAEAF4; solid #EAEAF4" onMouseOver ="this.style.backgroundColor='#24F708'" onMouseOut ="this.style.backgroundColor='#EAEAF4'" title="重新输入">
    </p></td>
  </tr>
</table></td>
</tr>
</table>
</form>
</body>
</html>