{include file="page_header.htm"}
<form action="category.php" method="post" name="theForm" onsubmit="return validate()">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_form">
	<tr>
	<td class="label">从此分类:</td>
	<td>
		<select name="category_id" id="category_id" class="select_input">
		<option value="0">请选择...</option>
		{foreach from=$category_tree item=val}
		<option value="{$val.category_id}"{if $val.category_id == $category.category_id} selected{/if}>{'--'|str_repeat:$val.level}{$val.name}</option>
		{/foreach}
		</select>
	</td>
	</tr>
	
	<tr>
	<td class="label">转移到:</td>
	<td>
		<select name="target_category_id" id="target_category_id">
		<option value="0">请选择...</option>
		{foreach from=$category_tree item=val}
		<option value="{$val.category_id}">{'--'|str_repeat:$val.level}{$val.name}</option>
		{/foreach}
		</select>
	</td>
	</tr>	
	

	<tr>
	<td style="border:none;"></td>
	<td style="border:none;">
		<input type="hidden" name="act" value="{$form_act}" />
		<input type="hidden" name="menu_id" value="{$menu.menu_id}" />
		<input type="submit" value="开始转移" class="bginput" />
		<input type="reset" value="重置" class="bginput" />
	</td>
	</tr> 
</table>
</form>

{insert_scripts files="../js/utils.js,validator.js"}
{include file="page_footer.htm"}