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

<div id="container">

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

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

<h3>商品ランク一括変更</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}
<!--↑エラーメッセージ -->

<!-- ↓アイテム -->
<div class="item">
<form method="get" action="" id ="search">

<input type="hidden" name="div" value="{$action.div}">

<table class="hyou">
  <tr>
    <th align="left" class="name">メーカー</th>
    <td align="left" class="name">
      <select name="maker_capi" id="maker_capi" onChange="changeMakerCapital('maker_capi', 'makercd', '{$action.div}');">
        <option value=""{if $action.maker_capi==""} selected{/if}>未選択</option>
        <option value="a"{if $action.maker_capi=="a"} selected{/if}>あ行</option>
        <option value="ka"{if $action.maker_capi=="ka"} selected{/if}>か行</option>
        <option value="sa"{if $action.maker_capi=="sa"} selected{/if}>さ行</option>
        <option value="ta"{if $action.maker_capi=="ta"} selected{/if}>た行</option>
        <option value="na"{if $action.maker_capi=="na"} selected{/if}>な行</option>
        <option value="ha"{if $action.maker_capi=="ha"} selected{/if}>は行</option>
        <option value="ma"{if $action.maker_capi=="ma"} selected{/if}>ま行</option>
        <option value="ya"{if $action.maker_capi=="ya"} selected{/if}>や行</option>
        <option value="ra"{if $action.maker_capi=="ra"} selected{/if}>ら行</option>
        <option value="wa"{if $action.maker_capi=="wa"} selected{/if}>わ行</option>
      </select>
      
      <script>loadMaker('makercd', '{$action.maker_capi}', '{$action.makercd}', '{$action.div}');</script>
      <select name="makercd" id="makercd">
        <option value="0">メーカー名</option>
      </select>
    </td>
  </tr>
  <tr>
    <th align="left" class="name">タイトル</th>
    <td align="left" class="name">
      <input type="text" name="src_title" class="src_title" value="{$action.src_title}">
    </td>
  </tr>
  <tr>
    <th align="left" class="name">商品画像登録状況</th>
    <td align="left" class="name">
      <input type="radio" name="src_image" class="src_image" value="0" {if $action.src_image=='' OR $action.src_image==0}checked{/if}>すべて
      <input type="radio" name="src_image" class="src_image" value="1" {if $action.src_image==1}checked{/if}>画像有
      <input type="radio" name="src_image" class="src_image" value="2" {if $action.src_image==2}checked{/if}>画像無
    </td>
  </tr>
  <tr>
    <th align="left" class="name">商品公開状況</th>
    <td align="left" class="name">
      <input type="radio" name="src_release" value="0" {if $action.src_release=='' OR $action.src_release==0}checked{/if}>全て
      <input type="radio" name="src_release" value="1" {if $action.src_release==1}checked{/if}>公開中
      <input type="radio" name="src_release" value="2" {if $action.src_release==2}checked{/if}>未公開
    </td>
  </tr>
</table>

<div class="form-operation">
  <input type="submit" name="dispatch_admin_itemmanage_rankchange_list" value="検索">
</div>
</form>

</div>
<!-- ↑アイテム -->

<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"}
