{foreach from=$user_fields item=v name=custom}
  • {if $v.type!="depending" && $v.type!="checkbox_group" && $v.type!="terms" && $v.type!="radio_group" && $v.type!="google_maps" && in_array($v.type, $default_fields_types) }{/if} {if $v.type=="textbox" || $v.type=="url" || $v.type=="email" || $v.type=="user_email"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {/if} {if $v.type=="file" || $v.type=="image"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {if $v.type=="file" && $tmp[$v.caption]}{/if} {if $v.type=="image" && $tmp[$v.caption]}{/if} {/if} {if $v.type=="textarea"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {/if} {if $v.type=="htmlarea"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {* {include file="data/htmlarea.html"} *} {/if} {if $v.type=="menu"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {if $v.other_val} {if $tmp[$v.caption] && !in_array($tmp[$v.caption], $v.elements_array)}   {else}   {/if} {/if} {/if} {if $v.type=="multiselect"} {/if} {if $v.type=="radio"} {foreach from=$v.elements_array item=t}   {if $v.prefix!=""} {$v.prefix} {/if} {$t} {if $v.postfix!=""} {$v.postfix} {/if} {/foreach} {/if} {if $v.type=="radio_group"}
    {$v.name}{if $v.required==1} *{/if} {if $v.info_message} {$v.info_message} {/if} {foreach from=$v.elements_array item=t name=rad} {if $smarty.foreach.rad.index!=0 && $smarty.foreach.rad.index%3==2}{/if} {/foreach}
      {if $v.prefix!=""} {$v.prefix} {/if} {$t} {if $v.postfix!=""} {$v.postfix} {/if}
    {/if} {if $v.type=="checkbox"} {/if} {if $v.type=="checkbox_group"}
    {$v.name}{if $v.required==1} *{/if} {if $v.info_message}{$v.info_message}{/if} {foreach from=$v.extra_elements_array item=t name=check} {if $smarty.foreach.check.index!=0 && $smarty.foreach.check.index%3==2}{/if} {/foreach}
      {if $v.prefix!=""} {$v.prefix} {/if} {$t.name} {if $v.postfix!=""} {$v.postfix} {/if}
    {/if} {if $v.type=="date" } {include file="data/date.html"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {/if} {if $v.type=="youtube"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {/if} {if $v.type=="google_maps" }
    {$v.name}{if $v.required==1} *{/if} {if $v.info_message}{$v.info_message}

    {/if}
    {/if} {if $v.type=="terms" && !$id }
    {$v.name}{if $v.required==1} *{/if} {if $v.info_message} {$v.info_message}{/if}

    {/if} {if !in_array($v.type, $default_fields_types)}
    {$v.name}{if $v.required==1} *{/if} {if $v.info_message}{$v.info_message}{/if} {include file="modules/`$v.type`/form.html"}
    {/if} {if $v.type!='depending'} {if $v.type!="checkbox_group" && $v.type!="radio_group" && $v.type!="google_maps" && $v.type!="terms" && in_array($v.type, $default_fields_types)} {if $v.info_message} {$v.info_message}{/if} {/if} {elseif $v.type=='depending'} {if $v.other_val} {if $tmp[$v.depending.caption1] && !in_array($tmp[$v.depending.caption1], $v.depending.elements)}   {else}   {/if} {/if} {if $v.info_message} {$v.info_message}{/if}
  • {if $v.other_val}   {/if} {if $v.depending.no>=3}
  • {if $v.other_val}   {/if} {/if} {if $v.depending.no==4}
  • {if $v.other_val}   {/if} {/if} {/if}
  • {/foreach}