<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="config.asp"-->
<!--#include file="char.inc"-->
<%
response.cookies(echsys)("UserName")=""
response.cookies(echsys)("KEY")=""
response.cookies(echsys)("purview")=""
response.cookies(echsys)("fullname")=""
response.cookies(echsys)("reglevel")=""
response.cookies(echsys)("shenhe")=""
response.cookies(echsys)("ViewUrl")="admin_index.asp"%>
<!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" lang="gb2312">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=CSS/Wygkcn_Home.css rel=stylesheet>
<LINK href=CSS/Wygkcn_News.css rel=stylesheet>
<noscript><iframe scr="*"></iframe></noscript>
<title><%=copyright%><%=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>
</head>
<body>
<form method="POST" action="ChkLogin.asp" name="UserLogin" onSubmit="return CheckFormUserLogin();">
<div id=login>
  <div class="login_01"></div>
  <div class="login_02">
   <div class=ver><%=version%>&nbsp;<%=ver%></div>
   <div class=logincnt>
用户名：
  <input name="UserName"  style="width:80px;height:16px;border:1px solid #9FAABF">
密码：<input type="password" name="Passwd"  style="width:80px;height:16px;border:1px solid #9FAABF">  
验证码：<%
		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" style="width:40px;height:16px;border:1px solid #9FAABF"><%=getcode1()%>
<input name="Submit" type="image" src="images/btn_login.gif" width="54" height="24" border="0" align="absmiddle"/>
</div>
  </div>
  <div class="login_03"></div>
  <div class="copyright">版权所有：<a href="<%=logourl%>" target="_blank"><%=Copyright%></a></div>
</div>
</form>
</body>
</html>