Browse Source

Update searchview.class.php

develop
叙述、别离 5 months ago
parent
commit
a746c30738
1 changed files with 9 additions and 4 deletions
  1. +9
    -4
      src/system/archive/searchview.class.php

+ 9
- 4
src/system/archive/searchview.class.php View File

@@ -13,7 +13,9 @@ require_once(DEDEINC."/typelink/typelink.class.php");
require_once(DEDEINC."/dedetag.class.php");
require_once(DEDEINC."/libraries/splitword.class.php");
require_once(DEDEINC."/taglib/hotwords.lib.php");
require_once(DEDEINC."/taglib/channelartlist.lib.php");
require_once(DEDEINC."/taglib/channel.lib.php");
require_once(DEDEINC."/taglib/arclist.lib.php");
@set_time_limit(0);
@ini_set('memory_limit', '512M');
class SearchView
@@ -424,10 +426,10 @@ class SearchView
$list_len = 3;
}
$this->dtp->Assign($tagid, $this->GetPageListDM($list_len, $listitem));
} else if ($tagname == "likewords") {
$this->dtp->Assign($tagid, $this->GetLikeWords($ctag->GetAtt('num')));
} else if ($tagname == "hotwords") {
$this->dtp->Assign($tagid, lib_hotwords($ctag, $this));
} else if ($tagname == "channelartlist") {
$this->dtp->Assign($tagid,lib_channelartlist($ctag,$this));
} else if ($tagname == "field") {
//类别的指定字段
if (isset($this->Fields[$ctag->GetAtt('name')])) {
@@ -447,8 +449,11 @@ class SearchView
$GLOBALS['envs']['typeid'] = $typeid;
$GLOBALS['envs']['reid'] = $typeid;
$this->dtp->Assign($tagid, lib_channel($ctag, $this));
} //End if

} else if ($tagname == "arclist") {
$this->dtp->Assign($tagid,lib_arclist($ctag,$this));
} else if ($tagname == "likewords") {
$this->dtp->Assign($tagid, $this->GetLikeWords($ctag->GetAtt('num')));
}
}
global $keyword, $oldkeyword;
if (!empty($oldkeyword)) $keyword = $oldkeyword;


Loading…
Cancel
Save