
打開 /include/arc.listview.class.php 找到 (大約在673行)
else if($PageNo!=1 && $ctag->GetName()=='field' && $ctag->GetAtt('display')!='')
在它上面加入
else if($ctag->GetName()=="pageno"){$this->dtp->Assign($tagid,$this->PageNo);}else if($ctag->GetName()=="totalpage"){$this->dtp->Assign($tagid,ceil($this->TotalResult/$this->PageSize));}else if($ctag->GetName()=="totalresult"){$this->dtp->Assign($tagid,$this->TotalResult);} |
如圖

打開 /include/arc.searchview.class.php 找到 (大概在542行)
else if($tagname=="field")
在它上面加入
else if($ctag->GetName()=="pageno"){$this->dtp->Assign($tagid,$this->PageNo);}else if($ctag->GetName()=="totalpage"){$this->dtp->Assign($tagid,ceil($this->TotalResult/$this->PageSize));}else if($ctag->GetName()=="totalresult"){$this->dtp->Assign($tagid,$this->TotalResult);} |

織夢欄目列表模板和搜索結(jié)果頁模板調(diào)用標(biāo)簽統(tǒng)一寫法
當(dāng)前第{dede:pageno/}頁 共有{dede:totalpage/}頁 共有{dede:totalresult/}條數(shù)據(jù)
新聞熱點
疑難解答
圖片精選