From 12de277e30be0479964d8018cb1823611d834273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= Date: Sun, 22 Dec 2024 21:34:02 +0800 Subject: [PATCH] Update searchview.class.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 简化搜索url --- src/system/archive/searchview.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php index 5c685294..a73516d2 100755 --- a/src/system/archive/searchview.class.php +++ b/src/system/archive/searchview.class.php @@ -655,10 +655,10 @@ class SearchView $totalpage = ceil($this->SearchMaxRc / $this->pagesize); } $infos = "
  • {$totalpage}页".$this->TotalResult."条
  • "; - $geturl = "keyword=".urlencode($oldkeyword)."&searchtype=".$this->SearchType; - $geturl .= "&channeltype=".$this->ChannelType."&orderby=".$this->OrderBy; - $geturl .= "&kwtype=".$this->KType."&pagesize=".$this->pagesize; - $geturl .= "&typeid=".$this->TypeID."&TotalResult=".$this->TotalResult."&"; + //$geturl = "keyword=".urlencode($oldkeyword)."&searchtype=".$this->SearchType; + //$geturl .= "&channeltype=".$this->ChannelType."&orderby=".$this->OrderBy; + //$geturl .= "&kwtype=".$this->KType."&pagesize=".$this->pagesize; + $geturl .= "typeid=".$this->TypeID."&keyword=".urlencode($oldkeyword)."&"; $purl .= "?".$geturl; //获得上页和下页的链接 if ($this->PageNo != 1) {