百度谷歌双搜1.4.0发布

百度谷歌双搜1.4.0此次更新如下:

1.添加频道来贴吧,意为百度贴吧和谷歌来吧

2.添加头部收藏本站,设为首页的功能

3.修改搜索框的大小及按钮的样式,使页面看起来更加美观

4.配置文件中加入load()方法

load()方法如下:


//1.4.0后采用此加载方法跳转到不同的框架中

function load($searchEngine = “baidu”,$searchType = “webpage”,$searchKeyword = “”){

if($searchType == “laitieba” && $searchEngine == “baidu”){
@header(‘Location: http://tieba.baidu.com/f?kw=’.$searchKeyword.’&fr=tb0_search&ie=utf-8′);
exit;
}elseif($searchType == “laitieba” && $searchEngine == “google”){
@header(‘Location: http://laiba.tianya.cn/laiba/Glue?origin=box&exp=1&q=’.$searchKeyword.’&searchFor=A&Action.=%E6%8F%90%E4%BA%A4%E6%9F%A5%E8%AF%A2′);
exit;
}

}


演示地址:[url]http://www.52blogger.com/longgesou/[/url]

下载地址:[url]http://down.qiannao.com/space/file/bingxingke/share/2010/6/25/-9f8d-54e5-535a-5ba2-767e-5ea6-8c37-6b4c-641c-7d22-7cfb-7edf1.4.2.zip/.page[/url]

原文地址:[url]http://www.52blogger.com/archives/527[/url]

你可能感兴趣的:(百度谷歌双搜1.4.0发布)