<{foreach item=i from=$block.recents}>
  <{if $i.options=='homepage'}>
    <div class="offer_box_homepage">
        <table>
        <tr><td><{$i.images}></td>
      	<td>
          <p class="offer">
            <{$i.last_modified|date_format:"%m/%d"}>&nbsp;<{$smarty.const._MB_UPDATEDESC}>&nbsp;
            <{$i.price_jp|number_format}><{$smarty.const._MB_PRICE_UNIT}>&nbsp;
            <a class="qmButton qmAdd colorbox" href="http://maps.google.com/maps?q=<{$i.googlemap}>">
            <span><{$i.title}></span>
            </a><!-- <{$i.dtext}> -->
            <div class="more">
            <a href="<{$xoops_url}>/modules/realty/index.php?property_id=<{$i.property_id}>"><{$smarty.const._MB_MORE}></a>
            </div>
          </p>
        </td></tr>
        </table>
    </div>
  <{/if}>
  <{if $i.options=='last_modified'}>
    <div class="offer_box_wide">
      <div class="offer_info">
        <table>
        <tr><td><{$i.images}></td>
      	<td>
          <p class="offer">
            <{$i.last_modified|date_format:"%m/%d"}>&nbsp;<{$smarty.const._MB_UPDATEDESC}>&nbsp;
            <{$i.price_jp|number_format}><{$smarty.const._MB_PRICE_UNIT}>&nbsp;
            <a class="qmButton qmAdd colorbox" href="http://maps.google.com/maps?q=<{$i.googlemap}>">
            <span><{$i.title}></span>
            </a><!-- <{$i.dtext}> -->
            <div class="more"><a href="<{$xoops_url}>/modules/realty/index.php?property_id=<{$i.property_id}>"><{$smarty.const._MB_MORE}></a></div>
          </p>
        </td></tr>
        </table>
      </div>
    </div>
  <{/if}>
  <{if $i.options=='updated'}>
    <div class="offer_box_nallow">
      <div class="offer_info">
      <table>
        <tr><td><{$i.images}></td>
        <td>
          <p class="offer">
          <{$i.updated|date_format:"%m/%d"}>&nbsp;<{$smarty.const._MB_ENTRYDESC}>&nbsp;
          <{$i.price_jp|number_format}><{$smarty.const._MB_PRICE_UNIT}>&nbsp;
          <a class="qmButton qmAdd colorbox" href="http://maps.google.com/maps?q=<{$i.googlemap}>">
          <span><{$i.prefecture}><{$i.county}><{$i.township}></span>
          </a>
          <div class="more"><a href="<{$xoops_url}>/modules/realty/index.php?property_id=<{$i.property_id}>"><{$smarty.const._MB_MORE}></a></div>
        </p>
        </td></tr>
      </table>
      </div>
    </div>
  <{/if}>
<{/foreach}>
<div class="clear">&nbsp;</div>
