{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" style="display: inline">
  <input type="hidden" name="mode"     value="{$action.mode}">
  <input type="hidden" name="reviewcd" value="{$action.rtn_review.reviewcd}">
  <input type="hidden" name="itemcd"   value="{$action.itemcd}">
  <input type="hidden" name="updcnt"   value="{$action.rtn_review.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>
   <tr>
      <th>ランク</th>
      <td>
        <select name="rank">
          <option value=5{if $action.rank == 5} selected{/if}>★★★★★
          <option value=4{if $action.rank == 4} selected{/if}>★★★★☆
          <option value=3{if $action.rank == 3} selected{/if}>★★★☆☆
          <option value=2{if $action.rank == 2} selected{/if}>★★☆☆☆
          <option value=1{if $action.rank == 1} selected{/if}>★☆☆☆☆
        </select>
      </td>
    </tr>
    <tr>
      <th>コメント</th>
      <td>
        <textarea name="comment" cols="50" rows="5">{$action.comment}</textarea>
      </td>
    </tr>
    <tr>
      <td class="non">&nbsp;</td>
      <td colspan="2" class="constatation2"><p>以上の内容でよろしければ、確認ボタンを押してください。</p>
        <p><input type="image" src="img/constatation_btn.gif" name="dispatch_customer_itemattribute_review_confirm" value="確認"></p>
      </td>
    </tr>
    <tr>
    <td class="non">&nbsp;</td>
      <td colspan="2" class="constatation">
        <p><input type="image" src="img/back_btn.gif" value="戻る" onclick="location.href='{$smarty.const.URL_ROOT}{$dirName}/item_{$action.itemcd}.html#item-title'; return false;"></p>
        </form>
      </td>
    </tr>
  </table>

  </form>

</div>

</div>

{include file="footer.html"}
