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

- 开始
- /
- <{$title}>

添加管理员

ID | 帐号 | 级别 | 留言板绑定 | 操作
<{foreach from=$results item=one}>
<{$one.id}> | <{$one.username}> | <{if $one.admin eq 'admin'}>系统管理员<{elseif $one.admin eq 'user'}>普通管理员<{/if}> | <{tpl_GidToGname gid=$one.gid admin=$one.admin}> | 编辑 删除
<{/foreach}>

<{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}>