{foreach from=$fields_array item=v name=custom} {if !isset($edit) || !$edit || $v.type!="terms"}
  • {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) && ($v.type!="password" || !isset($edit) || !$edit)}{/if} {if $v.type=="password" && (!isset($edit) || !$edit)} {/if} {if $v.type=="textbox" || $v.type=="url" || $v.type=="email" || $v.type=="user_email" || $v.type=="username" || $v.type=="phone" || $v.type=="whatsapp"} {if $v.prefix!=""} {$v.prefix} {/if} {if ($v.type=="phone" || $v.type=="whatsapp") && $v.ext1==1}{/if} {if $v.postfix!=""} {$v.postfix} {/if} {if $v.type=="username"} {/if} {/if} {if $v.type=="file" || $v.type=="image"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {if isset($tmp[$v.caption]) && $tmp[$v.caption]} {if $v.type=="file"}{/if} {if $v.type=="image"}{/if} {/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} {/if} {if $v.type=="menu"} {if $v.prefix!=""} {$v.prefix} {/if} {if $v.postfix!=""} {$v.postfix} {/if} {if $v.other_val} {if isset($tmp[$v.caption]) && $tmp[$v.caption] && $tmp[$v.caption]!="all" && !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" && (!isset($edit) || !$edit) }
    {$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=="user_email" && $v.ext1==1 && (!isset($edit) || !$edit)}
    {/if} {assign var=uc_array value=["textbox", "textarea", "htmlarea", "menu", "url", "email", "user_email", "phone", "whatsapp", "date"]} {if $type=="user" && in_array($v.type, $uc_array) && $v.public==2} {* user choice for public *} {capture name=some_content assign=pub_field}pb_{$v.caption}{/capture}   {$lng.listings.make_public} {elseif $v.type!='depending' && $v.type!='price'} {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 $v.type=="password" && $v.ext1==1 && (!isset($edit) || !$edit)}

    {/if} {/if} {elseif $v.type=='price' && $ads_settings.enable_price} {* -------- price_extra ---------- *} {if in_array("price_extra", $modules_array) && (isset($pe_settings[$fieldset]) || isset($pe_settings[0]))} {if isset($pe_settings[$fieldset])} {include file="modules/price_extra/custom_fields_form.html"} {else} {include file="modules/price_extra/custom_fields_form.html" fieldset=0} {/if} {else} {if $currencies|@count>1} {else} {$currencies[0].currency} {/if} {if isset($v.info_message)} {$v.info_message}{/if} {/if} {* end if price extra *} {* ---------- if auctions enabled ------------ *} {if $ads_settings.enable_auctions}
    0}checked{/if} /> {$lng.listings.enable_auction}  0 && $tmp.auction.starting_price_nc}value="{$tmp.auction.starting_price_nc}"{/if} />  {if $currencies|@count>1} {else} {$currencies[0].currency} {/if}
    {/if} {* ---------- end if auctions enabled ------------ *} {elseif $v.type=='depending'} {if $v.other_val} {if isset($tmp[$v.depending.caption1]) && $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 $v.depending.no>=5}
  • {if $v.other_val}   {/if} {/if} {/if}
  • {/if}{* end if editable *} {/foreach}