diff --git a/src/dede/action_search.php b/src/dede/action_search.php
index 232b7445..ce863c41 100755
--- a/src/dede/action_search.php
+++ b/src/dede/action_search.php
@@ -5,6 +5,7 @@
* @version $Id: action_search.php 1 8:26 2010年7月12日Z tianya $
* @package DedeCMS.Administrator
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
+ * @copyright Copyright (c) 2020, DedeBIZ.COM
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
diff --git a/src/dede/actionsearch_class.php b/src/dede/actionsearch_class.php
index 7db2a36e..744f447a 100755
--- a/src/dede/actionsearch_class.php
+++ b/src/dede/actionsearch_class.php
@@ -3,6 +3,7 @@
* @version $Id: actionsearch_class.php 1 8:26 2010年7月12日Z tianya $
* @package DedeCMS.Administrator
* @copyright Copyright (c) 2007 - 2020, DesDev, Inc.
+ * @copyright Copyright (c) 2020, DedeBIZ.COM
* @license http://help.dedecms.com/usersguide/license.html
* @link http://www.dedecms.com
*/
@@ -11,11 +12,16 @@ class ActionSearch
var $keyword;
var $asarray = array();
var $result = array();
+
+ function __construct($keyword)
+ {
+ $this->asarray = $this->GetSearchstr();
+ $this->keyword = $keyword;
+ }
//初始化系统
function ActionSearch($keyword){
- $this->asarray = $this->GetSearchstr();
- $this->keyword = $keyword;
+ $this->__construct($keyword);
}
function GetSearchstr()
diff --git a/src/dede/index_body.php b/src/dede/index_body.php
index 5d3a0936..d366e449 100755
--- a/src/dede/index_body.php
+++ b/src/dede/index_body.php
@@ -235,10 +235,12 @@ else if ($dopost == 'getRightSide') {
$client->appid = "1008665";
$client->key = "I04NcaYUCmRukRDE";
$rs = $client->SystemInfo();
+
if ($rs->code === 200) {
echo $rs->data;
+ $client->Close();
exit;
}
- $client->Close();
+
}
?>
\ No newline at end of file
diff --git a/src/dede/templets/action_search.htm b/src/dede/templets/action_search.htm
index 7907e3f1..b5c039d2 100755
--- a/src/dede/templets/action_search.htm
+++ b/src/dede/templets/action_search.htm
@@ -1,50 +1,55 @@
-
+
+
-
+
+
+ 百度新闻地图
+ |
+
+
+
+ 《互联网新闻开放协议》是百度新闻搜索制定的搜索引擎新闻源收录标准,网站可将发布的新闻内容制作成遵循此开放协议的XML格式的网页(独立于原有的新闻发布形式)供搜索引擎索引。
+ 详情参见
+ 配置的相关参数在 【系统设置 -> 其他选项】中调整
+ 只适用于文章频道,数据表为DedeCMS默认的
+ |
+
+
+
+ 状态: |
+
+
+
+
+ |
+
+
-
+
+