{* オリジナルデザインに変更したい方は、自由度の高いsimple11.htmlを参考にしてください。 *} {*ヘッダーファイル読み込み*} {include file=$smarty.const.T_HEAD} {if $smarty.const.MOBILE ne '1'}{*携帯端末以外用の表示*} {*入力チェックJavaScriptのため、削除不可*} {$form.javascript}
{if $smarty.const.HEADIMG1 eq '1'} {/if} {foreach from=$form item=cur key=kcur} {if $kcur eq 'frozen' || $kcur eq 'javascript' || $kcur eq 'attributes' || $kcur eq 'requirednote' || $kcur eq 'errors' || $kcur eq 'hidden' || $kcur eq 'header' || $kcur eq 'submit1' || $kcur eq 'submit2' || $kcur eq 'submit3'} {elseif $cur.type eq 'static'} {elseif $cur.type eq 'text' || $cur.type eq 'textarea' || $cur.type eq 'select' || $cur.type eq 'checkbox' || $cur.type eq 'password' || $cur.type eq 'file'} {*text textarea select checkboxの場合 ココカラ*} {*text textarea select checkboxの場合 ココマデ*} {elseif is_array($cur)} {capture name=radioarea} {foreach from=$cur item=scur key=kscur}{assign var="radiolabel" value=$scur.label}{assign var="radioerror" value=$scur.error}{$scur.html}
{/foreach} {/capture} {*radioの場合 ココカラ*} {*radioの場合 ココマデ*} {/if} {/foreach}
{$form.header.head}
{$cur.label}
{$cur.label} {$cur.html}{if $cur.error ne ''}
{$cur.error}{/if}
{$radiolabel} {$smarty.capture.radioarea}{if $radioerror ne ''}
{$radioerror}{/if}
{$form.submit1.html}  {$form.reset.html}  {$form.submit2.html}{$form.submit3.html}{$form.hidden}
{else}{*携帯端末用の表示*}
{$form.header.head}
{foreach from=$form item=cur key=kcur} {if $kcur eq 'frozen' || $kcur eq 'javascript' || $kcur eq 'attributes' || $kcur eq 'requirednote' || $kcur eq 'errors' || $kcur eq 'hidden' || $kcur eq 'header' || $kcur eq 'submit1' || $kcur eq 'submit2' || $kcur eq 'submit3'} {elseif $cur.type eq 'static'} ■{$cur.label}
{elseif $cur.type eq 'text' || $cur.type eq 'textarea' || $cur.type eq 'select' || $cur.type eq 'checkbox'} {*text textarea select checkboxの場合 ココカラ*} ○{$cur.label}
{$cur.html} {$cur.error}
{*text textarea select checkboxの場合 ココマデ*} {elseif is_array($cur)} {capture name=radioarea} {foreach from=$cur item=scur key=kscur}{assign var="radiolabel" value=$scur.label}{$scur.html} {$scur.error}
{/foreach} {/capture} {*radioの場合 ココカラ*} ○{$radiolabel}
{$smarty.capture.radioarea} {*radioの場合 ココマデ*} {/if} {/foreach} {$form.submit1.html} {$form.reset.html} {$form.submit2.html}{$form.submit3.html}{$form.hidden}
{/if} {*フッターファイル読み込み*} {include file=$smarty.const.T_FOOT}