{$lng.general.latest_ads}
{if $no_latest} {section name=loop start=0 loop=$no_latest step=1} {capture name=some_content assign=details_url} {if $seo_settings.enable_mod_rewrite}{seo->makeDetailsLink p1=$latest[loop].id p2=$latest[loop].title}{else}{$live_site}/details.php?id={$latest[loop].id}{/if} {/capture} {if $smarty.section.loop.index<$no_latest-1} {/if} {/section}
{if $latest[loop].image_id}{$latest[loop].title|strip_tags:false|substr:0:100}{/if} {if $latest[loop].rented && $ads_settings.enable_rented}{elseif $latest[loop].sold && $ads_settings.enable_sold}{/if}
{if $data_set=="cars" && ($latest[loop].make || $latest[loop].model)}

{$latest[loop].make} {$latest[loop].model}

{else}

{if $appearance.charset=="UTF-8"}{$latest[loop].title|mb_truncate:40:"...":"UTF-8"}{else}{$latest[loop].title|truncate:40:"...":false}{/if}

{/if} {$latest[loop].location_str} {if $ads_settings.enable_price} {if in_array("price_extra",$modules_array) && isset($pe_settings[$latest[loop].fieldset])} {include file="modules/price_extra/latest.html"} {else} {if $latest[loop].price>=0}
{$latest[loop].price_curr}
{/if} {/if} {/if} {* end if enable price *}
{$latest[loop].date_nice}
{/if}