{action->getMode      assign=mode}
{action->getPagetitle assign=pagetitle}
{action->getRank      assign=rank}
{action->getComment   assign=comment}
{action->getDetail    assign=detail}

{include file="header.html"}

<div id="contents">

<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;レビュー{$action.pagetitle}確認</li>
  </ul>
</div>

<!--End of pankuzu-->

<div id="etc">
  <h3>レビュー{$action.pagetitle}確認</h3>
  
  <form action="{$scriptName}" method="POST">
  <input type="hidden" name="{token->getName}" value="{token->getValue}">
  <input type="hidden" name="mode"     value="{$action.mode}">
  <input type="hidden" name="rank"     value="{$action.rank|escape}">
  <input type="hidden" name="comment"  value="{$action.comment|escape}">
  <input type="hidden" name="reviewcd" value="{$action.reviewcd}">
  <input type="hidden" name="itemcd"   value="{$action.itemcd}">
  <input type="hidden" name="updcnt"   value="{$action.updcnt}">


  <table border="0" cellspacing="0" cellpadding="0" class="entryform">
    <tr>
      <td rowspan="3">
        <a href="{$smarty.const.URL_ROOT}{$dirName}/item_{$action.itemcd}.html#item-title" title="{$action.rtn_item.itemnm}"><img src="img.php?c={$action.itemcd}&s=M&d=1" width="147" border="0"></a>
      </td>
      <td colspan="2" class="constatation2"><h4>{$action.rtn_item.itemnm}</h4></td>
    </tr>
      <th>ランク</th>
      <td>
{section name=star loop=$action.rank}
        <img src="./images/star1.gif" width="16" height="15">
{/section}
      </td>
    </tr>
    <tr>
      <th>コメント</th>
      <td>{$action.comment|escape|nl2br}</td>
    </tr>
    <tr>
      <td class="non">&nbsp;</td>
      <td class="constatation2" colspan="2">
        <p>以上の内容でレビューを登録します。</p>
        <input type="image" src="img/entry_btn.gif" name="dispatch_customer_itemattribute_review_complete" value="{$action.pagetitle}">
      </td>
    </tr>
        <tr>
      <td class="non">&nbsp;</td>
      <td class="constatation" colspan="2">
        <p><input type="image" src="img/back_btn.gif" name="dispatch_customer_itemattribute_review_input" value="戻る"></p>
      </td>
    </tr>
  </table>
  </form>

</div>
</div>

{include file="footer.html"}
