Google
      
 3 123
发新话题
打印

[亲测] 推荐两款搜索引墼代码[让你的论坛和百度等搜索引墼一样功能强大]

推荐两款搜索引墼代码[让你的论坛和百度等搜索引墼一样功能强大]

笫一个综合型的:
<script>function search4()
{if(form1.abc0.checked)
window.open("http://post.baidu.com/f?kw="+form1.key.value,"mspg0");
if(form1.abc1.checked)
window.open("http://www.sogou.com/web?sogouhome=&shuru=shou&query="+form1.key.value,"mspg1");
if(form1.abc2.checked)
window.open("http://cn.search.yahoo.com/search?p="+form1.key.value,"mspg2");
if(form1.abc3.checked)
window.open("http://www.skycn.com/search.php?sor=00&ss_name="+form1.key.value,"mspg3");
if(form1.abc4.checked)
window.open("http://www.google.cn/search?hl=zh-CN&q="+form1.key.value,"mspg4");
if(form1.abc5.checked)
window.open("http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikaslist&rn=10&word="+form1.key.value,"mspg5");
if(form1.abc6.checked)
window.open("http://www.baidu.com/s?tn=sitesowang&word="+form1.key.value,"mspg6");
if(form1.abc7.checked)
window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3&ct=134217728&lm=-1&rn=&word="+form1.key.value,"mspg7");

if(form1.abc9.checked)
window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3lyric&ct=150994944&lm=-1&rn=&word="+form1.key.value,"mspg9");
if(form1.abc10.checked)
window.open("http://www.baidu.com/baidu?ft=all&q1="+form1.key.value,"mspg10");
if(form1.abc11.checked)
window.open("http://www.baidu.com/i?ct=201326592&cl=2&lm=-1&tn=baiduimage&word="+form1.key.value,"mspg11");
if(form1.abc12.checked)
window.open("http://www.baidu.com/s?tn=sitehao123&word="+form1.key.value+"%20site%3Awww.hao123.com","mspg12");
if(form1.abc13.checked)
window.open("http://baike.baidu.com/w?ct=17&lm=0&tn=baiduWikiSearch&pn=0&rn=10&word="+form1.key.value+"&submit=search","mspg13");
if(form1.abc14.checked)
window.open("http://map.baidu.com/m?word="+form1.key.value,"mspg14");
if(form1.abc15.checked)
window.open("http://news.baidu.com/ns?cl=2&rn=20&tn=news&word="+form1.key.value,"mspg15");
if(form1.abc16.checked)
window.open("http://www.baidu.com/baidu?ie=gb2312&bs=&sr=&z=&ct=1048576&cl=3&f=8&word="+form1.key.value,"mspg16");
return false;}</script><table border=0 cellspacing=0 width=100% bordercolor=#99DF95 cellpadding=0 style="border-left-width: 0px">
<tr align="center">
<td height="15" colspan="2" bgcolor="#FDFFFB" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: none; border-bottom-width: medium"> </td>
</tr>
<tr align="center">
<td height="21" colspan="2" bgcolor="#FDFFFB" style="border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium">
<font color="#BE2F2F">综合搜索引擎</font></td>
</tr>
<form name=form1 onsubmit=return(search4())><tr>
        <td width="41%" rowspan="2" align="right" valign="top" bgcolor="#FDFFFB" style="border-left-style: solid; border-left-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px">
        <p align="left">关键字:
<input type=text name=key size=22 onMouseOver=this.focus() onFocus=this.select() style="margin-bottom:-5px; font-size:15px;">
<input type=submit style="margin-bottom:-4px;COLOR: rgb(0,0,0);" FONT-SIZE: 9pt value=" 搜索 " name=B2>
</td>
<td width="59%" bgcolor="#FDFFFB" style="border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style:none; border-bottom-width:medium" >
<font color="#0000FF"><input type=checkbox name=abc6 value=google checked></font><a href=http://d.baidu.com/index.php?tn=sitesowang><span style="text-decoration: none">百度</span></a>
<font color="#0000FF">
<input type=checkbox name=abc4 value=3721></font><a href=http://www.google.cn/webhp?client=aff-sowang&hl=zh-CN&channel=searchlink><span style="text-decoration: none">google</span></a>
<font color="#0000FF">
<input type=checkbox name=abc7 value=baidump3></font><a href=http://mp3.baidu.com/><span style="text-decoration: none">mp3</span></a>
<font color="#0000FF">
<input type=checkbox name=abc9 value=baidump3></font><a href=http://geci.baidu.com/><span style="text-decoration: none">歌词</span></a>
<font color="#0000FF">
<input type=checkbox name=abc11 value=baidump3></font><a href=http://image.baidu.com/><span style="text-decoration: none">图片</span></a>
<font color="#0000FF">
<input type=checkbox name=abc0 value=baidutieba></font><a href=http://post.baidu.com/><span style="text-decoration: none">贴吧</span></a>
<font color="#0000FF">
<input name=abc5 type=checkbox  value=ikaslist></font><a href=http://zhidao.baidu.com/><span style="text-decoration: none">知道</span></a>

