<!-- show listing field values (search mode) -->	

<div class="table-cell">
	<div class="name">{$field.name}:</div>
	<div class="value">
	{if $field.Type == 'text'}
		{$field.value}
	{elseif $field.Type == 'number'}
		{if isset($field.value.distance)}
			<b>{$field.value.distance}</b> {$lang.zip_miles} {$lang.from} <b>{$field.value.zip}</b> {$lang.zip_zip}
		{else}
			<span class="text">{$lang.from}</span> {if $field.value.from}{$field.value.from} {$field.value.df}{else}{$lang.any}{/if} <span class="text">{$lang.to}</span> {if $field.value.to}{$field.value.to} {$field.value.df}{else}{$lang.any}{/if}
		{/if}
	{elseif $field.Type == 'date'}
		{if $field.Default == 'single'}
			<span class="text">{$lang.from}</span> {if !empty($field.value.from)}{$field.value.from|date_format:$smarty.const.RL_DATE_FORMAT}{else}{$lang.any}{/if} <span class="text">{$lang.to}</span> {if !empty($field.value.to)}{$field.value.to|date_format:$smarty.const.RL_DATE_FORMAT}{else}{$lang.any}{/if}
		{elseif $field.Default == 'multi'}
			{$field.value|date_format:$smarty.const.RL_DATE_FORMAT}
		{/if}
	{elseif $field.Type == 'mixed'}
		<span class="text">{$lang.from}</span> {if $field.value.from}{$field.value.from} {$field.value.df}{else}{$lang.any}{/if} <span class="text">{$lang.to}</span> {if $field.value.to}{$field.value.to} {$field.value.df}{else}{$lang.any}{/if} <br />{if empty($field.value.df)}<span class="text">{$lang.unit}</span> {$lang.any}{/if}
	{elseif $field.Type == 'price'}
		<span class="text">{$lang.from}</span> {if $field.value.from}{$field.value.currency}{str2money string=$field.value.from}{else}{$lang.any}{/if} <span class="text">{$lang.to}</span> {if $field.value.to}{$field.value.currency}{str2money string=$field.value.to}{else}{$lang.any}{/if} <br />{if empty($field.value.currency)}<span class="text">{$lang.currency}</span> {$lang.any}{/if}	
	{elseif $field.Type == 'bool'}
		{if $field.value}{$lang.yes}{else}{$lang.no}{/if}
	{elseif $field.Type == 'select'}
		{if $field.Condition == 'years'}
			<span class="text">{$lang.from}</span> {if $field.value.from}{$field.value.from}{else}{$lang.any}{/if} <span class="text">{$lang.to}</span> {if $field.value.to}{$field.value.to}{else}{$lang.any}{/if}
		{else}
			{$field.value}
		{/if}
	{elseif $field.Type == 'radio'}
		{$field.value}
	{elseif $field.Type == 'checkbox'}
		{$field.value}
	{/if}
	</div>
</div>
	
<!-- show listing field values (search mode) end -->