{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.imgintotitle!=""}
  <p>{$action.imgintotitle}</p>
{else}
  <p>ショップ情報の設定</p>
{/if}

  
  <form action="{$scriptName}" id="form1">
    <input type="hidden" id="ac" name="action" value="">
    <input type="hidden" id="itd" name="imgtypediv" value="{$action.imgtypediv}">
    <input type="hidden" id="gcd" name="generalcd" value="{$action.generalcd}">
    <input type="hidden" id="gsb" name="generalsub" value="{$action.generalsub}">
    <input type="hidden" id="iit" name="imgintotitle" value="{$action.imgintotitle}">
    <input type="hidden" id="frac" name="fromaction" value="{$action.fromaction}">
    <input type="hidden" id="mds" name="mode_s" value="{$action.mode_s}">
    <input type="hidden" id="mdm" name="mode_m" value="{$action.mode_m}">
    <input type="hidden" id="mdl" name="mode_l" value="{$action.mode_l}">
    <input type="hidden" id="mdmain" name="mode_main" value="{$action.mode_main}">
    <input type="hidden" id="mdlogo" name="mode_logo" value="{$action.mode_logo}">
		<input type="hidden" id="mdmov" name="mode_mov" value="{$action.mode_mov}">
    <input type="hidden" name="div" value="{$action.div}">
    <input type="hidden" name="srcword" value="{$action.srcword}">
    <input type="hidden" name="srcrecommenddiv" value="{$action.srcrecommenddiv}">
    <input type="hidden" name="srcdispnum" value="{$action.srcdispnum}">
    <input type="hidden" name="srccastdiv" value="{$action.srccastdiv}">
    <input type="hidden" name="from" value="{$action.from}">

{if $action.generalcd=='shop'}
    <table border="0" cellspacing="0" cellpadding="0" class="hyou">
      {if $action.dest_logo != ""}
        <tr>
          <th>ショップロゴ（画面上部に表示するロゴです）</th>
        </tr>
        <tr>
          <td>{$action.dest_logo}</td>
        </tr>
      {/if}
      {if $action.dest_main != ""}
        <tr>
          <th>トップ画像（トップページに表示する画像です）</th>
        </tr>
        <tr>
          <td>{$action.dest_main}</td>
        </tr>
      {/if}
    </table>
    <br>
    <input type="submit" onClick="document.getElementById('ac').value='admin_imguploader_complete';" class="hasNextButton" value="登録完了">
    　　　　
    <input type="submit" onClick="document.getElementById('ac').value='admin_imguploader_form';" value="入力画面へ">
{else}
    <table border="0" cellspacing="0" cellpadding="0">
      {if $action.dest_s != ""}
        <tr>
{if $action.imgtypediv == 6}
          <td>サイズ小（ショップ一覧表示用）</td>
{else}
          <td>サイズ小（一覧表示用）</td>
{/if}
          <td>{$action.dest_s}</td>
        </tr>
      {/if}
      {if $action.dest_m != ""}
        <tr>
{if $action.imgtypediv == 6}
          <td>サイズ中（注目！表示用）</td>
{else}
          <td>サイズ中（詳細表示用）</td>
{/if}
          <td>{$action.dest_m}</td>
        </tr>
      {/if}
      {if $action.dest_l != ""}
        <tr>
{if $action.imgtypediv == 6}
          <td>サイズ大（ジャンル一覧表示用）</td>
{else}
          <td>サイズ大（拡大表示用）</td>
{/if}
          <td>{$action.dest_l}</td>
        </tr>
      {/if}
  
			{if $action.dest_mov != ""}  
				<tr>  
					<td>商品紹介用動画</td>  
					<td>{$action.dest_mov}</td>  
				</tr>  
			{/if}  
   
    <tr><td colspan="2" align="right">
    <input type="submit" onClick="document.getElementById('ac').value='admin_imguploader_complete';" class="hasNextButton" value="登録完了">
    　　　　
    <input type="submit" onClick="document.getElementById('ac').value='admin_imguploader_form';" value="入力画面へ">
    </td></tr>
</table>
    
{/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"}
