{action->getCd assign=code}
{action->getListname assign=list}
{action->getTitle assign=title}
{action->getFrom assign=from}
{if $list == t_tag}
  {action->getTagInfo assign=taginfo}
{else}
  {action->getReviewInfo assign=reviewinfo}
{/if}
{include file="admin/header.html"}
{include file="admin/gnavi.html"}

<div id="container">

{include file="admin/menu/submenu_user.html"}

<!-- ↓段組み メイン側 -->
<div id="main">

<h3>{$title}一覧</h3>


<form action="{$scriptName}" id="form1" method="POST">
<input type="hidden" name="action" value="admin_usermanage_itemattribute_complete">
<input type="hidden" name="{token->getName}" value="{token->getValue}">
<input type="hidden" name="from"       value="{$action.from}">
<input type="hidden" name="listname"   value="{$list}">

<table border="0" cellspacing="0" cellpadding="0">
<tr>
 <td>
  本当に削除しますか?
 </td>
</tr>
</table>


{if $list == t_tag}

<table border="0" cellspacing="0" cellpadding="0" class="hyou">
<tr>
    <th>登録日付</th>
    <td>{$taginfo.createdate}</td>
</tr><tr>
    <th>タグ</th>
    <td>{$taginfo.tagnm|escape}</td>
</tr><tr>
    <th>商品名</th>
    <td>{$taginfo.itemnm|escape}</td>
</tr><tr>
    <th>名前</th>
    <td>{$taginfo.lastnm|escape}{$taginfo.firstnm|escape}</td>
</tr>
</table>


{else}

<table border="0" cellspacing="0" cellpadding="0" class="hyou">
<tr>
    <th>登録日付</th>
    <td>{$reviewinfo.createdate}</td>
</tr><tr>
    <th>レビュー</th>
    <td>{$reviewinfo.comment|escape|nl2br}</td>
</tr><tr>
    <th>ランク</th>
    <td>{$reviewinfo.rankingrate}</td>
</tr><tr>
    <th>商品名</th>
    <td>{$reviewinfo.itemnm|escape}</td>
</tr><tr>
    <th>名前</th>
    <td>{$reviewinfo.lastnm|escape}{$reviewinfo.firstnm|escape}</td>
</tr>
</table>


{/if}


<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right"><input type="submit" name="Submit" value="削除">&nbsp<input type="button" onclick="location.href='{$scriptName}?action={$from}'" value="一覧に戻る"></td>
  </tr>
</table>

</form>

<div class="pagetop" title="ページトップへ"><a href="#top">ページトップへ</a></div>

</div>
<!--End of main-->

<div class="cr"></div>
</div>
<!--End of container-->

{include file="admin/footer.html"}
