{include="style"} {include="edit"}
{fun JZLANG('首页')}
{fun JZLANG('系统设置')}
{fun JZLANG('网站设置')}
{php $ctype = []; $i = 0; /} {loop table="ctype" orderby="id asc" isopen="1" as="v"} {if(checkAction('Sys/'.$v['action']))}
{fun JZLANG($v['title'])}
{php $ctype[]=$v; $i++; /} {/if} {/loop} {if($admin['gid']==1)}
{fun JZLANG('自定义配置')}
{/if}
{foreach $ctype as $s}
{loop table="sysconfig" typeid="$s['id']" orderby="orders desc,id asc" as="v"} {if($v['type']==1)}
{fun JZLANG($v['title'])}
{fun JZLANG('上传图片')}
{if($v['tip'])}
{/if} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{if($v['sys']!=1)}
{fun JZLANG('删除')}
{/if} {/if}
{else if($v['type']==2)}
{$v['title']}
{if($v['tip'])}
{/if} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{if($v['sys']!=1)}
{fun JZLANG('删除')}
{/if} {/if}
{else if($v['type']==3)}
{$v['title']} {if($v['tip'])}
{/if} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{/if}
{$v['data']}
{if($v['sys']!=1 && $admin['gid']==1)}
{fun JZLANG('删除')}
{/if}
{else if($v['type']==4)} {php $edit = require_once(APP_PATH.APP_HOME.'/'.HOME_VIEW.'/'.Tpl_template.'/common/uediter.php'); echo $edit; /} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{if($v['sys']!=1)}
{fun JZLANG('删除')}
{/if} {/if} {else if($v['type']==5)}
{$v['title']}
{fun JZLANG('上传文件')}
{if($v['tip'])}
{/if} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{if($v['sys']!=1)}
{fun JZLANG('删除')}
{/if} {/if}
{else if($v['type']==6)}
{$v['title']}
{fun JZLANG('请选择')}
{php $v['config'] = str_replace(',',',',$v['config']); $select = explode(',',$v['config']); /} {foreach $select as $vv} {php $d = explode('=',$vv); /}
{$d[0]}
{/foreach}
{if($v['tip'])}
{/if} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{if($v['sys']!=1)}
{fun JZLANG('删除')}
{/if} {/if}
{else if($v['type']==7)}
{$v['title']}
{fun JZLANG('不选')}
{foreach $classtypetree as $vv} {if($vv['id']==$v['data'])}
{fun str_repeat('--', $vv['level']).$vv['classname']}
{else}
{fun str_repeat('--', $vv['level']).$vv['classname']}
{/if} {/foreach}
{if($v['tip'])}
{/if} {if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{if($v['sys']!=1)}
{fun JZLANG('删除')}
{/if} {/if}
{else if($v['type']==8 || $v['type']==9)}
{$v['title']}
{$v['tip']}
{if($admin['gid']==1)}
{!--$webconf['{$v['field']}']--}
{/if}
{$v['data']}
{if($v['sys']!=1 && $admin['gid']==1)}
{fun JZLANG('删除')}
{/if}
{/if} {/loop} {if($s['id']>7 && $admin['gid']==1)}
{fun JZLANG('删除配置栏')}
{/if}
{/foreach}
{if($admin['gid']==1)}
{fun JZLANG('自定义配置')}
{fun JZLANG('新增配置')}
{fun JZLANG('选择类型')}
{fun JZLANG('图片')}
{fun JZLANG('单行文本')}
{fun JZLANG('多行文本')}
{fun JZLANG('编辑器')}
{fun JZLANG('文件上传')}
{fun JZLANG('下拉选项')}
{fun JZLANG('栏目选项')}
{fun JZLANG('代码')}
{fun JZLANG('添加')}
{fun JZLANG('配置栏目')}
{foreach $ctype as $v}
{$v['title']}
{/foreach}
{fun JZLANG('自定义配置栏')}
{fun JZLANG('添加')}
{/if}
{fun JZLANG('保存')}