{php}include BASE_PATH."/modules/assets/templates/top.tpl";{/php} {literal} {/literal} 修改角色
{foreach from=$list item=item key=key}

status == 1}checked="checked"{/if}/> {$item->title}

{foreach from=$item->res item=item1 key=key1}

status == 1}checked="checked"{/if} id="user-{$key}-{$key1}"/> {$item1->title}

{if $item1->res}
{foreach from=$item1->res item=item2 key=key2}

status == 1}checked="checked"{/if} id="user-{$key}-{$key1}-{$key2}"/> {$item2->title}

{if $item2->res}
{foreach from=$item2->res item=item3 key=key3}

status == 1}checked="checked"{/if} id="user-{$key}-{$key1}-{$key2}-{$key3}"/> {$item3->title}

{/foreach}              
{/if} {/foreach}          
{/if} {/foreach}      
  {/foreach} 
 
{literal} {/literal}