{template 'common/header'} {if $operation == 'post'}
添加区域
{if !empty($parentid)}
{$parent['name']}
{/if}
{if empty($parentid)}
标题,如果上传语音文件,前台使用语音文件 {php echo tpl_form_field_wechat_voice('mediaid', $category['mediaid']);} 请上传语音
{else}
{/if}
   
{elseif $operation == 'display'}
管理打招呼
{if !empty($category)} {loop $category $row} {loop $children[$row['id']] $item} {/loop} {/loop} {else} {/if}
显示顺序 名称 是否显示 操作
{if count($children[$row['id']]) > 0} {/if}
{$row['name']}  语音文件 {if empty($row['parentid'])} 添加答案 {/if}
{if !empty($row['enabled']) && $row['enabled'] == 1}
显示
{else}
不显示
{/if}
编辑 删除
{$item['name']}  
{if !empty($item['enabled']) && $item['enabled'] == 1}
显示
{else}
不显示
{/if}
编辑 删除
{/if} {template 'common/footer'}