44行
代码: 全选
//输出上一页
if ($this->_currentPage >= 1) {
echo '<span class="pages">Page ' . $this->_currentPage . ' of ' . $this->_totalPage .'</span><a href="' . str_replace($this->_pageHolder, $this->_currentPage - 1, $this->_pageTemplate) . '">'
. $prevWord . '</a>';
}
当第一页时怎么不出现上一页(即第0页)
代码: 全选
$this->_currentPage - 1