{include file="header.html"}

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

<div id="pankuzu">
<ul>
<li><a href="index.php">トップ</a></li>
<li>&nbsp;&gt;&nbsp;<a href="{$dirName}/?action=seller_mypage">出品機能</a></li>
<li class="last">&nbsp;&gt;&nbsp;出品情報の変更 </li>
</ul>
</div><!--End of pankuzu-->

<div id="etc">
<h3>出品情報の変更 </h3>

{action->getItemregist  assign=itemregist}
{errorList->getMessages assign=errmsg}


<form action="{$scriptName}" method="POST" id ="exhibit_in">
  <input type="hidden" name="sort" value="{$action.sort}">
  <input type="hidden" name="pageID" value="{$action.pageID}">
  <input type="hidden" name="listsize" value="{$action.listsize}">


     {if $errmsg}

          <ul class="alert">
            {foreach from=$errmsg item=msg}
              <li>{$msg|escape}</li>
            {/foreach}
          </ul>

    {/if}


<table border="0" cellspacing="0" cellpadding="0" class="entryform">

    {assign var="item" value=$action.results}
    <input type="hidden" name="mediacd" value="{$item.mediacd}">
    <input type="hidden" name="itemcd" value="{$item.itemcd}">
    <input type="hidden" name="structcd" value="{$item.structcd}">
    <input type="hidden" name="makeritemcd" value="{$item.makeritemcd}">
    <input type="hidden" name="stockcd" value="{$action.stockcd}">
    <input type="hidden" name="curnum" value="{$action.curnum}">
    <input type="hidden" name="updcnt" value="{$action.updcnt}">

    <input type="hidden" name="condition" value="1">

	<tr>
	<td rowspan="8" class="constatation"><img src="img.php?c={$action.itemcd}&s=S&d=1" alt="{$item.itemnm}" width="125"></td>
	<th>商品名</th>
	<td>{$item.itemnm}&nbsp;{$item.variationnm}</td>
	</tr>
    <tr>
	<th>発売日</th>
	<td>{$item.salestartdate|date_format:"%Y/%m/%d"}</td>
	</tr>
    <th>品番</th>
	<td>{$item.makeritemcd}</td>
	</tr>
{*
        <tr>
          <th>コンディション</th>
          <td>
          <select name="condition">
{action->getCondition assign=condition}
{foreach from=$condition item=con}
            <option value={$con.namecd|escape}{if $itemregist->condition==$con.namecd} selected{/if}>{$con.name|escape}</option>
{/foreach}
          </select></td>
        </tr>
 *}
       <tr>
          <th>コメント</th>
          <td><textarea name="comment" cols="40" rows="5">{$itemregist->comment}</textarea></td>
        </tr>
        
        <!--
		        <tr>
		          <th>価格定価</th>
		          <td>{$item.makerprice|escape|number_format}円</td>
		        </tr>
        -->
        
        <tr>
          <th>最低価格</th>
          <td>{$item.sellingprice|escape|number_format}円</td>
        </tr>
        <tr>
          <th>出品価格</th>
          <td><input type="text" name="price" value="{$itemregist->price|escape}"></td>
        </tr>
        <tr>
          <th>送料</th>
          <td><input type="text" name="shipping" value="{$itemregist->shipping|escape}"></td>
        </tr>
        <tr>
          <th>出品数量</th>
          <td><input name="number" type="text" size="10" value = "{$itemregist->number|escape}"></td>
        </tr>
        
        <tr>
		<td rowspan="2" class="non">&nbsp;</td>
		<td colspan="2" class="constatation2"> <p>入力の内容をご確認ください。</p> 
		  <p><input type="image" name="dispatch_seller_itemexhibit_now_confirm2" value="確認" src="img/constatation_btn.gif" /></p>
		  </td>
		</tr>

	　<tr>
		<td colspan="2" class="constatation">
		 <p>前のページへ戻る</p> 
		 <a href="JavaScript:location.href='{$scriptName|replace:$smarty.const.SSL_URL_ROOT:$smarty.const.URL_ROOT}?action=seller_itemexhibit_now_info&itemcd={$item.itemcd}&stockcd={$action.stockcd}&structcd={$item.structcd}&curnum={$action.curnum}&lowprice={$item.lowprice}&sort={$action.sort}&listsize={$action.listsize}&pageID={$action.pageID}'"><img src="img/back_btn.gif" alt="戻る" width="116" height="24" /></a>
		</td>
		</tr>
	
</table>

 
  
</form>

</etc>
<!-- ↑etc -->
</div>
<!-- ↑コンテンツ -->

{include file="footer.html"}
