📄 queryip2.asp
字号:
<%@ LANGUAGE=VBScript%>
<%Server.ScriptTimeout=600
Response.Expires=0
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>您没有查询IP的权限!"
Response.End
end if
input=Application("a_c_ip_address")
iperror=0
ip=Trim(Request.Form("queryip2"))
if ip="" then iperror=1%><html>
<head>
<title>IP查询</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;}
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">【IP查询】</font></h1>
<div align="center"><a href="javascript:history.go(-1)">[返回]</a> </div>
<hr noshade size="1" color=009900>
<%if iperror=1 then%>输入的关键词为空,不能进行查询! <%else%>
<p align="center">输入的关键词:<b><font color="#FF0000"><%=ip%></font></b><br>
</p>
<table border="1" cellpadding="4" align="center" bgcolor="#E0E0E0" bordercolordark="#FFFFFF" cellspacing="0" bordercolorlight="#999999">
<tr bgcolor="#3399FF">
<td><font color="#FFFFFF">IP起始地址</font></td>
<td><font color="#FFFFFF">IP结束地址</font></td>
<td><font color="#FFFFFF">大体位置</font></td>
<td><font color="#FFFFFF">具体位置</font></td>
</tr><%for i=1 to UBound(input) step 4
if Instr(input(i),ip)<>0 or Instr(input(i+1),ip)<>0 or Instr(input(i+2),ip)<>0 or Instr(input(i+3),ip)<>0 then%>
<tr><td><%=input(i)%></td><td><%=input(i+1)%></td><td><%=input(i+2)%></td><td><%=input(i+3)%></td></tr><%end if
next%></table>
<%end if%><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 + -