<div class="content">
	{if $listing_types.$type.Photo}
		{if $listing_types.$type.Page}<a {if $config.featured_new_window}target="_blank"{/if} href="{$rlBase}{if $config.mod_rewrite}{$pages.$page_key}/{$featured_listing.Path}/{str2path string=$featured_listing.listing_title}-{$featured_listing.ID}.html{else}?page={$pages.$page_key}&amp;id={$featured_listing.ID}{/if}">{/if}
			<img alt="{$featured_listing.listing_title}" title="{$featured_listing.listing_title}" src="{if empty($featured_listing.Main_photo)}{$rlTplBase}img/no-picture.jpg{else}{$smarty.const.RL_URL_HOME}files/{$featured_listing.Main_photo}{/if}" style="width: {$config.pg_upload_thumbnail_width}px;height: {$config.pg_upload_thumbnail_height}px;" />
		{if $listing_types.$type.Page}</a>{/if}
	{/if}
	{assign var='available_field' value=1}
	<ul>
	{foreach from=$featured_listing.fields item='item' key='field' name='fieldsF'}
		{if !empty($item.value) && $item.Details_page}
			<li class="{if $available_field == 1}first{/if}{if $item.Key == 'price' && $tpl_settings.featured_price_tag} price_tag{/if}{if $item.Key == 'sale_rent' && $tpl_settings.featured_price_tag} sale-rent {if $item.value == $lang.$phrase_sale}type-sale{else}type-rent{/if}{/if}" id="flf_{$featured_listing.ID}_{$item.Key}" {if $listing_types.$type.Photo}style="width: {$config.pg_upload_thumbnail_width+4}px;"{/if}>
				{if $available_field == 1 || $item.Key == 'price'}
					{if $listing_types.$type.Page}<a {if $config.featured_new_window}target="_blank"{/if} href="{$rlBase}{if $config.mod_rewrite}{$pages.$page_key}/{$featured_listing.Path}/{str2path string=$featured_listing.listing_title}-{$featured_listing.ID}.html{else}?page={$pages.$page_key}&amp;id={$featured_listing.ID}{/if}">{else}<b>{/if}
						{$item.value}{if $item.Key == 'price'}<span></span>{/if}
					{if $listing_types.$type.Page}</a>{else}</b>{/if}
				{else}
					{$item.value}
				{/if}
				{if $item.Key == 'sale_rent' && $tpl_settings.featured_price_tag}<span></span><span></span>{/if}
			</li>
			{assign var='available_field' value=$available_field+1}
		{/if}
	{/foreach}
	{if $available_field == 1}<li></li>{/if}
	</ul>
</div>