{include file="header.html"}

{if $user.contact_name}{$user.contact_name}{else}{$user.username}{/if} {$lng.users.store}

{if in_array("ratings",$modules_array)} {include file="modules/ratings/user_rating.html"} {/if} {* ------- images fields if any (logo ) -------- *} {foreach from=$user_fields_array item=v} {if $v.type=="image" && $user[$v.caption]}{/if} {/foreach}
{foreach from=$user_fields_array item=v} {if $user[$v.caption] && $v.public && $v.type!="google_maps" && $v.type!="checkbox_group" && $v.type!="youtube"&& $v.type!="image" && $v.type!="htmlarea"&& $v.type!="textarea"}
{$v.name}: {if $v.type=='url'}{/if} {if $v.prefix}{$v.prefix}{/if} {if $v.type=="file"} {elseif $v.type=="date"} {$user.vis[$v.caption]} {elseif $v.validation_type=="numeric"} {$user.formatted[$v.caption]} {elseif $v.type=="textarea"} {$user.formatted[$v.caption]} {elseif $v.type=="multiselect"} {$user[$v.caption]|@implode:', '} {elseif $v.type=="checkbox"} {if $user[$v.caption]==1}{$lng.general.Yes}{else}{$lng.general.No}{/if} {else} {$user[$v.caption]} {/if} {if $v.postfix}{$v.postfix}{/if} {if $v.type=='url'}{/if}
{/if} {/foreach}
{foreach from=$user_fields_array item=v} {if $user[$v.caption] && $v.public && ($v.type=="htmlarea" || $v.type=="textarea")}
{$v.name}

{$user[$v.caption]}

{/if} {/foreach}
{* -------- special fields -------- *} {foreach from=$user_fields_array item=v} {if $user[$v.caption] && $v.public && ( $v.type=="google_maps" || $v.type=="checkbox_group" || $v.type=="youtube" )} {if $v.type=="checkbox_group"}
{$v.name}
{* uncomment the following to show only checked options *} {* {foreach from=$user[$v.caption] item=t name=check} {if $smarty.foreach.check.index!=0 && $smarty.foreach.check.index%3==2}{/if} {/foreach} *} {foreach from=$v.elements_array item=t name=check} {if $smarty.foreach.check.index!=0 && $smarty.foreach.check.index%3==2}{/if} {/foreach}
  {$t}
{if in_array($t, $user[$v.caption])}{else}{/if}  {$t}
{elseif $v.type=="youtube"}
{$v.name}
{$user[$v.caption]}
{* limit video width *} {else} {* -------- google maps -------- *}
{$v.name}
{/if} {/if} {/foreach}
{include file="paginator.html"} {include file="order_listings.html"} {foreach name="listings" from=$listings_array item=v} {include file="short_listing.html"} {if !$v.featured && !$v.highlited}
{/if} {/foreach} {include file="fancybox.html"} {include file="listings_js.html"} {* if listings_compare *} {if in_array("listings_compare", $modules_array)} {include file="modules/listings_compare/cmp_js.html"} {/if}
{include file="paginator.html"}
{include file="footer.html"}