<?php include_once( "../../../../spider.inc.php" ); ?>
{charset:UTF-8}
{template:admin_default.tpl}
{module:shopping.category.LoadList}
{module:shopping.category.Load}
{preset:page_title 'ショップ管理 > ' . SHOPPING_LABEL_PRODUCT . 'カテゴリ管理 > ' . SHOPPING_LABEL_PRODUCT . 'カテゴリ削除の最終確認'}

	<div class="panc">
		<a href="../../../">管理パネルトップ</a>
		&gt; <a href="../../">ショップ管理</a>
		&gt; <a href="../">{write:SHOPPING_LABEL_PRODUCT}カテゴリ管理</a>
		&gt; {write:SHOPPING_LABEL_PRODUCT}カテゴリ削除の最終確認
	</div>
	<h1>ショップ管理 &gt; {write:SHOPPING_LABEL_PRODUCT}カテゴリ管理 &gt; {write:SHOPPING_LABEL_PRODUCT}カテゴリ削除の最終確認</h1>

{if:IS_ERROR}

	<ul class="error">
	{foreach:errors error}
		<li>{write:error}</li>
	{/foreach}
	</ul>
{else}

	
	<form name="cform" action="./execute.php" method="post">
	<input type="hidden" name="category_number" value="{write:shopping.category.category_object->'category_number'}" />
	<p style="text-align:center;">
		以下のカテゴリを削除します。<br />
		間違いなければ「削除する」ボタンをクリックしてください。
	</p>
	<table class="detail" style="width:90%;margin:0 auto;">
	<tbody>
	<tr>
		<th style="width:12em;">カテゴリID</th>
		<td>{write:shopping.category.category_object->'category_id'}</td>
	</tr>
	<tr>
		<th style="width:12em;">カテゴリ名</th>
		<td>
			<span style="font-size:1.3em;color:#0000FF;font-weight:bold;">{write:shopping.category.category_object->'category_name'}</span>
		</td>
	</tr>
	<tr>
		<th style="width:12em;">カテゴリ<br />フリガナ</th>
		<td>{write:shopping.category.category_object->'category_kana'}</td>
	</tr>
	<tr>
		<th style="width:12em;">親カテゴリ</th>
		<td>
			{foreach:shopping.category.data_array num category}
			{set:child_category_array category::child_category_object_array}
					{if:category::category_id=shopping.category.category_object::parent_id}{write:category->'category_name'}<br />{/if}
					{foreach:child_category_array child_category_object}
						{if:child_category_object::category_id=shopping.category.category_object::parent_id} - {write:child_category_object->'category_name'}<br />{/if}
				{/foreach}
			{/foreach}
		</td>
	</tr>
	<tr>
		<th style="width:12em;">表示順序</th>
		<td>{write:shopping.category.category_object->'order_number'}</td>
	</tr>
	<tr>
		<th style="width:12em;">カテゴリ説明</th>
		<td>{write:shopping.category.category_object->'description'}</td>
	</tr>
	</tbody>
	</table>
	<p style="text-align:center;">
		<input type="submit" value="削除する"
		/>
	</p>
	</form>

{/if}
<br />
<br />
