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

<div id="container">

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

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

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

{if $action.actionnm=="insert" or $action.actionnm=="update"}
  <!-- ↓チェックメッセージ -->
  <div class="checkmessage">
    本当に
  {if $action.actionnm=="insert"}
    追加
  {elseif $action.actionnm=="update"}
    変更
  {/if}
    しますか?
  </div>
  <!-- ↑チェックメッセージ -->
{else}
  <!-- ↓チェックメッセージ -->
  <div class="deletecheckmessage">
    本当に削除しますか?
  </div>
  <!-- ↑チェックメッセージ -->
{/if}

<!-- ↓アイテム -->
  <table class="hyou">
{if $action.actionnm == "update" || $action.actionnm == "delete" || $action.frommakerlist}
    <tr>
      <th class="name"> メーカーCD</th>
      <td class="name">{$action.makercd}</td>
    </tr>
{/if}
    <tr>
      <th class="name"> メーカー </th>
      <td align="left" class="name">
{if $action.actionnm == "insert"}
        {action->getMakername assign=mk}{$mk.makernm}
{elseif $action.actionnm == "update" || $action.actionnm == "delete"}
        {$action.makernm}
{/if}
        </td>
    </tr>
{if $action.actionnm == "update" || $action.actionnm == "delete"}
    <tr>
      <th class="name"> シリーズCD</th>
      <td class="name">{$action.seriescd}</td>
    </tr>
{/if}
    <tr>
      <th class="name">シリーズ名</th>
      <td class="name">{$action.name}</td>
    </tr>
    <tr>
      <th class="name">よみがな</th>
      <td class="name">{$action.kana}</td>
    </tr>
    <tr>
      <th class="name">おすすめ</th>
      <td class="name">{if $action.recommend==1}○{/if}</td>
    </tr>
  </table>
<!-- ↑アイテム -->

<form method="get" action="{$scriptName}">
  <input type="hidden" name="div" value="{$action.div}">
{if $action.actionnm == "update" || $action.actionnm == "delete" || $action.frommakerlist}
  <input type="hidden" name="makernm" value="{$action.makernm}">
  <input type="hidden" name="frommakerlist" value="{$action.frommakerlist}">
  <input type="hidden" name="frommakerlistnm" value="{$action.frommakerlistnm}">
{/if}
  <input type="hidden" name="{token->getName}" value="{token->getValue}">
  <input type="hidden" name="seriescd" value="{$action.seriescd}">
  <input type="hidden" name="maker_capi" value="{$action.maker_capi}">
  <input type="hidden" name="makercd" value="{$action.makercd}">
  <input type="hidden" name="name" value="{$action.name}">
  <input type="hidden" name="kana" value="{$action.kana}">
  <input type="hidden" name="recommend" value="{$action.recommend}">
  <input type="hidden" name="srcword" value="{$action.srcword}">
  <input type="hidden" name="srcdispnum" value="{$action.srcdispnum}">
  <input type="hidden" name="from" value="{$action.from}">
  <input type="hidden" name="updcnt" value="{$action.updcnt}">
  <input type="submit" name="dispatch_admin_datamanage_series_{$action.actionnm}_done" value="{if $action.actionnm=="insert"}追加{elseif $action.actionnm=="update"}変更{else}削除{/if}">
{if $action.actionnm=="insert" || $action.actionnm=="update"}
  <input type="submit" name="dispatch_admin_datamanage_series_{$action.actionnm}_form" value="前に戻る">
{else}
  <input type="submit" name="dispatch_admin_datamanage_series_list" value="一覧に戻る">
{/if}
</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"}
