设计在线

Google站内搜索代码

发布制作:admin  发布日期:2013/7/10

把下面代码中的http://www.szjrwl.com 替换成你的域名就可以实现搜索站内信息了。

lt;!-- SiteSearch Google -->
<form method="get" action="http://www.google.com/search">
<div style="background-color:white">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_40wht.gif" border="0" alt="Google" />
</a>
<input type="text" name="q" size="31" maxlength="255" value="html" />
<input type="hidden" name="ie" value="GB2312" />
<input type="hidden" name="oe" value="GB2312" />
<input type="hidden" name="hl" value="zh-CN" />
<input type="submit" name="btnG" value="Google Search" />
<input type="hidden" name="domains" value=http://www.szjrwl.com/ />
<br />
<input type="radio" name="sitesearch" value=" " />
<label for="sitesearch">搜索WWW</label>
<input type="radio" name="sitesearch" value=www.szjrwl.com checked="checked" />
<label for="sitesearch">搜索金锐网络</label>
</div>
</form>
<!-- SiteSearch Google -->