{include file="header.html"}

<br />
{*
<!--↓カレンダー -->
<script><!--
  var reccal1 = new JKL.Calendar("relcal_s","exhibit_in","limit_front");
  var reccal2 = new JKL.Calendar("relcal_e","exhibit_in","limit_back");
//--></script>
<!--↑カレンダー -->
*}
<center>

<form method="POST" action="{$scriptName}" enctype="multipart/form-data">
<input type="hidden" id="ac" name="action" value="">

    
    <!--↓エラーメッセージ -->
    {errorList->getMessages assign=errmsg}
    {if $errmsg}
    <br>
    <div class="error">
      <ul class="alert">
      {foreach from=$errmsg item=msg}
        <li>{$msg|escape}</li>
      {/foreach}
      </ul>
    </div>
    {/if}
    <!--↑エラーメッセージ -->
    
    
<table width="525" border="0" cellpadding="0" cellspacing="1" bgcolor="a79648">

<input type="hidden" name="itemcd" value="{$action.itemcd}">
<input type="hidden" name="mode"     value="{$action.mode}">
<input type="hidden" name="cd" value="{$action.itemcd}">
<input type="hidden" name="from" value="{$action.from}">
<input type="hidden" name="from2" value="set">
<input type="hidden" name="structcd" value="{$action.structcd}">
<input type="hidden" name="stockcd" value="{$action.stockcd}">
<input type="hidden" name="sellercd" value="{$action.sellercd}">

<input type="hidden" name="itemnm" value="{$action.itemnm}">
<input type="hidden" name="castnm" value="{$action.castnm}">
<input type="hidden" name="makernm" value="{$action.makernm}">
<input type="hidden" name="salestartdate" value="{$action.salestartdate}">
<input type="hidden" name="makerprice" value="{$action.makerprice}">
<input type="hidden" name="saleformnm" value="{$action.saleformnm}">
<input type="hidden" name="medianm" value="{$action.medianm}">
<input type="hidden" name="rectime" value="{$action.rectime}">
<input type="hidden" name="makeritemcd" value="{$action.makeritemcd}">
<input type="hidden" name="jancd" value="{$action.jancd}">

<input type="hidden" name="condition" value="{$action.condition}">
<input type="hidden" name="itemexp" value="{$action.itemexp}">
<input type="hidden" name="sellingprice" value="{$action.sellingprice}">
<input type="hidden" name="souryouprc" value="{$action.souryouprc}">
<input type="hidden" name="exhibitcount" value="{$action.exhibitcount}">

<input type="hidden" name="lowprice" value="{$action.lowprice}">
<input type="hidden" name="curnum" value="{$action.exhibitcount}">

<input type="hidden" name="select" value="{$action.select}">
<input type="hidden" name="keyword" value="{$action.keyword}">
<input type="hidden" name="itemnumber" value="{$action.itemnumber}">
<input type="hidden" name="jancode" value="{$action.jancode}">

  <input type="hidden" name="sort" value="{$action.sort}">
  <input type="hidden" name="pageID" value="{$action.pageID}">
  <input type="hidden" name="listsize" value="{$action.listsize}">



          <tr>
            <td width="561" bgcolor="#ECE9D8">
              <table width="523" border="0" cellpadding="0" cellspacing="0" bgcolor="f8f5ee">
                <tr>
                  <td width="523">
                    <table width="523" border="0" cellspacing="0" cellpadding="1">
                      <tr>
                        <td colspan="3"><span class="title1"><img src="./images/spacer.gif" width="500" height="8"></span></td>
                      </tr>

                      <tr>
                        <td colspan="3" class="title1"><img src="./images/spacer.gif" width="500" height="2"></td>
                      </tr>
                      <tr>
                        <td width="15"><img src="./images/spacer.gif" width="15" height="8"></td>
                        <td width="145"><img src="img.php?c={$action.itemcd}&s=S&d=1" alt="{$action.itemnm}" width="125" border="0" /></td>
                        <td width="380">
                          <table width="300" border="0" cellspacing="2" cellpadding="5">
                            <tr class="moji1">
                             <td colspan="3"><h4>{$action.itemnm}</h4><hr /></td>
                            </tr>
                            
                            <!--
		                            <tr class="moji1">
		                              <td colspan="3" align="left"><h4>
		                            {if $errmsg}
		                            {$action.castnm}
		                            {elseif $action.from=="info"}
		                            {action->getCastname itemcd=$action.cd|escape assign=cast}
		                            {$cast.castnm|escape}
		                            <input type="hidden" name="castnm" value="{$cast.castnm}">
		                            
		                            {elseif $action.castnm}
		                            
		                            {$action.castnm}
		                            {/if}
		                             </h4>
		                            </td>
		                            </tr>
		                            
		                            <tr class="moji1">
		                              <td colspan="3" align="left"><h4>{$action.makernm}</h4></td>
		                            </tr>
                            -->
                            
                            <tr class="moji1">
                               <td width="70" align="right">発売日 ：</td><td align="left">{$action.salestartdate|date_format:"%Y/%m/%d"}</td>
                            </tr>
                            
                            <!--
		                            <tr class="moji1">
		                               <td width="70" align="right">定価 ：</td><td align="left">{if $action.makerprice==0}オープンプライス{else}{$action.makerprice|number_format}円{/if}</td>
		                            </tr>
		                            <tr class="moji1">
		                               <td width="70" align="right">販売形態 ：</td><td align="left">{$action.saleformnm}</td>
		                            </tr>
		                            <tr class="moji1">
		                              <td width="70" align="right">メディア ：</td><td align="left">{$action.medianm}</td>
		                            </tr>
		                            <tr class="moji1">
		                              <td width="70" align="right">時間 ：</td><td align="left">{$action.rectime}分</td>
		                            </tr>
                            -->
                            
                            <tr class="moji1">
                              <td width="70" align="right">品番 ：</td><td align="left">{$action.makeritemcd}</td>
                            </tr>
                            <tr class="moji1">
                              <td width="70" align="right">JANコード ：</td><td align="left">{$action.jancd}</td>
                            </tr>
                          </table>
                        </td>
                      </tr>
                      <tr>
                        <td colspan="3">&nbsp;</td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
          </tr>
        </table>
      </td>
    </tr>
    <tr>
      <td colspan="2"><span class="title1"><img src="./images/spacer.gif" width="500" height="1"></span></td>
    </tr>
