<{include file="admin/session.html"}> 管理系统
其他设置-新闻列表
批量生成静态页
<{if $results|@count gt 0}> <{foreach from=$results item=one}> <{/foreach}> <{else}> <{/if}>
编号 新闻标题 所属分类 发布时间 操作
<{$one.id}> <{$one.title}> <{$one.0}> <{$one.addtime}>
暂无数据...
<{if $pager}> 共有<{$pager.total_count}>条记录,当前<{$pager.current_page}>/<{$pager.total_page}>页: <{if $pager.current_page != $pager.first_page}> 首页 | 上一页 | <{/if}> <{foreach from=$pager.all_pages item=thepage}> <{if $thepage >= $pager.current_page-4 and $thepage <= $pager.current_page+4}> <{if $thepage != $pager.current_page}> <{$thepage}> <{else}> <{$thepage}> <{/if}> <{elseif $thepage <= 10 and $thepage >= $pager.current_page-4}> <{if $thepage != $pager.current_page}> <{$thepage}> <{else}> <{$thepage}> <{/if}> <{elseif $thepage >= $pager.last_page-9 and $thepage <= $pager.current_page-4}> <{if $thepage != $pager.current_page}> <{$thepage}> <{else}> <{$thepage}> <{/if}> <{else}> <{/if}> <{/foreach}> <{if $pager.current_page != $pager.last_page}> | 下一页 | 尾页 <{/if}> <{/if}>