<!--#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>网址大全后台管理系统</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" align="center" valign="middle">
		<table width="170" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td align="center"><img src="../i/logo.gif" width="170" height="60"></td>
          </tr>
          <tr>
            <td height="8"></td>
          </tr>
          <tr>
            <td height="22"><p>网址大全网站是中国最实用</p>            </td>
          </tr>
          <tr>
            <td height="22">的网址导航、搜索大全网站</td>
          </tr>
        </table>
		<h1>&nbsp;</h1>
	</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.kanjiufa.com" target="_blank">网址大全</a> </p>
			<p>&copy; 2007-2010</p>
		</div>
	</td>
</tr>
</table>
</body>
</html>
