搜索
×

海洋CMS列表分页调用方法

作者 : 发布时间:2026-09-21 18:29:34 共人阅读

海洋cms列表分页调用标签

[topicpagelist:pagenumber len=10]

自定义分页标签:

{topicpagelist:pagenumber len=10}[pagenumber:link]1.....10页链接[pagenumber:page]页数字{/topicpagelist:pagenumber}{topicpagelist:page}当前页数{topicpagelist:pagecount} 总页数{topicpagelist:recordcount}总数据条数{topicpagelist:firstlink}第一页链接{topicpagelist:backlink} 上一页链接{topicpagelist:nextlink} 下一页链接{topicpagelist:lastlink} 最后一页链接

自定义分实例代码:

<div class="page"><span>{topicpagelist:page}/{topicpagelist:pagecount} 共{topicpagelist:recordcount}条记录</span><a href="{topicpagelist:firstlink}">1..</a><a href="{topicpagelist:backlink}"><</a>{topicpagelist:pagenumber len=8}{if:{topicpagelist:page}<>[pagenumber:page]}<a href="[pagenumber:link]">[pagenumber:page]</a>{else}<em>[pagenumber:page]</em>{end if}{/topicpagelist:pagenumber}<a href="{topicpagelist:nextlink}">></a><a href="{topicpagelist:lastlink}">..{topicpagelist:pagecount}</a></div>