{foreach from=$fields item=field key=field_id} {if $field.main && $field.title != 'subject' && $field.title != 'email'} {else} {/if} {/foreach}
ID {#title#} {#type#} {#sets#}
!
{#defaultval#}
{if $field.main} [tag:fld:{$field.title}] {else} [tag:fld:{$field.id}] {/if}
{if $field.main}
{$field.title_lang|escape} {if $field.title=='copy'}{/if}
{else} {/if}
{if $field.main && $field.title=='receivers'} {foreach from=$field.setting item=receiver name=receivers}
{if $smarty.foreach.receivers.index == 0} {else} {/if}
{/foreach} {else} {/if}
{if $field.main} {else}
{/if}
{if $field.type=='input' || $field.type=='textarea'}
{elseif $field.type=='select' || $field.type=='multiselect'} {foreach from=$field.setting item=title name=select}
{if $smarty.foreach.select.index == 0} {else} {/if}
{/foreach} {elseif $field.type=='doc' || $field.type=='multidoc'} {elseif $field.type == 'file'} {/if}
{if !($field.type == 'doc' || $field.type == 'multidoc' || ($field.main && ($field.title == 'copy' || $field.title == 'receivers')))} {if $field.main && $field.title=='captcha'} {/if} {/if} {if !$field.main && $field.type == 'select'} {/if} {if $field.main && $field.title=='captcha'} {elseif $field.type=='input' || $field.type=='textarea'}
| php | [tag:title] | [tag:uemail] | [tag:uname] | [tag:ufname] | [tag:ulname] |
{if $ave15} {include file="$codemirror_editor" ctrls='form_save();' conn_id="_field_defaultval_$field_id" textarea_id="field_defaultval[$field_id]" height=60} {else} {/if} {elseif ($field.type=='select' || $field.type=='multiselect')} {if !$field.setting_empty} {else} {#setting_empty#} {/if} {elseif $field.type=='checkbox'} {/if}
{if !$field.main} {/if}
{#attributes#}
| php | | [tag:id] | [tag:title] | [tag:if_notempty][/tag:if_notempty] | [tag:if_empty][/tag:if_empty] |
| [tag:uemail] | [tag:uname] | [tag:ufname] | [tag:ulname] | {if $field.type=='input' || $field.type=='textarea' || $field.type=='file'}
| [tag:if_valid][/tag:if_valid] | [tag:if_invalid][/tag:if_invalid] | {/if} {if $field.main && $field.title == 'captcha'}
| [tag:captcha] | {/if}
{#field_tpl#}
| php | [tag:fld] | [tag:id] | [tag:title] | [tag:if_notempty][/tag:if_notempty] | [tag:if_empty][/tag:if_empty] |
| [tag:uemail] | [tag:uname] | [tag:ufname] | [tag:ulname] | {if $field.type=='input' || $field.type=='textarea' || $field.type=='file'}
| [tag:if_valid][/tag:if_valid] | [tag:if_invalid][/tag:if_invalid] | {/if} {if $field.main && $field.title == 'captcha'}
| [tag:captcha] | captcha_img | {/if}
{#field_add#}
{foreach from=$fields item=field key=field_id} {if $ave15} {include file="$codemirror_editor" ctrls='form_save();' conn_id="_field_attr_$field_id" textarea_id="field_attr[$field_id]" height=176} {include file="$codemirror_editor" ctrls='form_save();' conn_id="_field_tpl_$field_id" textarea_id="field_tpl[$field_id]" height=176} {else} {/if} {/foreach}