</table>

<table width="525" border="0" cellpadding="0" cellspacing="5">
  <tr>
    <td>
       <table width="100" border="0" cellspacing="0" cellpadding="1">
       {if $action.mode == "upd"} 
        <img src="img.php?c={$action.itemcd}&sc={$action.structcd}&slc={$action.sellercd}&st={$action.stockcd}&s=o&d=2" width="125" border="0" />
        <div id="button">
        <br />
        <input type="hidden" name="generalcd"  value="{$action.itemcd}">
        <input type="hidden" name="del"        value="del">
        <input type="hidden" name="generalsub" value="{$action.structcd}">
        <input type="submit" value="削除" class="del" onClick="return deleteImgCheck('seller_itemexhibit_register_image_delete');">
        </div>
       {/if}
       </table>
    </td>

    <td>      
      <table width="300" border="0" cellpadding="0" cellspacing="1" >
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr><td width="100" align="right">コンディション&nbsp;：&nbsp;</td><td align="left">{action->getConditionName|escape}</td></tr>
        <tr><td width="100" align="right">コメント&nbsp;：&nbsp;</td><td align="left">{$action.itemexp}</td></tr>
        <tr><td width="100" align="right">出品価格&nbsp;：&nbsp;</td><td align="left">{$action.sellingprice|number_format}{if $action.sellingprice}円{/if}</td></tr>
        <tr><td width="100" align="right">送料&nbsp;：&nbsp;</td><td align="left">{$action.souryouprc|number_format}{if $action.souryouprc}円{/if}</td></tr>
        <tr><td width="100" align="right">出品数量&nbsp;：&nbsp;</td><td align="left">{$action.exhibitcount}</td></tr>
        <tr><td width="100" align="right">出品番号&nbsp;：&nbsp;</td><td align="left">{$action.itemcd}-{$action.structcd}-{$action.stockcd}-{$action.sellercd}</td></tr>
      
      </table>
     </td>
   </tr>
</table>
 
<table width="270" border="0" cellspacing="0" cellpadding="6">
<tr><td>&nbsp;</td></tr>
   <tr>
    <td>
      登録画像
      <input type="file" name="image">
    </td>
   </tr>
   <tr><td>&nbsp;</td></tr>
   <tr><td align="center">
          <table>
            <tr>
              <td>
                <div id="button">
                    <input class="entry2" type="submit" value="登録" class="hasNextButton" onClick="document.getElementById('ac').value='seller_itemexhibit_register_image_check';">
                </div>
              </td>
              <td>
                <div id="button">
                 {if $action.from =="info"}
                 <input class="backbtn" type="submit" class="hasNextButton" value="戻る" onClick="document.getElementById('ac').value='seller_itemexhibit_now_info';">
                 {elseif $action.from =="detail"}
                 <input class="backbtn" type="submit" class="hasNextButton" value="商品ページへ戻る" onClick="document.getElementById('ac').value='itemdetail';">
                 {else}
                 <input class="backbtn" type="submit" class="hasNextButton" value="メニューへ戻る" onClick="document.getElementById('ac').value='seller_mypage';">
                 {/if}
                </div>
              </td>
            </tr>
           </table>
   </td></tr>
  </table>
  
</form>
</center>
<br><br><br>
{include file="footer.html"}
