{include file="public/layout" /}
{eq name='$main_lang' value='$admin_lang'} {eq name="'Arctype@add'|is_check_access" value="1"}
增加栏目
批量增加
{/eq} {/eq}

| ID | 栏目名称 | 所属模型 | 显示 | 操作 | 排序
--- | --- | --- | --- | --- | --- | ---

{empty name="arctype_list"}

没有符合条件的记录

{else /}

{foreach name="arctype_list" item="vo" key="k" }
| {eq name='$main_lang' value='$admin_lang'} {$vo.id} {else /} {$main_arctype_list[$vo['id']]['id']|default=$vo['id']} {/eq} | {gt name='vo.level' value='0'} {php} if (1 == $vo['level']) { echo ''; } elseif (2 == $vo['level']) { echo ''; } {/php} {/gt} {gt name="vo.has_children" value="0"} {else /} {/gt} {if condition="!empty($vo['weapp_code'])"} {$vo.typename} {else /} {if condition="$vo['current_channel'] == 6"} {$vo.typename} {elseif condition="$vo['current_channel'] == 51"} {if condition="$php_servicemeal >= 2"} {$vo.typename} {else /} {$vo.typename} {/if} {else /} {if condition="empty($channeltype_list[$vo['current_channel']]['ifsystem'])"} {$vo.typename} {else /} {$vo.typename} {/if} （文档：{$vo.id|get_total_arc=###}条） {/if} {/if} | {$channeltype_list[$vo['current_channel']]['title']|default=''} | {if condition='$vo.is_hidden eq 1'} 否 {else /} 是 {/if} | {eq name="'Archives@index'|is_check_access" value="1"} {if condition="!empty($vo['weapp_code'])"} 内容 {else /} {if condition="$vo['current_channel'] == 6" /} 内容 {elseif condition="$vo['current_channel'] == 51"} {if condition="$php_servicemeal >= 2"} 内容 {else /} 内容 {/if} {else /} {if condition="empty($channeltype_list[$vo['current_channel']]['ifsystem'])"} 内容 {else /} 内容 {/if} {/if} {/if} {/eq} 编辑 {eq name="'Arctype@add'|is_check_access" value="1"} {if condition="!empty($vo['weapp_code'])"} 增加子栏目 {else /} {if condition="$main_lang == $admin_lang && empty($vo['weapp_code'])"} {if condition="$vo['grade'] < ($arctype_max_level - 1)"} 增加子栏目 {else /} 不支持增加 {/if} {/if} {/if} {/eq} {eq name="'Arctype@pseudo_del'|is_check_access" value="1"} {eq name='$main_lang' value='$admin_lang'} 删除 {/eq} {/eq} 浏览 | {eq name="'Arctype@edit'|is_check_access" value="1"} {else /} {$vo.sort_order} {/eq}
{/foreach}

{/empty}
{include file="public/footer" /}