Browse Source

Update searchview.class.php

简化搜索url
develop
叙述、别离 4 days ago
parent
commit
12de277e30
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/system/archive/searchview.class.php

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

@@ -655,10 +655,10 @@ class SearchView
$totalpage = ceil($this->SearchMaxRc / $this->pagesize);
}
$infos = "<li class='page-item disabled'><span class='page-link'>{$totalpage}页".$this->TotalResult."条</span></li>";
$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) {


Loading…
Cancel
Save