<!--#include file="../siteconfig/conn.asp"-->
<%
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("GetCode") = zNum
		getcode1= Session("GetCode")		
	Else
		getcode1= "<img src=""getcode.asp"">"		
	End If
End Function
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>好251网址之家后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html;charset=gbk" />
<link rel="stylesheet" href="images/admincp/admincp.css" type="text/css" media="all" />
<meta content="Comsenz Inc." name="Copyright" />
</head>
<body>
<script language="JavaScript">
	if(self.parent.frames.length != 0) {
		self.parent.location=document.location;
	}
function check()
{
    var form = document.login;
	if (form.Admin_UserName.value =="")
	{
		alert("请输入用户名!");
		form.Admin_UserName.focus();
		return false;
	}
	if (form.Admin_UserPass.value =="")
	{
		alert("请先输入密码!");
		form.Admin_UserPass.focus();
		return false;
	}
	if (form.mofei.value =="")
	{
		alert("请先输入验证码!");
		form.mofei.focus();
		return false;
	}
	return true;
}
</script>
<table width="700" class="logintb">
<tr>
	<td width="339" class="login">
		<h1>好251网址之家后台管理系统</h1>
		<p>好251网址之家是目前网上最流行的网址站源码。免费无限制，无商业版本。免费无限制，无商业版本，优越的核心广受站长们喜爱。</p>
	</td>

	<td width="271">		<form method="post" name="login" id="loginform" action="chklogin.asp" onSubmit="return check();">
		<p class="logintitle">用户名: </p>
		<p class="loginform"><input name="Admin_UserName" tabindex="1" type="text" class="txt" /></p>
		<p class="logintitle">密　码:</p>
		<p class="loginform"><input name="Admin_UserPass" tabindex="1" type="password" class="txt" /></p>
		<p class="logintitle">验证码:</p>
		<p class="loginform"><input name="mofei" type="text" class="txt" tabindex="1" />
		&nbsp;<%=getcode1()%></p>
		<p class="loginnofloat"><input name="submit" value="提交"  tabindex="3" type="submit" class="btn" /></p>
		</form>
	</td>
</tr>

<tr>
	<td colspan="2" class="footer">
		<div class="copyright">
			<p>Powered by <a href="http://www.hao251.com/" target="_blank">好251网址之家</a> 3.0 </p>
			<p>&copy; 2007-2010, <a href="http://www.itmop.com" target="_blank">itmop</a> Inc.</p>
		</div>
	</td>
</tr>
</table>
</body>
</html>
