{action->get_detail assign=details}

{include file="header.html"}


<!--↓コンテンツ-->
<div id="contents">

<!--↓メインコンテンツ-->
<div id="main">

  <div id="pankuzu">
    <ul>
      <li><a href="{$dirName}/index.php">トップ</a></li>
      <li>&nbsp;&gt;&nbsp;<a href="{$smarty.const.URL_ROOT}{$dirName}/?action=customer_mypage">マイページ</a></li>
      <li class="last">&nbsp;&gt;&nbsp;レビュー一覧</li>
    </ul>
  </div>

  <div id="view">
    <h3>レビュー一覧</h3>


{foreach from=$details item=detail name=i}
    <div class="list">
      <ul>
        <li class="pict">
          <a href="{$scriptName}?action=itemdetail&cd={$detail.itemcd}#item-title">
            <img src="img.php?c={$detail.itemcd}&s=S&d=1" alt="{$detail.itemnm}" width="90" />
          </a>
        </li>
        <li class="summary">
          <h4><a href="{$scriptName}?action=itemdetail&cd={$detail.itemcd}#item-title">{$detail.itemnm}</a></h4>
          <p class="date">
            {$detail.year}年{$detail.month}月{$detail.day}日&nbsp;
            <span class="star">{section name=userrank loop=5}{if $smarty.section.userrank.iteration <= $detail.rankingrate}★{else}☆{/if}{/section}</span>
          </p>
          <p>{$detail.comment|escape|nl2br}</p>
        </li>
        <li class="btn">
        <form>
        <p><input type="image" src="img/cart_del_btn.gif" alt="削除" onClick="location.href='index.php?action=customer_itemattribute_review_deleteconfirm&reviewcd={$detail.reviewcd}'; return false;" /></p>
        </form>
        </li>
      </ul>
    </div>
    <!--End of list-->
{/foreach}
  </div>
  <!--End of view-->

</div>
<!--↑メインコンテンツ-->

{include file="sidenavi.html"}
</div>
<!-- ↑コンテンツ -->

{include file="footer.html"}
