{template '_header'}
{ifp 'diyform.temp.add'} 添加新模板 {/if} 返回列表

{if !empty($item['id'])}编辑{else}添加{/if}模板 {if !empty($item['id'])}修改【{$item['title']}】{/if}

{ife 'diyform.temp' $item} {if !empty($_GPC['id'])}
警告:当模板中已经添加数据后改变模板结构有可能导致无法使用!
使用情况:
会员资料 ({if $use_flag1}正在使用{else}未使用{/if})
分销商申请资料 ({if $use_flag2}正在使用{else}未使用{/if})
商城商品({if $datacount3>0}{php echo $datacount3}种商品正在使用{else}未使用{/if})
{/if} {/if}
{ife 'diyform.temp' $item} {else} {loop $category $c} {if $item['cate']==$c['id']}{$c['name']}{/if} {/loop} {/if}
{ife 'diyform.temp' $item} {else}
{$item['title']}
{/if}
{template 'diyform/temp/tpl/data'}
{ife 'diyform.temp' $item} {/if} 返回列表
{ife 'diyform.temp' $item} {template 'diyform/temp/tpl/script'} {/if} {template '_footer'}