<?php include_once( "../../../spider.inc.php" ); ?>
{template:admin_default.tpl}
{module:shopping.category.Delete}
{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.category.category_object->'category_name'}の削除完了
	</div>

	<h1>
		ショップ管理
		&gt; {write:SHOPPING_LABEL_PRODUCT}カテゴリ管理
		&gt; {write:shopping.category.category_object->'category_name'}の削除完了
	</h1>
	
{if:IS_ERROR}

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

{else}

	
	<p style="text-align:center;">
		以下のカテゴリを削除しました。<br />
		戻るボタンで戻ってください。
	</p>

	<table class="detail" style="width:96%;margin:0 auto;">
	<tr>
		<th>カテゴリ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>表示順序</th>
		<td>{write:shopping.category.category_object->'order_number'}</td>
	</tr>
	<tr>
		<th style="width:8em;">カテゴリ説明</th>
		<td>{write:shopping.category.category_object->'description'}</td>
	</tr>
	<tr>
		<th>トップページイメージ画像</th>
		<td>
			{if:shopping.category.category_object->hasImage( request, 'top')}
				<img src="/upload/shopping/category/{write:shopping.category.category_object->'category_id'}_top.jpg" />
			{/if}
		</td>
	</tr>
	<tr>
		<th>アイコン画像</th>
		<td>
			{if:shopping.category.category_object->hasImage( request, 'icon')}
				<img src="/upload/shopping/category/{write:shopping.category.category_object->'category_id'}_top.jpg" /><br />
			{/if}
		</td>
	</tr>
	</table>

{/if}
	
	<hr style="width:96%;margin:0 auto;margin-top:1em;" />
	<div style="width:96%;margin:0 auto;text-align:right;">
		<a href="./">&gt;&gt; カテゴリ管理へ戻る</a>
	</div>