{extend name="base" /} {block name="body"}
{empty name="custom_config"} {foreach name="list['config']" item="form" key="o_key"}
{$form.title|default=''}
{switch name="form.type"}{case value="text"} {/case} {case value="password"} {/case} {case value="hidden"} {/case} {case value="radio"} {foreach name="form.options" item="opt" key="opt_k"} {/foreach} {/case} {case value="checkbox"} {foreach name="form.options" item="opt" key="opt_k"} {php} is_null($form["value"]) && $form["value"] = array(); {/php} {/foreach} {/case} {case value="select"}
{/case} {case value="textarea"} {$form.value} {/case} {case value="picture_union"}
{notempty name="form['value']"} {php} $mulimages = explode(",", $form["value"]); {/php} {foreach name="mulimages" item="one"}
{/foreach} {/notempty}
{/case} {/switch}
{present name="form.tip"} {$form.tip} {/present}
{/foreach} {else /} {present name="custom_config"} {$custom_config} {/present} {/empty}
返回
{/block}