一、百度搜索代码
1、
<table width=90% border=0 align="center" cellpadding=3 cellspacing=0>
<form action=http://www.baidu.com/s><input type=hidden name=tn value=sitesowang>
<tr><td width=985><input type=hidden name=cl value=3><input
type=hidden name=rn value=10><input type=hidden name=ct value=0><input
type=hidden name=lm value=0></td></tr><tr ><td height="40" bgcolor="#F0F7FF"><a href=http://d.baidu.com/index.php?tn=sitesowang><img
src=http://www.hao123.com/logox.gif width=53 height=16 border=0></a>
<input type=text name=word
size=19 onMouseOver=this.focus() onFocus=this.select()
onClick=if(this.value=='这里输入关键字')this.value=''> <input type=submit
value=搜索>
</td>
</tr></form></table>
2、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="200" height="30"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=102&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>
3、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="670" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=103&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>
4、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="410" height="80"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=104&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>
5、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="140" height="75"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=105&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>
6、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="468" height="60"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=106&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>、
7、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="468" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=107&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>
8、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="400" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=108&rkcs=5&bgcr=FFFFFF&ftcr=000000&rk=0&bd=1&bdas=0">
</iframe>
9、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="468" height="50"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=101&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=0&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
10、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="200" height="30"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=102&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=1&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
11、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="410" height="80"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=104&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=0&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
12、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="140" height="75"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=105&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=0&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
13、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="670" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=103&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=0&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
14、
<iframe id="baiduframe" border="0" vspace="0" hspace="0" marginwidth="0" marginheight="0"
framespacing="0" frameborder="0" scrolling="no" width="400" height="40"
src="http://unstat.baidu.com/bdun.bsc?tn=sitesowang&cv=1&cid=316&csid=108&rkcs=0&bgcr=FFFFFF&ftcr=000000&rk=0&bd=0&tbsz=&tbst=&bdas=0">
</iframe>
二、google搜索代码
1、
<!-- Web Union Google -->
<form name="gform" method="get" action="http://www.google.cn/search" target="_top">
<div align="center">
<table border="0" bgcolor="#ffffff" width="532">
<tr>
<td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.cn/webhp?client=aff-sowang&hl=zh-CN&channel=searchlink">
<img src="http://www.google.cn/logos/Logo_25wht.gif" border="0" alt="Google 中文" align="right" width="75" height="32"> </a>
</td>
<td nowrap="nowrap">
<input type="text" name="q" size="32" maxlength="255" value="" style="font-size: 10pt"></input>
<input type="submit" name="sa" value="Google 搜索" style="font-size: 10pt"></input>
</td>
</tr>
<tr>
<td> </td>
<td nowrap="nowrap">
<table><tr>
<td colspan=3 align=center><font size=-1>
<input id=all type=radio name=lr value="" checked/>
<label for=all>搜索所有网页</label>
<input id=ch type=radio name=lr value=lang_zh-CN|lang_zh-TW/>
<label for=ch>中文网页</label>
<input id=il type=radio name=lr value=lang_zh-CN/>
<label for=il>简体中文网页</label></font>
</td>
</tr>
</table>
<input type="hidden" name="client" value="aff-sowang"></input>
<input type="hidden" name="ie" value="UTF-8"></input>
<input type="hidden" name="oe" value="UTF-8"></input>
<input type="hidden" name="hl" value="zh-CN"></input>
<input type="hidden" name="channel" value="search"></input>
</td>
</tr>
<tr>
<td colspan=3 align=left> </td>
</tr>
</table>
</div>
</form> <!-- Web Union Google -->
2、
<table border="0" width="77%" id="table3">
<tr>
<td>
<p align="center"> <td vAlign="bottom" style="font-family: 宋体; font-size: 12px">
<a style="text-decoration: underline; color: #000088; font-family: 宋体; font-size: 12px" href="http://www.google.cn/webhp?client=aff-sowang&hl=zh-CN&channel=searchlink">
<img height="32" src="http://www.google.com/logos/Logo_25wht.gif" width="75" border="0" align="right" alt="Google 中文"></a></td>
<form name="googleform" target="_blank" action="http://www.google.cn/search">
<td style="font-family: 宋体; font-size: 12px">
<input style="FONT-SIZE: 13pt" size="35" name="q"><input type="hidden" value="aff-sowang" name="client"><input type="hidden" value="GB2312" name="ie"><input type="hidden" value="UTF8" name="oe"><input type="hidden" value="zh-CN" name="hl"><input type="hidden" value="searchbutton3" name="channel">
<input style="FONT-SIZE: 11pt; COLOR: #000000" type="submit" value="Google 搜索"></td>
</form>
<td vAlign="center" style="font-family: 宋体; font-size: 12px" width="4">
</td></td>
</tr>
</table>
3、
<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 _fcksavedurl="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>