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

<div id="container">

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

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

<h3>{$action.title}</h3>

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

<!--↓カレンダー -->
<script><!--
  var cal1 = new JKL.Calendar("cal_from","search","salestartdate_from");
  var cal2 = new JKL.Calendar("cal_to","search","salestartdate_to");
//--></script>
<!--↑カレンダー -->

<form method="get" action="" id ="search">

<table class="hyou">
  <tr>
    <th class="date">発売日</th>
    <td class="date">
      <input type="text" name="salestartdate_from" value="{$action.salestartdate_from}">
      <img id="calendar-button" src="./images/calendar.png" width="16" height="16" align="middle" onClick="cal2.hide(); cal1.write();" onChange="cal1.getFormValue(); cal1.hide();"><div id="cal_from" style="display:inline;"></div>
    ～
      <input type="text" name="salestartdate_to" value="{$action.salestartdate_to}">
      <img id="calendar-button" src="./images/calendar.png" width="16" height="16" align="middle" onClick="cal1.hide(); cal2.write();" onChange="cal2.getFormValue(); cal2.hide();"><div id="cal_to" style="display:inline;"></div>
    </td>
  </tr>
  
  <tr>
    <th class="price">販売価格</th>
    <td class="price">
      <input type="radio" name="src_price" value="0" {if $action.src_price==0}Checked{/if}>未設定のみ&nbsp;
      <input type="radio" name="src_price" value="1" {if $action.src_price==1}Checked{/if}>すべて&nbsp;
    </td>
  </tr>
  
  <tr>
    <th class="title">タイトル</th>
    <td class="title">
      <input type="text" name="src_title" value="{$action.src_title}" class="src_title">&nbsp;
    </td>
  </tr>
</table>

<div class="form-operation">
  <input type="submit" name="dispatch_admin_itemmanage_sellpricechange_list" value="検索">
</div>
</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"}
