From 0574cc346503a35d1cd5054653a1305ce987d9e3 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?= <2449271624@qq.com> Date: Wed, 15 Nov 2023 11:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=88=86=E9=A1=B5=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=8F=8A=E5=9B=9E=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/system/archive/archives.class.php | 42 ++++++++--------- src/system/archive/freelist.class.php | 60 ++++++++++++------------- src/system/archive/listview.class.php | 52 ++++++++++----------- src/system/archive/searchview.class.php | 46 +++++++++---------- src/system/archive/sglistview.class.php | 46 +++++++++---------- src/system/archive/specview.class.php | 52 ++++++++++----------- src/system/archive/taglist.class.php | 40 ++++++++--------- 7 files changed, 169 insertions(+), 169 deletions(-) diff --git a/src/system/archive/archives.class.php b/src/system/archive/archives.class.php index b53545e2..8eaa8d60 100755 --- a/src/system/archive/archives.class.php +++ b/src/system/archive/archives.class.php @@ -770,31 +770,31 @@ class Archives $revalue = ''; foreach ($this->SplitTitles as $k => $v) { if ($i == 1) { - $revalue .= "$v\r\n"; + $revalue .= "$v"; } else { if ($pageNo == $i) { - $revalue .= " $v \r\n"; + $revalue .= "$v"; } else { - $revalue .= "$v\r\n"; + $revalue .= "$v"; } } $i++; } } else { - $revalue = ""; foreach ($this->SplitTitles as $k => $v) { if ($i == 1) { - $revalue .= "\r\n"; + $revalue .= ""; } else { if ($pageNo == $i) { - $revalue .= "\r\n"; + $revalue .= ""; } else { - $revalue .= "\r\n"; + $revalue .= ""; } } $i++; } - $revalue .= "\r\n"; + $revalue .= ""; } return $revalue; } @@ -871,18 +871,18 @@ class Archives foreach ($this->SplitTitles as $k => $v) { if ($i == 1) { if ($cfg_rewrite == 'Y') { - $revalue .= "$v\r\n"; + $revalue .= "$v"; } else { - $revalue .= "$v\r\n"; + $revalue .= "$v"; } } else { if ($pageNo == $i) { - $revalue .= " $v \r\n"; + $revalue .= " $v "; } else { if ($cfg_rewrite == 'Y') { - $revalue .= "$v\r\n"; + $revalue .= "$v"; } else { - $revalue .= "$v\r\n"; + $revalue .= "$v"; } } @@ -890,32 +890,32 @@ class Archives $i++; } } else { - $revalue = ""; foreach ($this->SplitTitles as $k => $v) { if ($i == 1) { if ($cfg_rewrite == 'Y') { - $revalue .= "\r\n"; + $revalue .= ""; } else { - $revalue .= "\r\n"; + $revalue .= ""; } } else { if ($pageNo == $i) { if ($cfg_rewrite == 'Y') { - $revalue .= "\r\n"; + $revalue .= ""; } else { - $revalue .= "\r\n"; + $revalue .= ""; } } else { if ($cfg_rewrite == 'Y') { - $revalue .= "\r\n"; + $revalue .= ""; } else { - $revalue .= "\r\n"; + $revalue .= ""; } } } $i++; } - $revalue .= "\r\n"; + $revalue .= ""; } return $revalue; } diff --git a/src/system/archive/freelist.class.php b/src/system/archive/freelist.class.php index d0fad78a..fe9eb34f 100755 --- a/src/system/archive/freelist.class.php +++ b/src/system/archive/freelist.class.php @@ -490,7 +490,7 @@ class FreeList $this->dsql->Execute("al"); $artlist = ''; if ($col > 1) { - $artlist = "\r\n"; + $artlist = "
"; } $indtp = new DedeTagParse(); $indtp->SetNameSpace("field", "[", "]"); @@ -498,11 +498,11 @@ class FreeList $GLOBALS['autoindex'] = 0; for ($i = 0; $i < $this->pagesize; $i++) { if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } for ($j = 0; $j < $col; $j++) { if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } } //Loop Col if ($col > 1) { $i += $col - 1; } if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } } //Loop Line if ($col > 1) { - $artlist .= "
\r\n"; + $artlist .= ""; } if ($row = $this->dsql->GetArray("al")) { $GLOBALS['autoindex']++; @@ -600,18 +600,18 @@ class FreeList $artlist .= ''; } if ($col > 1) { - $artlist .= "
\r\n"; + $artlist .= ""; } $this->dsql->FreeResult("al"); return $artlist; @@ -646,29 +646,29 @@ class FreeList $tnamerule = preg_replace("#^(.*)\/#", '', $tnamerule); //获得上页和首页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } //下页和未页的链接 if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //option链接 $optionlen = strlen($totalpage); $optionlen = $optionlen * 12 + 18; if ($optionlen < 36) $optionlen = 36; if ($optionlen > 100) $optionlen = 100; - $optionlist = ""; for ($fl = 1; $fl <= $totalpage; $fl++) { if ($fl == $this->PageNo) { - $optionlist .= "\r\n"; + $optionlist .= ""; } else { - $optionlist .= "\r\n"; + $optionlist .= ""; } } $optionlist .= ""; @@ -689,9 +689,9 @@ class FreeList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • {$j}
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = ''; @@ -745,21 +745,21 @@ class FreeList $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • "; $purl = $this->GetCurUrl(); $geturl = "lid=".$this->FreeID."&TotalResult=".$this->TotalResult."&"; - $hidenform = "\r\n"; - $hidenform .= "\r\n"; + $hidenform = ""; + $hidenform .= ""; $purl .= "?".$geturl; //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页\r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页"; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -774,18 +774,18 @@ class FreeList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = "
    $hidenform"; $plist .= $maininfo.$indexpage.$prepage.$listdd.$nextpage.$endpage; if ($totalpage > $total_list) { - $plist .= "\r\n"; - $plist .= "\r\n"; + $plist .= ""; + $plist .= ""; } - $plist .= "
    \r\n"; + $plist .= ""; return $plist; } /** diff --git a/src/system/archive/listview.class.php b/src/system/archive/listview.class.php index 4b46e6f8..2f07f0f0 100755 --- a/src/system/archive/listview.class.php +++ b/src/system/archive/listview.class.php @@ -1023,28 +1023,28 @@ class ListView } $totalpage = ceil($this->TotalResult / $this->pagesize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 1页".$this->TotalResult."条
  • \r\n"; + return "
  • 1页".$this->TotalResult."条
  • "; } if ($this->TotalResult == 0) { - return "
  • 0页".$this->TotalResult."条
  • \r\n"; + return "
  • 0页".$this->TotalResult."条
  • "; } $purl = $this->GetCurUrl(); - $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • "; $tnamerule = $this->GetMakeFileRule($this->Fields['id'], "list", $this->Fields['typedir'], $this->Fields['defaultname'], $this->Fields['namerule2']); $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule); //获得上页和首页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } //下页和未页的链接 if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //option链接 $optionlist = ''; @@ -1052,15 +1052,15 @@ class ListView $optionlen = $optionlen * 12 + 18; if ($optionlen < 36) $optionlen = 36; if ($optionlen > 100) $optionlen = 100; - $optionlist = "
  • "; for ($mjj = 1; $mjj <= $totalpage; $mjj++) { if ($mjj == $this->PageNo) { - $optionlist .= "\r\n"; + $optionlist .= ""; } else { - $optionlist .= "\r\n"; + $optionlist .= ""; } } - $optionlist .= "
  • \r\n"; + $optionlist .= ""; //获得数字链接 $listdd = ''; $total_list = $list_len * 2 + 1; @@ -1101,9 +1101,9 @@ class ListView continue; } if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = ''; @@ -1135,12 +1135,12 @@ class ListView } $totalpage = ceil($this->TotalResult / $this->pagesize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "
  • 1页".$this->TotalResult."条
  • \r\n"; + return "
  • 1页".$this->TotalResult."条
  • "; } if ($this->TotalResult == 0) { - return "
  • 0页".$this->TotalResult."条
  • \r\n"; + return "
  • 0页".$this->TotalResult."条
  • "; } - $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • "; $purl = $this->GetCurUrl(); //开启伪静态对规则替换 if ($cfg_rewrite == 'Y') { @@ -1159,16 +1159,16 @@ class ListView } //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -1210,9 +1210,9 @@ class ListView continue; } if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = ''; diff --git a/src/system/archive/searchview.class.php b/src/system/archive/searchview.class.php index 163cc838..d5c8da7a 100755 --- a/src/system/archive/searchview.class.php +++ b/src/system/archive/searchview.class.php @@ -528,16 +528,16 @@ class SearchView $this->dsql->Execute("al"); $artlist = ''; if ($col > 1) { - $artlist = "\r\n"; + $artlist = "
    "; } $this->dtp2->LoadSource($innertext); for ($i = 0; $i < $row; $i++) { if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } for ($j = 0; $j < $col; $j++) { if ($col > 1) { - $artlist .= "\r\n"; + if ($col > 1) $artlist .= ""; } //Loop Col if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } } //Loop Line if ($col > 1) { - $artlist .= "
    \r\n"; + $artlist .= ""; } if ($row = $this->dsql->GetArray("al")) { if ($this->ChannelType < 0 || $this->ChannelTypeid < 0) { @@ -606,14 +606,14 @@ class SearchView else { $artlist .= ''; } - if ($col > 1) $artlist .= "
    \r\n"; + $artlist .= ""; } $this->dsql->FreeResult("al"); @@ -649,31 +649,31 @@ class SearchView if ($this->TotalResult > $this->SearchMaxRc) { $totalpage = ceil($this->SearchMaxRc / $this->pagesize); } - $infos = "
  • {$totalpage}页".$this->TotalResult."条
  • \r\n"; + $infos = "
  • {$totalpage}页".$this->TotalResult."条
  • "; $geturl = "keyword=".urlencode($oldkeyword)."&searchtype=".$this->SearchType; - $hidenform = "\r\n"; + $hidenform = ""; $geturl .= "&channeltype=".$this->ChannelType."&orderby=".$this->OrderBy; - $hidenform .= "\r\n"; - $hidenform .= "\r\n"; + $hidenform .= ""; + $hidenform .= ""; $geturl .= "&kwtype=".$this->KType."&pagesize=".$this->pagesize; - $hidenform .= "\r\n"; - $hidenform .= "\r\n"; + $hidenform .= ""; + $hidenform .= ""; $geturl .= "&typeid=".$this->TypeID."&TotalResult=".$this->TotalResult."&"; - $hidenform .= "\r\n"; - $hidenform .= "\r\n"; + $hidenform .= ""; + $hidenform .= ""; $purl .= "?".$geturl; //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -692,9 +692,9 @@ class SearchView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = ''; @@ -705,7 +705,7 @@ class SearchView $plist .= preg_match('/pageno/i', $listitem)? $listdd : ""; $plist .= preg_match('/next/i', $listitem)? $nextpage : ""; $plist .= preg_match('/end/i', $listitem)? $endpage : ""; - $plist .= "\r\n"; + $plist .= ""; return $plist; } /** diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index 67e33916..579f27b1 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -742,7 +742,7 @@ class SgListView $GLOBALS['autoindex'] = 0; for ($i = 0; $i < $row; $i++) { if ($col > 1) { - $artlist .= "
    \r\n"; + $artlist .= "
    "; } for ($j = 0; $j < $col; $j++) { if ($row = $this->dsql->GetArray("al")) { @@ -826,7 +826,7 @@ class SgListView }//Loop Col if ($col > 1) { $i += $col - 1; - $artlist .= "
    \r\n"; + $artlist .= "
    "; } }//Loop Line $t3 = ExecTime(); @@ -863,17 +863,17 @@ class SgListView $tnamerule = preg_replace("/^(.*)\//", '', $tnamerule); //获得上页和首页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } //下页和未页的链接 if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • "; + $endpage = "
  • 末页
  • "; } //option链接 $optionlist = ''; @@ -894,9 +894,9 @@ class SgListView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • ".$j."
  • "; } } $plist = ''; @@ -959,24 +959,24 @@ class SgListView $purl = $nowurls[0]; } $geturl = "&TotalResult=".$this->TotalResult."&nativeplace=$nativeplace&infotype=$infotype&keyword=".urlencode($keyword)."&"; - $hidenform = "\r\n"; - $hidenform = "\r\n"; - $hidenform = "\r\n"; - $hidenform = "\r\n"; - $hidenform .= "\r\n"; + $hidenform = ""; + $hidenform = ""; + $hidenform = ""; + $hidenform = ""; + $hidenform .= ""; $purl .= "?tid=".$this->TypeID."&"; //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • "; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -995,9 +995,9 @@ class SgListView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = $indexpage.$prepage.$listdd.$nextpage.$endpage; diff --git a/src/system/archive/specview.class.php b/src/system/archive/specview.class.php index 57e8d537..e02b40b9 100755 --- a/src/system/archive/specview.class.php +++ b/src/system/archive/specview.class.php @@ -331,16 +331,16 @@ class SpecView $this->dsql->Execute('al'); $artlist = ''; if ($col > 1) { - $artlist = "\r\n"; + $artlist = "
    "; } $this->dtp2->LoadSource($innertext); for ($i = 0; $i < $row; $i++) { if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } for ($j = 0; $j < $col; $j++) { if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } }//Loop Col if ($col > 1) { - $artlist .= "\r\n"; + $artlist .= ""; } }//Loop Line if ($col > 1) { - $artlist .= "
    \r\n"; + $artlist .= ""; } if ($row = $this->dsql->GetArray("al")) { //处理一些特殊字段 @@ -408,15 +408,15 @@ class SpecView $artlist .= ''; } if ($col > 1) { - $artlist .= "
    \r\n"; + $artlist .= ""; } $this->dsql->FreeResult("al"); return $artlist; @@ -448,16 +448,16 @@ class SpecView $tnamerule = "spec_"; //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -476,9 +476,9 @@ class SpecView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • ".$j."
  • "; } } $plist = $indexpage.$prepage.$listdd.$nextpage.$endpage; @@ -503,28 +503,28 @@ class SpecView } $totalpage = ceil($this->TotalResult / $this->pagesize); if ($totalpage <= 1 && $this->TotalResult > 0) { - return "1页".$this->TotalResult."条"; + return "
  • 1页".$this->TotalResult."条
  • "; } if ($this->TotalResult == 0) { - return "0页".$this->TotalResult."条"; + return "
  • 0页".$this->TotalResult."条
  • "; } $purl = $this->GetCurUrl(); $geturl = "typeid=".$this->TypeID."&TotalResult=".$this->TotalResult."&"; - $hidenform = "\r\n"; - $hidenform .= "\r\n"; + $hidenform = ""; + $hidenform .= ""; $purl .= "?".$geturl; //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • "; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -543,9 +543,9 @@ class SpecView } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = $indexpage.$prepage.$listdd.$nextpage.$endpage; diff --git a/src/system/archive/taglist.class.php b/src/system/archive/taglist.class.php index 7880e8b1..1d5c95a7 100755 --- a/src/system/archive/taglist.class.php +++ b/src/system/archive/taglist.class.php @@ -304,7 +304,7 @@ class TagList $GLOBALS['autoindex'] = 0; for ($i = 0; $i < $row; $i++) { if ($col > 1) { - $artlist .= "
    \r\n"; + $artlist .= "
    "; } for ($j = 0; $j < $col; $j++) { if ($row = $this->dsql->GetArray("al")) { @@ -383,7 +383,7 @@ class TagList }//Loop Col if ($col > 1) { $i += $col - 1; - $artlist .= "
    \r\n"; + $artlist .= "
    "; } }//Loop Line $this->dsql->FreeResult('al'); @@ -413,21 +413,21 @@ class TagList if ($this->TotalResult == 0) { return "
  • 0页".$this->TotalResult."条
  • "; } - $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • "; $purl = $this->GetCurUrl(); $purl .= "?/".urlencode($this->Tag); //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -446,9 +446,9 @@ class TagList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • ".$j."
  • "; } } $plist = ''; @@ -488,20 +488,20 @@ class TagList if ($this->TotalResult == 0) { return "
  • 0页".$this->TotalResult."条
  • "; } - $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • \r\n"; + $maininfo = "
  • {$totalpage}页".$this->TotalResult."条
  • "; $purl = $this->tagsDir.'/'.$this->TagInfos['id']; //获得上页和下页的链接 if ($this->PageNo != 1) { - $prepage .= "
  • 上页
  • \r\n"; - $indexpage = "
  • 首页
  • \r\n"; + $prepage .= "
  • 上页
  • "; + $indexpage = "
  • 首页
  • "; } else { - $indexpage = "
  • 首页
  • \r\n"; + $indexpage = "
  • 首页
  • "; } if ($this->PageNo != $totalpage && $totalpage > 1) { - $nextpage .= "
  • 下页
  • \r\n"; - $endpage = "
  • 末页
  • \r\n"; + $nextpage .= "
  • 下页
  • "; + $endpage = "
  • 末页
  • "; } else { - $endpage = "
  • 末页
  • \r\n"; + $endpage = "
  • 末页
  • "; } //获得数字链接 $listdd = ''; @@ -520,9 +520,9 @@ class TagList } for ($j; $j <= $total_list; $j++) { if ($j == $this->PageNo) { - $listdd .= "
  • $j
  • \r\n"; + $listdd .= "
  • $j
  • "; } else { - $listdd .= "
  • ".$j."
  • \r\n"; + $listdd .= "
  • $j
  • "; } } $plist = '';