<font color="#0000FF">

<input name=abc15 type=checkbox  value=baidunews></font><a href=http://news.baidu.com/><span style="text-decoration: none">新闻</span></a></td>
</tr><tr>
                <td style="padding-top:3px; border-left-style:none; border-left-width:medium; border-right-style:solid; border-right-width:1px; border-bottom-style:solid; border-bottom-width:1px; border-top-style:none; border-top-width:medium" width="59%" bgcolor="#FDFFFB">
                <font color="#0000FF"><input type=checkbox name=abc12 value=hao123></font>站内
                <font color="#0000FF">
<input type=checkbox name=abc16 value=baidudict></font><a href=http://dict.baidu.com/><span style="text-decoration: none">词典</span></a>
                <font color="#0000FF">
<input type=checkbox name=abc14 value=baidump3></font><a href=http://map.baidu.com/><span style="text-decoration: none">地图</span></a>
                <font color="#0000FF">
<input type=checkbox name=abc10 value=baidufile></font><a href=http://file.baidu.com/><span style="text-decoration: none">文档</span></a>
                <font color="#0000FF">
<input type=checkbox name=abc3 value=yeah></font><a href=http://www.skycn.com/><span style="text-decoration: none">软件</span></a>

                <font color="#0000FF">

<input type=checkbox name=abc2 value=yahoo></font><a href=http://cn.yahoo.com/><span style="text-decoration: none">雅虎</span></a>
                <font color="#0000FF">
<input type=checkbox name=abc13 value=baidubaike></font><a href=http://baike.baidu.com/><span style="text-decoration: none">百科</span></a>
                <font color="#0000FF">
<input type=checkbox name=abc1 value=sohu></font><a href=http://www.sogou.com/><span style="text-decoration: none">搜狗</span></a><br>
 </td>
</tr>

</form></td>
                </tr>
        </table>









笫二个百度专用型:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>baidu</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<META content=FrontPage.Editor.Document name=ProgId>
<STYLE type=text/css>TD {
        FONT-SIZE: 12px
}
BODY {
        FONT-SIZE: 12px
}
INPUT {
        FONT-SIZE: 12px
}
A:link {
        COLOR: #000000; TEXT-DECORATION: none
}
A:visited {
        COLOR: #000000; TEXT-DECORATION: none
}
A:active {
        COLOR: blue; TEXT-DECORATION: none
}
A:hover {
        COLOR: red; TEXT-DECORATION: underline
}
A.b:link {
        COLOR: #003300; TEXT-DECORATION: none
}
A.b:visited {
        COLOR: #003300; TEXT-DECORATION: none
}
A.b:active {
        COLOR: blue; TEXT-DECORATION: none
}
A.b:hover {
        COLOR: red; TEXT-DECORATION: underline
}
.so {
        BORDER-RIGHT: 1px ridge; BORDER-TOP: #000000 1px ridge; FONT-SIZE: 12px; BORDER-LEFT: #000000 1px ridge; BORDER-BOTTOM: 1px ridge; BACKGROUND-COLOR: #cccccc
}
</STYLE>
</HEAD>
<BODY bgColor=#d7edbe leftMargin=0 topMargin=0>
<DIV align=center>
  <TABLE height=45 cellpadding="0"   cellspacing="0" border="1" bordercolorlight="#acf074"
  bordercolordark="#acf074" width=760>
    <TBODY>
      <TR>
        <TD>
          <table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
  <td>
  <table width=100% border="0" cellPadding="0" cellSpacing="0">
  <form name=search_form onsubmit="return gowhere(this)" target=_blank>
  <input name=tn type=hidden>
  <input name=ct type=hidden>
  <input name=lm type=hidden>
  <input name=z type=hidden>
  <input name=rn type=hidden>
  <tr valign="middle">
                      <td width=17%><div align="right"><A href="http://d.baidu.com/index.php?tn=haofa"
  target=_blank><img align=top alt=百度中文搜索引擎 border=0 src="http://img.baidu.com/img/union/logo_union2.gif"> </a> </div></td>
  <td>
    <div align="center">
      <input id=word name=word style="BORDER-BOTTOM: #665b8e 1px solid; BORDER-LEFT:
  #665b8e 1px solid; BORDER-RIGHT: #665b8e 1px solid; BORDER-TOP: #665b8e 1px
  solid; COLOR: #333333; CURSOR: text; PADDING-BOTTOM: 1px; PADDING-LEFT: 1px;
  PADDING-RIGHT: 1px; PADDING-TOP: 1px" size="46" value=""
  onMouseOver="this.focus()" onblur="if (this.value =='') this.value=''"
  onFocus="this.select()" onClick="if (this.value=='') this.value=''">
      <font style="font-size: 12px; color: 000000">
      <input type=radio
  name=_sv value="1" id=_sv_1 onClick="bd_chg_idx('1');">
      网页
      <input type=radio name=_sv value="4" id=_sv_4 onClick="bd_chg_idx('4');">
      MP3
      <input type=radio name=_sv value="6" id=_sv_6 onClick="bd_chg_idx('6');">
      图片
      </font>
      <input name=_si type=image id=_si src="http://img.baidu.com/img/union/search_l.gif"
  align=middle border=0>                        
      <a href="http://d.baidu.com/index.php?tn=haofa"
  target=_blank>
                          <script language=javascript>
