{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="{$dirName}?action=seller_mypage">出品機能</a></li>
    <li>&nbsp;&gt;&nbsp;出品商品登録依頼</li>
  </ul>
</div>
<!--End of pankuzu-->

<div id="etc">
<h3>{$action.title}</h3>


<form method="post" action="{$scriptName}">
  <input type="hidden" name="{token->getName}" value="{token->getValue}">
  <input type="hidden" id="ac" name="action" value="">
  <input type="hidden" name="download" value="{$action.download}">
  <input type="hidden" name="itemnm" value="{$action.itemnm}">
  <input type="hidden" name="itemnmkana" value="{$action.itemnmkana}">
  <input type="hidden" name="title" value="{$action.title}">
  <input type="hidden" name="maker_capi" value="{$action.maker_capi}">
  <input type="hidden" name="makercd" value="{$action.makercd}">
  <input type="hidden" name="labelcd" value="{$action.labelcd}">
  <input type="hidden" name="seriescd" value="{$action.seriescd}">
  <input type="hidden" name="iteminfo" value="{$action.iteminfo}">
  <input type="hidden" name="comment" value="{$action.comment}">
{foreach from=$action.genre item=item key="key"}
  <input type="hidden" name="genre[{$key}]" value="{$item}">
{/foreach}
  <input type="hidden" name="itemdivcd" value="{$action.itemdivcd}">
  <input type="hidden" name="eirinrating" value="{$action.eirinrating}">
  <input type="hidden" name="examgroupcd" value="{$action.examgroupcd}">
  <input type="hidden" name="examno" value="{$action.examno}">
  <input type="hidden" name="rankingrate"   value="{$action.rankingrate}">
  <input type="hidden" name="releasedate"   value="{$action.releasedate}">
  <input type="hidden" name="jancd"           value="{$action.jancd}">
  <input type="hidden" name="isbncd"          value="{$action.isbncd}">
  <input type="hidden" name="makeritemcd"     value="{$action.makeritemcd}">
  <input type="hidden" name="salestartdate"   value="{$action.salestartdate}">
  <input type="hidden" name="makerprice"      value="{$action.makerprice}">
  <input type="hidden" name="orderclosedate"  value="{$action.orderclosedate}">
  <input type="hidden" name="saleformcd"      value="{$action.saleformcd}">
  <input type="hidden" name="rectime"         value="{$action.rectime}">
  <input type="hidden" name="mediacd"         value="{$action.mediacd}">
  <input type="hidden" name="struct_comment"  value="{$action.struct_comment}">
  <input type="hidden" name="variationnm"     value="{$action.variationnm}">
  
  <!-- ↓項目（上） --> 
	<table border="0" cellspacing="0" cellpadding="0" class="entryform">
    <tr><td colspan="4" class="non2"><strong>基本情報</strong></td></tr>
      <tr>
        <th align="left">販売方法</th>
        <td align="left" colspan="3">{if $action.download}ダウンロード販売{else}一般販売{/if}</td>
      </tr>
      <tr>
        <th align="left">商品名</th>
        <td align="left" colspan="3">{$action.itemnm}</td>
      </tr>
      <tr>
        <th align="left">商品名かな</th>
        <td align="left" colspan="3">{$action.itemnmkana}</td>
      </tr>
      <tr>
        <th align="left">ジャンル</th>
        <td align="left" colspan="3">
{action->getGenrenmList assign=genrenm}
{foreach from=$genrenm item=g1 name=g}{foreach from=$g1 item=g2 name=k}
{$g2.genrenm}{if $smarty.foreach.k.last}<br />{else}&nbsp;&gt;&nbsp;{/if}
{/foreach}{/foreach}

{*{action->getGenrenmList assign=genrenm}
{foreach item=item from=$genrenm}
          {$item.genrenm|escape}&nbsp;
{/foreach}*}
      </td>
      </tr>
      <tr>
        <th align="left">商品説明</th>
        <input type="hidden" name="itemexp" value="{$action.itemexp}">
        <td align="left" colspan="3">{$action.itemexp}</td>
      </tr>
      
            <tr>
        <th align="left">お店からのコメント</th>
        <td align="left" colspan="3">
          {$action.comment|nl2br}</td>
      </tr>
      
      <tr>
{*
		        <th align="left">ランク</th>
		        <td align="left">
		          {section name=rank loop=$action.rankingrate max=5}★{/section}</td>
*}
		       
        <th align="left">公開日</th>
        <td align="left" colspan="3">
          {$action.releasedate}</td>
      </tr>
      
      {*
			      <tr>
			        <th align="left">メーカー</th>
			        <td align="left">
			          {action->getMakernm|escape}</td>
			      </tr>
*}
      

	<tr>
<td colspan="4" class="non2"><strong>基本情報(自由追加項目）</strong></td>
</tr>
      

<!-- オプション情報 -->
{action->setBasicOption assign=basic_option}
{foreach from=$basic_option item="option" key="key" name="opt"}
      <tr>
        <th align="left">{$option.name}</th>
        <td align="left"  colspan="3">
{assign var="div" value=$smarty.foreach.opt.iteration|string_format:"%02s"}
{assign var="nm" value="basic_option$div"}
{if is_array($option.attributes)}
{assign var="c" value=$action.$nm}
          <input type="hidden" name="{$nm}" value="{$action.$nm}">{$option.attributes.$c}
{else}
          <input type="hidden" name="{$nm}" value="{$action.$nm}">{$action.$nm}
{/if}
        </td>
      </tr>
{/foreach}


	<tr>
{*
<td colspan="4" class="non2"><strong>構成情報</strong></td>
</tr>

      <tr>
        <th align="left">バリエーション名</th>
        <td align="left" colspan="3">
          {$action.variationnm}
        </td>
      </tr>
      <tr>
        <th align="left">品番</th>
        <td align="left">
          {$action.makeritemcd}</td>
        <th align="left">JANコード</th>
        <td align="left">
          {$action.jancd}</td>
      </tr>
      <tr>
        <th align="left">発売日</th>
        <td align="left">
          {$action.salestartdate}</td>
        <th align="left">発注締切日 </th>
        <td align="left">
          {$action.orderclosedate}</td>
      </tr>
      <tr>
        <th align="left">メーカー定価</th>
        <td align="left">
          {$action.makerprice|number_format}円</td>
      </tr>
      <tr>
        <th align="left" class="reference1">コメント</th>
        <td align="left" class="reference1" colspan="3">
          {$action.struct_comment}</td>
      </tr>


	<tr>
<td colspan="4" class="non2"><strong>構成情報(自由追加項目)</strong></td>
</tr>

<!-- オプション情報 -->
{action->setStructOption assign=struct_option}
{foreach from=$struct_option item="option" key="key" name="opt"}
      <tr>
        <th align="left">{$option.name}</th>
        <td align="left"  colspan="3">
{assign var="div" value=$smarty.foreach.opt.iteration|string_format:"%02s"}
{assign var="nm" value="struct_option$div"}
{if is_array($option.attributes)}
{assign var="c" value=$action.$nm}
          <input type="hidden" name="{$nm}" value="{$action.$nm}">{$option.attributes.$c}
{else}
          <input type="hidden" name="{$nm}" value="{$action.$nm}">{$action.$nm}
{/if}
        </td>
      </tr>
{/foreach}

*}
      <tr>
        <td colspan="3" class="non">&nbsp;</td>
        <td class="constatation"><p></p>
          <div id="submit">
            <input type="image" name="dispatch_seller_itemexhibit_request_item_done" src="img/entry_btn.gif" alt="入力内容のご確認">
          </div>
        </td>
      </tr>
      <tr>
        <td colspan="3" class="non">&nbsp;</td>
        <td class="constatation2"><p>前ページへ戻る</p>
        <div id="submit">
          <input name="dispatch_seller_itemexhibit_request_item_form" type="image" src="img/back_btn.gif" alt="戻る">
        </div>
      </td>
    </tr>
  </table>
  <!-- ↑項目（上） -->
    
</form>

</div>
<!-- ↑etc -->

</div>
<!-- ↑段組み　メイン側 -->

{include file="footer.html"}
