如何改页码 1 2 3 4 5 6 7 8
By wzcm87
at 2013-04-16 10:59 • 1524次点击
if($t_obj['comments'] > $options['commentlist_num']){ echo '<div class="pagination">'; if($page>1){ echo '<a href="/t-',$tid,'-',$page-1,'" class="float-left">« 上一页</a>'; } if($page<$taltol_page){ echo '<a href="/t-',$tid,'-',$page+1,'" class="float-right">下一页 »</a>'; } echo '<div class="c"></div> </div>'; }
请 登录 后发表评论