<{if !$realty_data}>
  <h2><{$smarty.const._RE_NODATA}></h2>
<{else}>
  <font color='red'><b><{$warrning}></b></font>
  <!-- DATA TABLE SECTION -->
  <table width="100%" id="realty">
  <tr>
    <th scope="col">No.</th>
    <th scope="col"><{$smarty.const._RE_HASIMAGE}></th>
    <th scope="col"><{$smarty.const._RE_PROPERTY}></th>
    <th scope="col"><{$smarty.const._RE_RAILS}></th>
    <th scope="col"><{$smarty.const._RE_TRANSIT}></th>
    <th scope="col"><{$smarty.const._RE_PRICE}></th>
    <th scope="col"><{$smarty.const._RE_ADDRESS}></th>
    <th scope="col"></th>
  </tr>
  <!-- RECORD DATA -->
  <{foreach item=i from=$realty_data}>
  <tr>
      <td><{$i.id}></td>
      <td><img height="48" width="48" alt="<{$i.station_name}>" src=<{$i.imageURL}> /></td>
      <td><{$i.last_modified|date_format:$smarty.const._RE_UPDATE_FORMAT}><{$smarty.const._RE_UPDATEDESC}>
      <br /><a href="index.php?property_id=<{$i.property_id}>"><{$i.property_id}></a></td>
      <td><{$i.railline_name}><br /><{$i.station_name}></td>
      <td><{$smarty.const._RE_WALKTO}><{$i.twf_station}><{$smarty.const._RE_MIN}></td>
      <td align="right">
      	<{$i.price|number_format}><{$smarty.const._RE_PRICE_UNIT}>
      </td>
      <td><{$i.address}></td>
      <td>
      <a href="detail.php?id=<{$i.id}>"><span><{$smarty.const._RE_DETAIL}></span></a>
      <{if $xoops_isuser}>
        <br /><a class="qmButton qmEdit colorbox" href="edit.php?id=<{$i.id}>&amp;op=edit"><span><{$smarty.const._EDIT}></span></a>
      <{/if}>
      </td>
  </tr>
  <{/foreach}>
  </table>
  <div class="pagenav">
  <{$realty_pagenav}>
  </div>
<{/if}>
<{if $addnew_link}>
  <a class="qmButton qmAdd colorbox" href="<{$addnew_link}>"><span><{$smarty.const._RE_CREATEPROMPT}></span></a>
<{/if}>