{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>

{errorList->getMessages assign=errmsg}
{if $errmsg}
  <ul class="alert">
{foreach from=$errmsg item=msg}
    <li>{$msg|escape}</li>
{/foreach}
  </ul>
{/if}

  <form method="POST">

    <p>
      デザインの設定を行います。<br />
      ※画像をクリックすると拡大します。
    </p>

    <table border="0" cellspacing="0" cellpadding="0" class="hyou">
      <tr>
        <th colspan=6>使用中のデザイン</th>
      </tr>
      <tr>
        <td colspan=6 align="center">
          <a href="admin_img/{$action.select_design_css}_design.jpg" target="_blank">
            <img src="admin_img/{$action.select_design_css}_design.jpg" width="250" border="0">
          </a>
        </td>
      </tr>
      <tr><td colspan=6>&nbsp;</td></tr>

      <tr>
        <th>
          <label>
          <input type="radio" name="design_css" value="base"{if $action.design_css=="" || $action.design_css=="base"} checked="checked"{/if}>デフォルト
          </label>
        </th>
        <td>
          <a href="admin_img/base_design.jpg" target="_blank">
            <img src="admin_img/base_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="base2"{if $action.design_css=="base2"} checked="checked"{/if}>デフォルト２
          </label>
        </th>
        <td>
          <a href="admin_img/base2_design.jpg" target="_blank">
            <img src="admin_img/base2_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="black"{if $action.design_css=="black"} checked="checked"{/if}>ブラック
          </label>
        </th>
        <td>
          <a href="admin_img/black_design.jpg" target="_blank">
            <img src="admin_img/black_design.jpg" width="100" border="0">
          </a>
        </td>
      </tr>

      <tr>
        <th>
          <label>
          <input type="radio" name="design_css" value="black2"{if $action.design_css=="black2"} checked="checked"{/if}>ブラック２
          </label>
        </th>
        <td>
          <a href="admin_img/black2_design.jpg" target="_blank">
            <img src="admin_img/black2_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="gold"{if $action.design_css=="gold"} checked="checked"{/if}>ゴールド
          </label>
        </th>
        <td>
          <a href="admin_img/gold_design.jpg" target="_blank">
            <img src="admin_img/gold_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="gold2"{if $action.design_css=="gold2"} checked="checked"{/if}>ゴールド２
          </label>
        </th>
        <td>
          <a href="admin_img/gold2_design.jpg" target="_blank">
            <img src="admin_img/gold2_design.jpg" width="100" border="0">
          </a>
        </td>
      </tr>

      <tr>
        <th>
          <label>
          <input type="radio" name="design_css" value="green"{if $action.design_css=="green"} checked="checked"{/if}>グリーン
          </label>
        </th>
        <td>
          <a href="admin_img/green_design.jpg" target="_blank">
            <img src="admin_img/green_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="green2"{if $action.design_css=="green2"} checked="checked"{/if}>グリーン２
          </label>
        </th>
        <td>
          <a href="admin_img/green2_design.jpg" target="_blank">
            <img src="admin_img/green2_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="orange"{if $action.design_css=="orange"} checked="checked"{/if}>オレンジ
          </label>
        </th>
        <td>
          <a href="admin_img/orange_design.jpg" target="_blank">
            <img src="admin_img/orange_design.jpg" width="100" border="0">
          </a>
        </td>
      </tr>

      <tr>
        <th>
          <label>
          <input type="radio" name="design_css" value="orange2"{if $action.design_css=="orange2"} checked="checked"{/if}>オレンジ２
          </label>
        </th>
        <td>
          <a href="admin_img/orange2_design.jpg" target="_blank">
            <img src="admin_img/orange2_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="orange3"{if $action.design_css=="orange3"} checked="checked"{/if}>オレンジ３(明るめ)
          </label>
        </th>
        <td>
          <a href="admin_img/orange3_design.jpg" target="_blank">
            <img src="admin_img/orange3_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>
          <label>
          <input type="radio" name="design_css" value="red"{if $action.design_css=="red"} checked="checked"{/if}>レッド
          </label>
        </th>
        <td>
          <a href="admin_img/red_design.jpg" target="_blank">
            <img src="admin_img/red_design.jpg" width="100" border="0">
          </a>
        </td>
      </tr>

      <tr>
        <th>
          <label>
          <input type="radio" name="design_css" value="red2"{if $action.design_css=="red2"} checked="checked"{/if}>レッド２
          </label>
        </th>
        <td>
          <a href="admin_img/red2_design.jpg" target="_blank">
            <img src="admin_img/red2_design.jpg" width="100" border="0">
          </a>
        </td>
        <th>&nbsp;</th>
        <td>&nbsp;</td>
        <th>&nbsp;</th>
        <td>&nbsp;</td>
      </tr>
      <tr><td colspan=6>&nbsp;</td></tr>

      <tr>
        <td colspan=6>
          <input type="hidden" name="{token->getName}" value="{token->getValue}">
          <input type="hidden" name="updcnt" value="{$action.updcnt}">
          <input type="submit" name="dispatch_admin_datamanage_design_done" value="変更" onclick="if (!confirm('この内容で登録します\nよろしいですか？')) return false;">
        </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"}
