D2.X 站外搜索引擎 [2005.01.15]
HACK名称:站外搜索引擎
适用版本: DZ2.X,DZ3.X,DZ4.X
修改文件: 无
修改模板: search.htm
最后发表日期:2005.01.15
插件功能简介: 搜索站外资源,完全绿色插件
安装难度:极易
演示或技术支持网站:http://bbs.cnsky.com
安装方法:
1,打开search.htm,搜索:
2,在其前加入:
--------------------------------------------------------------------------------
- <!--{if !$searchsubmit}-->
- <br>
- <table width="{TABLEWIDTH}" border="0" cellspacing="0" cellpadding="0" align="center">
- <tr>
- <td valign="top" bgcolor="{BORDERCOLOR}"><table width="100%" border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" class="smalltxt">
- <tr bgcolor="{ALTBG2}" class="category"><td align="center"><b>搜索引擎</b></td>
- <td colspan="3">以下是站外搜索,在这里你可以进行网页,软件,图片,mp3,注册码的搜索。</td></tr>
- <tr align="center" class="header">
- <td>网页搜索
- <script language="JavaScript" type="text/JavaScript">
- function dosubmit()
- {
- if(form1.abc0.checked) window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+form1.key.value,"mspg0");
- if(form1.abc1.checked) window.open("http://site.search.sohu.com/website.jsp?page_index=0&key_word="+form1.key.value,"mspg1");
- if(form1.abc2.checked) window.open("http://cn.search.yahoo.com/search/cn?p="+form1.key.value,"mspg2");
- if(form1.abc4.checked) window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q="+form1.key.value,"mspg4");
- if(form1.abc5.checked) window.open("http://search.yahoo.com/bin/search?p="+form1.key.value,"mspg5");
- if(form1.abc6.checked) window.open("http://www1.baidu.com/baidu?word="+form1.key.value,"mspg6");
- if(form1.abc12.checked) window.open("http://bingle.pku.edu.cn/scripts/ftp_search.exe?cdtype=GB&word="+form1.key.value,"mspg12");
- if(form1.abc14.checked) window.open("http://cns.3721.com/cns.dll?fw=1&name="+form1.key.value,"mspg14");
- return false;
- }
- </script></td>
- <td>软件搜索
- <script language="JavaScript" type="text/JavaScript">
- function submitsoft()
- {
- if(form2.abc0.checked) window.open("http://search.onlinedown.net/search.asp?keyword="+form2.key.value,"mspg0");
- if(form2.abc1.checked) window.open("http://www.skycn.com/search.php?sor=00&ss_name="+form2.key.value,"mspg1");
- if(form2.abc2.checked) window.open("http://www8.pconline.com.cn/download/newswsearch.phtml?j=mh&t=software&st="+form2.key.value,"mspg2");
- if(form2.abc3.checked) window.open("http://download.pchome.net/php/search.php?pid=0&searchstr="+form2.key.value,"mspg3");
- if(form2.abc4.checked) window.open("http://download.yesky.com/servlet/mydown.yeskydown?tag=6&nameField0=NAME&searchName="+form2.key.value,"mspg4");
- if(form2.abc5.checked) window.open("http://soft.fjii.com/softlist.php?strKey="+form2.key.value,"mspg5");
- if(form2.abc6.checked) window.open("http://download.enet.com.cn/search.php?keyword="+form2.key.value,"mspg6");
- if(form2.abc8.checked) window.open("http://download.com.com/3120-20-0.html?qt="+form2.key.value,"mspg8");
- if(form2.abc9.checked) window.open("http://search.mydrivers.com/scripts/search.dll?mode=mode&item="+form2.key.value,"mspg9");
- return false;
- }
- </script></td>
- <td>图片歌曲搜索
- <script language="JavaScript" type="text/JavaScript">
- function submitimg()
- {
- if(form3.abc9.checked) window.open("http://www.google.com/images?hl=zh-CN&lr=lang_zh-CN&q="+form3.key.value,"mspg9");
- if(form3.abc10.checked) window.open("http://pic.sina.com.cn/cgi-bin/retr/search?query="+form3.key.value,"mspg10");
- if(form3.abc11.checked) window.open("http://www.baidu.com/i?ct=201326592&cl=2&lm=-1&tn=baiduimage&word="+form3.key.value,"mspg11");
- if(form3.abc13.checked) window.open("http://flash.baidu.com/wstsearch?tn=flash&sort=time&rn=10&pn=0&cl=3&f=8&ct=33554432&word="+form3.key.value,"mspg13");
- return false;
- }
- </script></td>
- <td>注册码搜索
- <script language="JavaScript" type="text/JavaScript">
- function submitsong()
- {
- if(form4.abc7.checked) window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3&ct=134217728&lm=-1&rn=&word="+form4.key.value,"mspg7");
- if(form4.abc8.checked) window.open("http://search.sogua.com/search/search.asp?fmp3=1&frm=1&fwma=1&fasf=1&go.x=25&go.y=19&key="+form4.key.value,"mspg8");
- if(form4.abc9.checked) window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3lyric&ct=150994944&lm=-1&rn=&word="+form4.key.value,"mspg9");
- return false;
- }
- </script></td>
- </tr>
- <tr>
- <td rowspan="2" valign="top" bgcolor="{ALTBG2}"><table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" class="smalltxt">
- <FORM name=form1 onsubmit=return(dosubmit())>
- <TBODY>
- <TR><TD colSpan=2 height=30><INPUT onmouseover=this.focus() onfocus=this.select() onclick="javascript:(document.form1.key.value='')" size=12 value=请输入关键字 name=key>
- <INPUT type=submit value=搜索 name=B2></TD></TR>
- <TR><TD height=20><INPUT type=checkbox value=3721 name=abc4> google</TD>
- <TD height="20"><INPUT name=abc6 type=checkbox value=google checked> 百度</TD></TR>
- <TR><TD height=20><INPUT type=checkbox value=sina name=abc0> 新浪</TD>
- <TD height="20"><INPUT type=checkbox value=yahooe name=abc5> Yahoo</TD></TR>
- <TR><TD height=20><INPUT type=checkbox value=sohu name=abc1> 搜狐</TD>
- <TD height="20"><INPUT type=checkbox value=yahoo name=abc2> 中文雅虎</TD></TR>
- <TR><TD height=20><INPUT type=checkbox value=baidump3 name=abc14> 3721</TD>
- <TD height="20"><INPUT type=checkbox value=baidump3 name=abc12> 天网搜索</TD></TR>
- </form></table></td>
-
- <td rowspan="2" bgcolor="{ALTBG2}"><table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" class="smalltxt">
- <FORM name=form2 onsubmit=return(submitsoft())>
- <TBODY>
- <TR><TD height=30 colSpan=2 ><INPUT onmouseover=this.focus() onfocus=this.select() onclick="javascript:(document.form2.key.value='')" size=12 value=软件搜索 name=key>
- <INPUT type=submit value=软件搜索 name=B1></TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox CHECKED value=sina name=abc0>华军软件园</TD>
- <TD><INPUT type=checkbox value=sohu name=abc1>天空软件</TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox value=yahoo name=abc2>太平洋软件</TD>
- <TD><INPUT type=checkbox value=yeah name=abc3>电脑之家</TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox value=3721 name=abc4> 天极网下载</TD>
- <TD><INPUT type=checkbox value=yahooe name=abc5>福建热线</TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox value=google name=abc6>eNet下载</TD>
- <TD><INPUT type=checkbox value=baidump3 name=abc9>驱动之家</TD></TR>
- <TR><TD colSpan=2 height=20><INPUT type=checkbox value=baidump3 name=abc8>DownLoad.COM(全球)</TD></TR>
- </FORM>
- </table></td>
-
- <td bgcolor="{ALTBG2}"><table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" class="smalltxt">
- <FORM name=form3 onsubmit=return(submitimg())>
- <TBODY>
- <TR><TD colSpan=2 height=30><INPUT onmouseover=this.focus() onfocus=this.select() onclick="javascript:(document.form3.key.value='')" size=12 value=图片搜索 name=key>
- <INPUT type=submit value=图片搜索 name=B2></TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox CHECKED value=baidump3 name=abc9> google</TD>
- <TD height="20"><INPUT type=checkbox value=baidump3 name=abc10>新浪</TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox value=baidump3 name=abc11>百度</TD>
- <TD height="20"><INPUT type=checkbox value=baidump3 name=abc13>FLASH </TD></TR>
- </FORM>
- </table></td>
- <FORM action=http://astalavista.box.sk/cgi-bin/robot method=get target="_blank">
- <td align="center" valign="top" bgcolor="{ALTBG2}"><INPUT name=srch size="12" maxLength=100>
- <br><INPUT type=submit value="注册码搜索" name=submit></td></FORM>
- </tr>
- <tr>
- <td valign="top" bgcolor="{ALTBG2}"><table border="0" cellspacing="{BORDERWIDTH}" cellpadding="{TABLESPACE}" width="100%" class="smalltxt">
- <FORM name=form4 onsubmit=return(submitsong())>
- <TBODY>
- <TR><TD colSpan=2 height=30><INPUT onmouseover=this.focus() onfocus=this.select() onclick="javascript:(document.form4.key.value='')" size=12 value=mp3歌曲歌词 name=key>
- <INPUT type=submit value=mp3搜索></TD></TR>
- <TR><TD width="50%" height=20><INPUT type=checkbox value=baidump3 name=abc7>百度mp3</TD>
- <TD height="20"><INPUT type=checkbox value=baidump3 name=abc8>搜刮mp3</TD></TR>
- <TR><TD width="50%" height=20><INPUT name=abc9 type=checkbox value=baidump3 checked>歌词</TD>
- <TD height="20"> </TD></TR>
- </FORM>
- </table></td>
- <td bgcolor="{ALTBG2}">
- 收集整理:falcon<br>
- 制作日期:2004-01-10 8:51 AM<br>
- 更新时间:2004-0504
- <!-- #BeginDate format:IS1a -->2004-03-01 4:45 PM<!-- #EndDate --></td>
- </tr>
- </table></td>
- </tr>
- </table>
- <!--{/if}-->
复制代码
很早弄的,整理出来而已
[ 本帖最后由 falcon 于 2005-8-15 06:51 编辑 ] |