<{include file="admin/index/smalltop.html"}>

<{$g.gName}>

<{tpl_MegSum gid=$g.id}> - 管理员:<{tpl_adminuserList gid=$g.id}>

<{if $lists}> <{foreach from=$lists item=m}>
网友:<{$m.name}>   发布时间:<{tpl_dateTime format='Y年m月d日 H:i' timestamp=$m.addtime}> - <{tpl_formatTime date=$m.addtime type=1}> ID:<{$m.id}> - <{if $m.status eq 'no'}> 隐藏<{elseif $m.status eq 'yes'}> 显示<{/if}>
<{$m.message}> <{if $m.reply}>
管理员<{$m.replyAdmin}>回复:
<{$m.reply}>
<{else}>
<{$m.reply}>
<{/if}>
<{$m.address}>(<{$m.ip}>) - 赞(<{$m.good}>) - 删除单个留言 - 删除同IP留言 回复/审核
<{/foreach}> <{else}> <{/if}> <{if $pager}>
共有记录<{$pager.total_count}>条,共有<{$pager.total_page}>页(每页<{$pager.page_size}>条): <{$max_page=5}> <{if $pager.current_page%$max_page ==0}> <{$start_page=floor($pager.current_page/$max_page)*$max_page+1-$max_page}> <{else}> <{$start_page=floor($pager.current_page/$max_page)*$max_page+1}> <{/if}> <{if ($start_page+$max_page)<=$pager.total_page}> <{$end_page=$start_page+$max_page-1}> <{else}> <{$end_page=$pager.total_page}> <{/if}> <{if $start_page <= 1 and $pager.current_page <= 1 }> 首页 上一页 <{elseif $pager.current_page > 1 and $pager.total_page <= $max_page}> 首页 上一页 <{elseif $pager.current_page > 1 and $pager.current_page<=$max_page}> 首页 上一页 <{else}> 首页 « -<{$max_page}> <{/if}> <{foreach from = $pager.all_pages item = thepage}> <{if $thepage <= $end_page and $thepage >= $start_page}> <{if $thepage == $pager.current_page}> <{$thepage}> <{else}> <{$thepage}> <{/if}> <{/if}> <{/foreach}> <{if $end_page == $pager.total_page }> <{if $pager.current_page == $pager.last_page}> 下一页 尾页 <{else}> 下一页 尾页 <{/if}> <{else}> +<{$max_page}> 下一页 尾页 <{/if}>
<{/if}>