{if empty($aListing)}
{language text="no_listing"}
{else}
  {str_replace text="`listing_apaging_fromrow_apaging_tor`" aPaging_fromRow="`$aPaging.fromRow`" aPaging_toRow="`$aPaging.toRow`" aPaging_totalRows="`$aPaging.totalRows`" }

{language text="date"} {language text="subject"} {language text="views"}
{foreach from=$aListing item=aItem name=listings}
{$aItem.time|date_format:$sDateFormatShort}
{if $aItem.bloc} {img src=$aItem.srcf alt=$aItem.location style="vertical-align:middle;" onmouseover="showInfo2(this.alt)" onmouseout="return nd();" style="vertical-align: middle;" height="12" width="18"} {/if}
{$aItem.title|escape}
{language text="posted_by_604"}: {$aItem.user} {if !$aItem.views}( {language text="new"} ){/if}
{language text="location"}: {$aItem.city|escape}{if !empty($aItem.state)}, {$aItem.state}{/if}
{$aItem.views}
{/foreach}
{/if}
{include file="$sMainTemplatePath/_blocks/pager.html"}