{foreach from=$fields_array item=v} {if $v.type=="price" && $ads_settings.enable_price} {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_list.html"} {else} {include file="modules/price_extra/custom_fields_form_list.html" fieldset=0} {/if} {else}
{$v.name}:
{if $values_array.price>=0}{$values_array.price_curr}{else}-{/if}
{/if} {if $ads_settings.enable_auctions && isset($values_array.auction) && $values_array.auction.id}
{$lng.useraccount.auction}:
{$lng.useraccount.auction_start_price}: {$values_array.auction.starting_price}
{/if} {elseif $v.type=="image"}
{$v.name}:
{if isset($values_array[$v.caption]) && $values_array[$v.caption]}{else}-{/if}
{elseif $v.type=="file"}
{$v.name}:
{if isset($values_array[$v.caption]) && $values_array[$v.caption]} {else}-{/if}
{elseif $v.type=="multiselect"}
{$v.name}:
{if isset($values_array[$v.caption]) && $values_array[$v.caption]}{$values_array[$v.caption]|@implode:', '}{else}-{/if}
{elseif $v.type=="google_maps"}
{$v.name}:
{if $values_array[$v.caption]}
{else}- {/if}
{elseif $v.type=='checkbox_group'}
{$v.name}:
{foreach from=$v.extra_elements_array item=t name=check}
{if $v.prefix!=""} {$v.prefix} {/if} {$t.name} {if $v.postfix!=""} {$v.postfix} {/if}
{/foreach}
{elseif $v.type=="depending"}
{$v.depending.name1}:
{if isset($values_array[$v.depending.caption1]) && $values_array[$v.depending.caption1]}{if $values_array[$v.depending.caption1]=="all" && $v.all_val}{$lng.general.all}{else}{$values_array[$v.depending.caption1]}{/if}{else}-{/if}
{$v.depending.name2}:
{if isset($values_array[$v.depending.caption2]) && $values_array[$v.depending.caption2]}{if $values_array[$v.depending.caption2]=="all" && $v.all_val}{$lng.general.all}{else}{$values_array[$v.depending.caption2]}{/if}{else}-{/if}
{if $v.depending.no>=3}
{$v.depending.name3}:
{if isset($values_array[$v.depending.caption3]) && $values_array[$v.depending.caption3]}{if $values_array[$v.depending.caption3]=="all" && $v.all_val}{$lng.general.all}{else}{$values_array[$v.depending.caption3]}{/if}{else}-{/if}
{/if} {if $v.depending.no>=4}
{$v.depending.name4}:
{if isset($values_array[$v.depending.caption4]) && $values_array[$v.depending.caption4]}{if $values_array[$v.depending.caption4]=="all" && $v.all_val}{$lng.general.all}{else}{$values_array[$v.depending.caption4]}{/if}{else}-{/if}
{/if} {if $v.depending.no>=5}
{$v.depending.name5}:
{if isset($values_array[$v.depending.caption5]) && $values_array[$v.depending.caption5]}{if $values_array[$v.depending.caption5]=="all" && $v.all_val}{$lng.general.all}{else}{$values_array[$v.depending.caption5]}{/if}{else}-{/if}
{/if} {elseif $v.type=="checkbox"}
{$v.name}:
{if isset($values_array[$v.caption]) && $values_array[$v.caption]==1}{$lng.general.Yes}{else}{$lng.general.No}{/if}
{elseif $v.type=="youtube"}
{$v.name}:
{if isset($values_array[$v.caption]) && $values_array[$v.caption]}{$values_array[$v.caption]|regex_replace:'/ width="[0-9]+"/':' width="500"'|regex_replace:'/ height="[0-9]+"/':' height="388"'}{else}-{/if}
{elseif $v.type!="terms"}
{$v.name}:
{if isset($values_array[$v.caption]) && $values_array[$v.caption]}{if $v.type=="url"}{/if}{if $v.type=="menu" && $values_array[$v.caption]=="all" && $v.all_val}{$lng.general.all}{else}{$values_array[$v.caption]}{/if}{if $v.type=="url"}{/if}{else}-{/if}
{/if} {/foreach}