⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 20050130_loginagine.asp

📁 在线考试系统能更便利的使你考试得到便利
💻 ASP
字号:
<!--#include file="conn.asp"-->
<%
	username=request("username")														'接受管理员用户名
	password=request("password")														'接受管理员密码
	keys=request("keys")
	mm=0
%> 

<%
if username<>"" and password<>"" then
set rs=conn.execute("select * from administrator where username='"& username & "'")	  '判断是否存在该用户
			if not (rs.bof and rs.eof) then											  '判断是否有该权限
				if rs("password")=password then
				session("password")=rs("password")		  '为真则将该用户的该权限放入SESSION中
				     Response.Redirect "add.asp"		  '跳转到管理员管理页面
				else
				   mm=1
				end if
			else
				mm=2
			end if
		elseif keys="submit" then
		mm=3
	end if
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>www.25175.com 在线考试系统v1.61</title>
<link href="25175_1.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	margin-top: 0px;
}
-->
</style></head>
<body>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="754" valign="top" bgcolor="#A0A4AC" style="line-height:140%;"> 网站名称:<font color="#0000FF"><a href="http://www.25175.com">SP.25175</a></font><br>
      网站LOGO:<a href="http://www.25175.com/logo1.GIF">http://www.25175.com/logo1.GIF</a><br>
      网站地址:<font color="#0000FF"><a href="http://www.25175.com">http://www.25175.com</a><br>
      </font>世界排名:<font color="#0000FF"><a href="http://www.alexa.com/data/details/?url=www.25175.com" target="_blank">http://www.alexa.com/data/details/?url=www.25175.com</a><br>
    </font> 在线聊天:<a href="http://wpa.qq.com/msgrd?V=1&Uin=29752345&Site=www.25175.com&Menu=yes">29752345</a></td>
  </tr>
</table>
<table width="768" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="1"><div align="center"></div></td>
  </tr>
</table>
<table width="768"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><div align=center>
            <form action="20050130_loginagine.asp" method="post" name="form2" id="form2">
              <table width="768" border="0" cellpadding="0" cellspacing="0">
                <tr bgcolor="#A0A4AC">
                  <td height="28" colspan="2">
                    <div align="center">
                      <%
			if mm=1		then 
			   Response.Write "对不起,您输入的密码有误!"
			elseif mm=2 then
			   Response.Write "您没有登陆的权限!"
			elseif mm=3 then
			   Response.Write "请输入完整的用户名和密码!"
			end if
           %>
                  </div></td>
                </tr>
                <tr>
                  <td width="339" height="25" align="right">管理员帐号:</td>
                  <td width="429" height="25"><input name="keys" type="hidden" value="submit">
                  <input name="username" type="text" class="editbox1" id="username" value="admin" size="15"></td>
                </tr>
                <tr>
                  <td height="25" align="right">管理员密码:</td>
                  <td height="25"><input name="password" type="password" class="editbox1" value="admin" size="15"></td>
                </tr>
                <tr align="center">
                  <td height="25" colspan="2">
                    <input type="submit" name="Reg2" value="登录" class="bottom">
                  <input type="reset" name="Submit32" value="重写" class="bottom">                  </td>
                </tr>
              </table>
            </form>
            </div>
			</td>
        </tr>
</table>
<table width="768"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="20" bgcolor="#A0A4AC"><div align="center" class="style1">
        <div align="center"><a href="http://www.25175.com">powered by 25175</a></div>
    </div></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -