{include="style"}
{if(checkAction('Member/addrulers'))} 添加权限 {/if} {if($webconf['isopenhomepower']==0)}温馨提示：前台权限已关闭，设置权限不会生效。{else}温馨提示：前台权限已开启，权限设置将直接影响前台访问，请谨慎操作！{/if}

ID | 功能 | 控制器/方法 | 操作
--- | --- | --- | ---
{foreach $lists as $v}
{$v['id']} | {fun str_repeat(' ',$v['level'])} {if($v['haschild'])}  {else} {if($v['level'])}|——{/if} {/if} {$v['name']} | {$v['action']} | {if(checkAction('Member/editrulers'))} 编辑 {/if} {if(checkAction('Member/addrulers'))} {if($v['pid']==0)} 添加子功能 {/if} {/if} {if(checkAction('Member/deleterulers'))} 删除 {/if}
{/foreach}