{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 p3='' p4=$latest[loop].category_id p5=$latest[loop].slug}{else}{$live_site}/details.php?id={$latest[loop].id}{/if}{/capture}
{if $latest[loop].image_id}{$latest[loop].title|strip_tags:false|substr:0:100}{/if} {if $latest[loop].sold}
{$lng.listings.sold}
{/if} {if $latest[loop].rented}
{$lng.listings.rented}
{/if} {if in_array("acategories", $modules_array) && in_array($latest[loop].category_id, $ac_settings.array_categories_list)}
{$lng.general.click_to_view}
{/if}

{if $data_set=="cars" && ((isset($latest[loop].make) && $latest[loop].make) || (isset($latest[loop].model) && $latest[loop].model))}{$latest[loop].make} {$latest[loop].model}{else}{if $appearance.charset=="UTF-8"}{$latest[loop].title|mb_truncate:30:"...":"UTF-8"}{else}{$latest[loop].title|truncate:30:"...":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/gallery_listing.html" pe_listing=$latest[loop]} {else} {if $latest[loop].price>=0}
{$latest[loop].price_curr}
{/if} {/if} {/if} {* end if enable price *} {if !in_array($latest[loop].id, $fav_array)}
{else}
{/if}
{/section}
{if $no_latest}

{$lng.listings.view_all_latest}

{/if}