<font color='red'><b><{$warrning}></b></font>
<!-- DATA TABLE SECTION -->
  <table width="100%" id="realty">
  <tr>
    <th scope="col"><{$smarty.const._RE_HASIMAGE}></th>
    <th scope="col"><{$smarty.const._RE_PROPERTY}><br /><{$smarty.const._RE_UPDATE}></th>
    <th scope="col"><{$smarty.const._RE_RAILS}></th>
    <th scope="col"><{$smarty.const._RE_TRANSIT}></th>
    <th scope="col"><{$smarty.const._RE_DISTRICT}></th>
    <th scope="col"><{$smarty.const._RE_PRICE}></th>
    <th scope="col"><{$smarty.const._RE_ADDRESS}></th>
  </tr>
  <!-- RECORD DATA -->
  <{foreach item=i from=$realty_data}>
  <tr>
      <td>
		<{if $i.imageURL2}>
        	<img height="32" width="48" alt="<{$i.station_name}>" src=<{$i.imageURL}> /><br />
        	<img height="16" width="48" alt="<{$i.layout_desc}>" src=<{$i.imageURL2}> />
        <{else}>
        	<img height="48" width="48" alt="<{$i.station_name}>" src=<{$i.imageURL}> />
        <{/if}>
      </td>
      <td>
        <{$i.property_id}>
		<{if $i.id}>
        (<{$i.id}>)
        <{/if}>
        <br /><{$i.updated}>
      </td>
      <td><{$i.railline_name}><br /><{$i.station_name}></td>
      <td><{$smarty.const._RE_WALKTO}><{$i.twf_station}><{$smarty.const._RE_MIN}></td>
      <td><{$i.type_desc}><br /><{$i.layout_desc}></td>
      <td align="right">
      	<{$i.price_jp|number_format}><{$smarty.const._RE_PRICE_UNIT}><br />
      	<{$i.yearsold}>
      </td>
      <td>
        <a class="qmButton qmAdd colorbox" href="http://maps.google.com/maps?q=<{$i.googlemap}>">
        <span><{$i.address}></span></a><br />
		<{if $i.area_of_land}>
      	  &nbsp;<{$smarty.const._RE_AREA_OF_LAND}><{$i.area_of_land|number_format}><{$smarty.const._RE_SQM}>
        <{/if}>
		<{if $i.monopolize_area}>
      	  &nbsp;<{$smarty.const._RE_MONOPOLIZE_AREA}><{$i.monopolize_area|number_format}><{$smarty.const._RE_SQM}>
        <{/if}>
		<{if $i.area_of_building}>
      	  &nbsp;<{$smarty.const._RE_AREA_OF_BUILDING}><{$i.area_of_building|number_format}><{$smarty.const._RE_SQM}>
        <{/if}>
      </td>
  </tr>
  <{/foreach}>
  </table>
<p>
  <h2><{$realty_detail.title}></h2>
  <{$realty_detail.text}>
</p>
<{if $xoops_isuser and $realty_data[0].id}>
  <a class="qmButton qmEdit colorbox" href="<{$xoops_url}>/modules/realty/edit.php?id=<{$realty_data[0].id}>&op=edit"><span><{$smarty.const._EDIT}></span></a>
<{/if}>
<{if $xoops_isuser and $realty_data[0].id eq ""}>
  <a class="qmButton qmEdit colorbox" href="<{$xoops_url}>/modules/realty/edit.php?property_id=<{$realty_data[0].property_id}>&op=addnew"><span><{$smarty.const._CREATENEW}></span></a>
<{/if}>
  