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

📄 querykeyword.asp

📁 聊天室源码呵呵你好用~~~~~~2.0版本
💻 ASP
字号:
<%@ LANGUAGE=VBScript%>
<%Response.Expires=0
Server.ScriptTimeout=600
if Session("a_c_user_name")="" then
 Response.write "<b>[操作失败]</b><p>您尚未登录(或已经超时退出),不能进行此操作!"
 Response.end
end if
if Session("a_c_user_level")<9 then
 Response.Write "<b>[操作失败]</b><p>您没有帐号查询的权限!"
 Response.End
end if
querykeyword=Trim(Request.Form("querykeyword"))
if querykeyword="" then
 Response.Write "<br><br><br><p align=center>关键词不能为空,请重新输入!</p>"
 Response.Write "<p align=center><a href=Javascript:history.go(-1)>点击此处修改</a></p>"
 Response.end
end if
q=querykeyword
querykeyword=LCase(Trim(querykeyword))
dim show()
input=Application("a_c_reg_data")
countud=Application("a_c_reg_num")
countudnum=(countud-4)/8
s=0
for i=5 to countud step 8
 if InStr(LCase(input(i)),querykeyword)<>0 or InStr(LCase(input(i+1)),querykeyword)<>0 or InStr(LCase(input(i+2)),querykeyword)<>0 or InStr(LCase(input(i+3)),querykeyword)<>0 or InStr(LCase(input(i+4)),querykeyword)<>0 or InStr(LCase(input(i+5)),querykeyword)<>0 or InStr(LCase(input(i+6)),querykeyword)<>0 or InStr(LCase(input(i+7)),querykeyword)<>0 then
  Redim preserve show(s+1),show(s+2),show(s+3),show(s+4),show(s+5),show(s+6),show(s+7),show(s+8)
  show(s+1)=input(i)
  show(s+2)=input(i+1)
  show(s+3)=input(i+2)
  show(s+4)=input(i+3)
  show(s+5)=input(i+4)
  show(s+6)=input(i+5)
  show(s+7)=input(i+6)
  show(s+8)=input(i+7)
  s=s+8
 end if
next%><html>
<head>
<title>帐号查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type='text/css'>
<!--
.p9 {line-height: 150%; font-size: 9pt;}
.p12 {line-height: 150%; font-size: 12pt;}
td {line-height: 150%; font-size: 9pt;}
body {line-height: 150%;font-size : 12pt;}
A  {text-decoration: none;}
A:Hover  {text-decoration : none;}
a:visited {  color: #0000FF}
-->
</style>
</head>
<body bgcolor="FFFFFF">
<h1 align="center"><font color="0099FF"><a name="begin"></a>【帐号查询】</font></h1>
<hr noshade size="1" color=009900>
<p><b>[按关键词查询]</b> 在 <font color="FF0000"><b><%=countudnum%></b></font> 个注册名中找到 
<font color="FF0000"><b><%=s/8%></b></font> 个包含关键词 <font color="FF0000"><b><%=q%></b></font> 的用户名</p>
<p align="center"><a href="query.asp">【返回帐号查询】</a></p>
<hr noshade size="1" color=009900>
<table width="100%" border="0" align="center">
<tr>
<td><font color="FF0000">序号</font></td>
<td><font color="FF0000">用户名</font></td>
<td><font color="FF0000">密码</font></td>
<td><font color="FF0000">等级</font></td>
<td><font color="FF0000">访问次数</font></td>
<td><font color="FF0000">经验</font></td>
<td><font color="FF0000">注册时间</font></td>
<td><font color="FF0000">最后时间</font></td>
<td><font color="FF0000">最后IP</font></td>
</tr>
<%for i=1 to s step 8%> 
<tr>
<td><%=(i+7)/8%></td>
<td><%=show(i)%></td>
<td><%if Session("a_c_user_level")>=10 then Response.Write show(i+1)%></td>
<td><%=show(i+2)%></td>
<td><%=show(i+3)%></td>
<td><%=show(i+4)%></td>
<td><%=show(i+5)%></td>
<td><%=show(i+6)%></td>
<td><%=show(i+7)%></td>
</tr>
<%next%>
</table>
<div align="center">
<hr noshade size="1" color=009900>
<a href="#begin">返回页首</a></div>
<hr noshade size="1" color=009900>
<div align="center" class="p9"><script src="use.asp"></script> <script src="sn.asp"></script><br><script src="copyright.asp"></script></div>
</body>
</html>

⌨️ 快捷键说明

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