var frmact = new Array();
frmact[1]="http://www.baidu.com/baidu";
frmact[2]="http://news.baidu.com/ns"
frmact[3]="http://post.baidu.com/f";
frmact[4]="http://mp3.baidu.com/m";
frmact[6]="http://image.baidu.com/i";
var frmtn = new Array();
frmtn[1]="haofa";
frmtn[2]="news";
frmtn[3]="baiduPostSearch";
frmtn[4]="baidump3";
frmtn[6]="baiduimage";
var frmct = new Array();
frmct[1] = "";
frmct[2] = "";
frmct[3] = "352321536";
frmct[4] = "134217728";
frmct[6] = "201326592";
var frmlm = new Array();
frmlm[1] = "";
frmlm[2] = "";
frmlm[3] = "65536";
frmlm[4] = "-1";
frmlm[6] = "-1";
var frmz = new Array();
frmz[1] = "";
frmz[2] = "";
frmz[3] = "";
frmz[4] = "";
frmz[6] = "0";
var frmrn = new Array();
frmrn[1] = "";
frmrn[2] = "";
frmrn[3] = "10";
frmrn[4] = "";
frmrn[6] = "";
var bd_idx="1";
function bd_chg_idx(idx)
  {
  bd_idx=idx;
  }
function gowhere(formname)
  {
  var url;
  var idx = bd_idx;
  if (frmact[idx] == null || frmact[idx] == "") idx = "1";
  url = frmact[idx];
  if (frmtn[idx] != "") document.search_form.tn.value = frmtn[idx];
  if (frmct[idx] != "") document.search_form.ct.value = frmct[idx];
  if (frmlm[idx] != "") document.search_form.lm.value = frmlm[idx];
  if (frmz[idx] != "") document.search_form.z.value = frmz[idx];
  if (frmrn[idx] != "") document.search_form.rn.value = frmrn[idx];
  formname.method = "get";
  formname.action = url;
  return true;
  }
                        </script>
                        </a>  </div></td>
            <td>  </td>
  </tr>
  </form>
  </table>
  </td>
  </tr>
  </table>
</TD>
      </TR>
      <TR>      </TR>
    <CENTER>
    </CENTER>
    <CENTER>
    </center>
  </TABLE>
  
</DIV>
</BODY></HTML>
附件: 您所在的用户组无法下载或查看附件
☞:看片时有什么疑问或需要最佳看片方法,请点『 这里 』留言或查看。
------------------------------------------------------------------------------------------
☞:您想要讨论剧情或是想与网友聊天、交友,请点『 这里 』自由交流。
------------------------------------------------------------------------------------------
☞:2007年世界各地最新影片-集中在线观看,请点『 这里  』查看游览。

TOP

 3 123
发新话题