{include file='ebcms@common/header' /}

### 论坛管理

ID | 排序 | 板块 | 操作 | 权限设置 | 状态 | 版主
--- | --- | --- | --- | --- | --- | ---
{php} $forums = \app\forum\model\Forum::with('moderator') -> order('sort desc,id asc') -> select(); $forums = \ebcms\Tree::group($forums); {/php} {foreach name='forums' item='items' key="group"}
{$group} |
{foreach name='items' item='vo'}
{$vo.id} |  | {$vo.title} | {if condition="check_auth('edit')"} 编辑 {/if} {if condition="check_auth('delete')"} {/if} | {if condition="check_auth('open')"} {eq name='vo.open' value='1'} {else/} {/eq} {/if} {if condition="check_auth('auth')"} 权限 {/if} | {if condition="check_auth('status')"} {eq name='vo.status' value='1'} {else/} {/eq} {/if} | {foreach name='vo.moderator' item='v'} {/foreach}
{/foreach} {/foreach}
选择 |

{include file='ebcms@common/footer' /}