{include file="admin/header.html"}
{include file="admin/gnavi.html"}

<div id="container">

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

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

<h3>おすすめ商品</h3>


<!-- ↓エラーメッセージ -->
{errorList->getMessages assign=errmsg}
{if $errmsg}
<div class="erorr">
<ul class="alert">
  {foreach from=$errmsg item=msg}
  <li>{$msg|escape}</li>
  {/foreach}
</ul>
</div>
{/if}
<!-- ↑エラーメッセージ -->

<!-- ↓保持パラメータ -->
{action->getExtraParam assign=extparam}
<!-- ↑保持パラメータ -->

{assign var="kubun" value=$action.kubun}

{assign var="itemcd" value=$action.itemcd}
{assign var="itemnm" value=$action.data.itemnm}
{assign var="makernm" value=$action.data.makernm}
{assign var="labelnm" value=$action.data.labelnm}
{assign var="startdate" value=$action.startdate}
{assign var="closedate" value=$action.closedate}
{assign var="priority" value=$action.priority}
{assign var="updcnt" value=$action.updcnt}
{assign var="prockbn" value=$action.prockbn}
{action->getProcKbnMsg assign=procmsg}

<table border="0" cellspacing="0" cellpadding="0">
<tr>
 <td align="center"><strong>本当に{$procmsg}しますか？</strong></td>
</tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" class="hyou">
    <tr>
    <th>商品タイトル</th>
    <td>{$itemnm}</td>
    </tr>
{*
    <tr>
    <th>メーカー</th>
    <td>{$makernm}</td>
    </tr>
    <tr>
    <th>レーベル</th>
    <td>{$labelnm}</td>
    </tr>
*}
<tr>
<th>表示期間</th>
<td>{$startdate}～{$closedate}</td>
</tr><tr>
<th>優先度</th>
<td>{$priority}</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<img src="img.php?c={$itemcd}&s=S&d=1" onerror="this.onerror=null;this.src='images/noimage_s.gif';">
</td></tr>
</table>


<form name="form2" action="{$scriptName}" method="POST">
<input type="hidden" name="fromdetail" value="{$action.fromdetail}">


<input type="hidden" name="itemcd" value="{$itemcd}">
<input type="hidden" name="startdate" value="{$startdate}">
<input type="hidden" name="closedate" value="{$closedate}">
<input type="hidden" name="priority" value="{$priority}">
<input type="hidden" name="change" value="1">
<input type="hidden" name="kubun" value="{$kubun}">
<input type="hidden" name="updcnt" value="{$updcnt}">
<input type="hidden" name="{$token.name}" value="{$token.value}">
<input type="hidden" name="prockbn" value="{$prockbn}">
<!-- ↓保持パラメータ -->
{$extparam}
<!-- ↑保持パラメータ -->
<!-- 商品検索用 -->
  <input type="hidden" id="div" name="div" value="{$action.div}">
  <input type="hidden" id="janc" name="jancode" value="{$action.jancode}">
  <input type="hidden" id="hb" name="hinban" value="{$action.hinban}">
  <input type="hidden" id="t" name="itemtitle" value="{$action.itemtitle}">
  <input type="hidden" id="rds" name="release_date_start" value="{$action.release_date_start}">
  <input type="hidden" id="rde" name="release_date_end" value="{$action.release_date_end}">
  <input type="hidden" id="pds" name="publish_date_start" value="{$action.publish_date_start}">
  <input type="hidden" id="pde" name="publish_date_end" value="{$action.publish_date_end}">
  <input type="hidden" id="mc" name="maker_capital" value="{$action.maker_capital}">
  <input type="hidden" id="mn" name="maker_name" value="{$action.maker_name}">
  <input type="hidden" id="mda" name="media" value="{$action.media}">
  <input type="hidden" id="cst" name="cast" value="{$action.cast}">
  <input type="hidden" id="stut" name="situation" value="{$action.situation}">
  <input type="hidden" id="phs" name="photo_situation" value="{$action.photo_situation}">
  <input type="hidden" id="pus" name="publish_situation" value="{$action.publish_situation}">
  <input type="hidden" id="srt" name="sort" value="{$action.sort}">
  <input type="hidden" id="frm" name="from" value="{$action.from}">
{foreach name=list from=$action.genre_select item=genre}
  <input type="hidden" id="gnr" name="genre_select[]" value="{$genre}">
{/foreach}
<!-- 商品検索用 -->

<table border="0" cellspacing="0" cellpadding="0">
<tr>
  <td align="right">
<input type="submit" name="dispatch_admin_portalmanage_recommend_complete" value="{$procmsg}">
<input type="submit" name="dispatch_admin_portalmanage_recommend_regist"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"}
