瀏覽代碼

Update searchview.class.php

简化搜索url
develop
叙述、别离 5 天之前
父節點
當前提交
12de277e30
共有 1 個檔案被更改,包括 4 行新增4 行删除
  1. +4
    -4
      src/system/archive/searchview.class.php

+ 4
- 4
src/system/archive/searchview.class.php 查看文件

@@ -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…
取消
儲存