{template '_header'}
{ifp 'sns.category.add'} 添加新分类 {/if}

版块分类

{if count($list)>0}
{loop $list $row} {/loop}
ID 显示顺序 标题 状态 操作
{$row['id']} {ifp 'sns.category.edit'} {$row['displayorder']} {else} {$row['displayorder']} {/if} {$row['name']} 1,'id'=>$row['id']))}' data-switch-value1='1|显示|label label-success|{php echo webUrl('sns/category/enabled',array('enabled'=>0,'id'=>$row['id']))}' {/if} > {if $row['enabled']==1}显示{else}隐藏{/if} {ifp 'sns.category.view|sns.category.edit'} {ifp 'sns.category.edit'}修改{else}查看{/if} {/if} {ifp 'sns.category.delete'} 删除 {/if}
{$pager} {else}
暂时没有任何版块分类
{/if} {template '_footer'}