#1 zhgzzy
$this->article = spClass('lib_article')->spPager($this->spArgs('page', 1), 5)->spLinker()->findAll(array('qid'=>$qid),'arid desc');$this->pager = spClass('lib_article')->spPager()->getPager();
为什么下面的分类在页面没有显示???
<{if $pager}>
共有<{$pager.total_count}>条,共有<{$pager.total_page}>页(每页<{$pager.page_size}>条):
<{foreach from=$pager.all_pages item=thepage}>
<{if $thepage != $pager.current_page}>
<{$thepage}>
<{else}>
<{$thepage}>
<{/if}>
<{/foreach}>
<{/if}>
2010-04-24 13:32:01