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

📄 searchskycn.asp

📁 一个带有后台管理的小偷程序
💻 ASP
字号:
<!--#include file=bty888.inc-->
<!--
#############################################################
#            <使用时请保留以下版权信息,谢谢>                #
#  你现在使用的是千年学生联盟下载小偷+手动更新第二版        #
#  本程序提供给个人网站免费使用,千年学生联盟拥有版权       #
#  程序、页面设计:中国制造(QQ7805736)                    #
#  E-MAIL:yangxing@vip.163.com   ^_^                        #
#  千年学生联盟http://www.1000n.com                         #
#############################################################
-->
<%
Server.ScriptTimeOut=120
dim id
on error resume next 
	page=request("page")
	if page="" then
	page=1
	url="http://www.skycn.com/search.php?ss_name="&request("ss_name")&"&sor="&request("sor")
	else
	offset=20*(page-1)
	url="http://www.skycn.com/search.php?offset="&offset&"&ss_name="&request("ss_name")&"&sor="&request("sor")
	end if
	searchcode=getHTTPPage(url)
	if err.number=0 then
	start=Instr(searchcode,"找到</b>:")+7
	over=Instr(searchcode,"<b>显示")
	totalnum=mid(searchcode,start,over-start)
	start=Instr(searchcode,"共")+1
	over=Instr(searchcode,"页 |")
	totalpage=mid(searchcode,start,over-start)
	start=Instr(searchcode,"</font></td></tr><tr><td align=left>")+17
	over=Instr(searchcode,"</td></tr></td></tr></table>        </td></tr>")
	listcode=mid(searchcode,start,over-start)
	listarr=split(listcode,"<tr><td align=left>")
	for i=1 to ubound(listarr)
	over=Instr(listarr(i),"<tr><td bgcolor=#FFCC00 colspan=4>")
	softlistcode=mid(listarr(i),1,over-1)
	softlistcode=replace(softlistcode,"soft/","soft.asp?id=")
	softlistcode=replace(softlistcode,".html","")
	start=Instr(softlistcode,"[<a")+1
	over=Instr(softlistcode,"</a>]<br>")+4
	typecode=mid(softlistcode,start,over-start)
	typestr=right(typecode,15)
	typea=left(typestr,4)
	softlistcode=replace(softlistcode,typecode,typea)
	softcode=softcode&"<tr bgcolor=#F5F5F5><td align=left><img src='images/aer.gif' align='absmiddle'>"&softlistcode
	next
	Erase softlistarr
	else 
		wscript.echo err.description 
	end if
	myCache.makeEmpty()
	set myCache=nothing
%>
<HTML><HEAD><TITLE>千年学生联盟[下载]--在线查找-for 1000n</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="Microsoft FrontPage 6.0" name=GENERATOR>
<LINK href="site.css" rel=stylesheet type=text/css>
</HEAD>
<BODY text=#444444 bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" 
marginwidth="0">
<!--#include file="head.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=597 align=center
background=img/0415tit01b0.gif border=0> 
<TBODY> 
<TR> 
<TD height=4 width="763"> </TD></TR> 
<TR>
<TD width="763"><IMG height=16 src="img/0415tit01c3.gif" width=750></TD></TR>
<TR>
<TD width="763" align="center">
<table border="0" cellpadding="0" cellspacing="0" width="95%">
<tr>
<td width="100%" background="img/0415tit01bg.gif"><IMG height=28 
src="img/sousuo.gif" width=118 border=0></td>
</tr>
<tr>
<td width="100%">
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td width="100%"><table width="100%" bgcolor="#C0C0C0" cellspacing="1">       
<tr>       
  <td bgcolor="#FFFFFF" width="776"> <table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" class=2b>       
      <tr>        
        <td height="4" width="713"></td>       
      </tr>       
      <tr>        
        <td height="1" width="713" background="images/bj4.gif"><img src="images/spacer.gif" width="1" height="1"></td>       
      </tr>       
      <tr>        
        <td height="3" width="713"></td>       
      </tr>       
      <tr>       
        <form name="form1" method="post" action="searchskycn.asp">       
          <td width="715" height="30"> <input type="text" name="ss_name" size="16" maxlength="40">        
            <select name="sor" >        
              <option value="00" >全部软件</option>        
              <option value="01">国产软件</option>        
              <option value="02">国外软件</option>        
              <option value="03">汉化补丁</option>        
              <option value="wz" >软件资讯</option>        
            </select> <input type="submit" name="Submit" value=" 搜 索 "> </td>        
        </form>        
      </tr>        
    </table>        
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class=4b>        
      <tr>         
        <td bgcolor="#F5F5F5" width="428" height="25">
          <p align="center">软件名称和简介</td>        
        <td align="center" bgcolor="#F5F5F5" width="80" height="25">更新日期</td>        
        <td align="center" bgcolor="#F5F5F5" width="84" height="25">下载次数</td>        
        <td align="center" bgcolor="#F5F5F5" width="93" height="25">软件大小</td>        
      </tr>        
      <%=softcode%>         
      <tr bgcolor="#FCFCFC">         
        <td colspan="5" width="691"><table width="691">        
            <tr>         
              <td width="286">共搜索到:<b><%=totalnum%></b> 条记录 页次:<b><%=page%></b>/<b><%=totalpage%></b>页              
                每页<b>20</b></td>             
              <td align="right" width="391">分页:              
                <%             
for i=1 to totalpage             
if i=page then             
response.write "<font color=#ff0000>["&i&"]</font>"             
else             
response.write "<a href='?page="&i&"&ss_name="&request("ss_name")&"&sor="&request("sor")&"'>["&i&"]</a>"             
end if             
next             
%>             
              </td>             
            </tr>             
          </table></td>             
      </tr>             
    </table>             
</td>      
    </tr>      
  </table>      
</td>      
</tr>      
<tr>      
<td width="100%">      
          
</TD></TR>                 
                 
</table>                 
        
</table>       
<TR>      
<TD width="763" align="center" bgcolor="#FFA400">      
       
</table>      

      
 </BODY>       
<%            
	  function getHTTPPage(url)             
		on error resume next             
		dim http             
		set http=Server.createobject("Microsoft.XMLHTTP")             
		Http.open "GET",url,false             
		Http.send()             
		if Http.readystate<>4 then            
			exit function             
		end if             
		getHTTPPage=bytes2BSTR(Http.responseBody)             
		set http=nothing            
		if err.number<>0 then err.Clear              
	end function             
	Function bytes2BSTR(vIn)             
		dim strReturn             
		dim i1,ThisCharCode,NextCharCode             
		strReturn = ""             
		For i1 = 1 To LenB(vIn)             
			ThisCharCode = AscB(MidB(vIn,i1,1))             
			If ThisCharCode < &H80 Then             
				strReturn = strReturn & Chr(ThisCharCode)             
			Else             
				NextCharCode = AscB(MidB(vIn,i1+1,1))             
				strReturn = strReturn & Chr(CLng(ThisCharCode) * &H100 + CInt(NextCharCode))             
				i1 = i1 + 1             
			End If             
		Next             
		bytes2BSTR = strReturn             
	End Function             
%>

⌨️ 快捷键说明

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