<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
//alert(<!--{$filecategoryid}-->);
</script>
<script type="text/javascript" src="js/Main.js"></script>
<script language="JavaScript">
function CheckForm()
{
	var arr = $("tree1").$T("P");
	var flag = true;
	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("cid")>0){
			if($("FilecategoryIdS["+c.$A("cid")+"]").checked){
				flag = false;
			}
		}
	}

	if(flag){
		//Dialog.alert("请选择此文档所属的分类！");
		//return;
	}

	if (document.form1.title.value.length == 0)
	{
		Dialog.alert("标题不能为空！");
		document.form1.title.focus();
		return;
	}

	if (document.form1.filecategory_id.value.length == 0)
	{
	//alert("至少要选择一个分类！");
	// document.form1.title.focus();
	//return false;
	}
	document.form1.submit();
	return true;
}

function ResetForm(){
	document.form1.reset();
}

function onTreeClick(p){
	p = $(p);
	$("FilecategoryIdS["+p.$A("cid")+"]").checked = true;
	var level = p.$A("level");
	var innercode = p.$A("innercode");
	var arr = $("tree1").$T("P");
	for(var i=0;i<arr.length;i++){
		var c = arr[i];
		if(c.$A("cid")!=p.$A("cid")){
			$("FilecategoryIdS["+c.$A("cid")+"]").checked = false;
		}		
	}
}

function onCheck(ele){
	ele = $(ele);
	//alert(ele.value);
	if(ele.type=="radio"){
		var p = ele.getParent("P");
		onTreeClick(p);
		return ;
	}
}
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
	  <form action="<!--{$formaction}-->" method="post" name="form1" id="form1" onsubmit="return CheckForm()">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
			
			<tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">
			  <div style="float: left;"><img src="imgs/Icons/icon018a1.gif" />文件分类编辑</div>
			  <div style="float: right; white-space: nowrap;vertical-align:middle;"><a href='javascript:CheckForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a16.gif" /><b>保存&nbsp;</b></a><a href='javascript:ResetForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a13.gif" /><b>重置&nbsp;</b></a><a href='javascript:history.back(-1);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon008a20.gif" /><b>返回&nbsp;</b></a></div>
			 </td>
            </tr>
            <tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">

<!--内容开始-->

<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" >
	<tr>
		<td width="100%" valign="top">
			<fieldset class="adminform">
				<legend>分类属性</legend>
				<table border="0" cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td width="100" class="keyred" height='20'>名　称:</td>
						<td colspan="2">
							<input name='filecategory_id' id='filecategory_id' type='hidden' value='<!--{$results->getFilecategoryId()}-->'>
							&nbsp;<input name='title' id='title' type='text' size='65' value='<!--{$results->getTitle()}-->' style="width:450px;background:url(imgs/Images/rule.gif) repeat-x left bottom;" verify="标题|NotNull&&Length<100">
						</td>
					</tr>
					<tr>
						<td width="100" class="key" height='20'>类　别:</td>
						<td colspan="2">
							&nbsp;<select name='type' id='type'>
							<!--{foreach from=$filecategorytype item=ct}-->
								<!--{if $ct.name!=''}-->
								<option value='<!--{$ct.id}-->' <!--{if $ct.id==$results->getType()}-->selected<!--{/if}-->><!--{$ct.name}--></option>
								<!--{/if}-->
							<!--{/foreach}-->
						  </select>
						</td>
					</tr>
					<tr>
						<td width="100" class="keyred" height='20'>上级分类:</td>
						<td colspan="2">
<div style="width:260px;height:150px;overflow:auto;border: 2px inset #FFFFFF;"  micetype='_Tree' onselectstart='stopEvent(event);' id='tree1' class='treeItem'>
		<table>
			<tr>
				<td>

<p cid="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" level="0" id="tree1__TreeRoot" parentid="" lazy="0" resizeable="0" ondblclick="Tree.onItemDblClick(event,this);"><img src='imgs/Icons/articles.gif'><input type="radio" name="FilecategoryIdS[0]" id='FilecategoryIdS[0]' value='0' onClick="onCheck(this);" <!--{if 0==$results->getParentid()}-->checked<!--{/if}-->>媒体库(顶级分类)</p>
	<div>
		<!--{assign var=subsql value='WHERE parentid=0 AND type LIKE \'m%\' ORDER BY orderid'}-->
		<!--{foreach key=key from='micefun'|FilecategoryLists:$subsql:0:0 item=Filecategory name=counter}-->

		<p cid="<!--{$Filecategory->getFilecategoryId()}-->" innercode="<!--{$Filecategory->getPath()}-->" level="<!--{$Filecategory->getDepth()}-->" name="tree1_<!--{$Filecategory->getFilecategoryId()}-->" id="tree1_<!--{$Filecategory->getFilecategoryId()}-->" parentid="<!--{$Filecategory->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter.iteration==$childcount}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $Filecategory->getChildcount()>0}--><!--{if $smarty.foreach.counter.iteration==$childcount}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Filecategory->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Filecategory->getType()}--><!--{$filecategorytype[$typeid].name}-->'><input type="radio" name="FilecategoryIdS[<!--{$Filecategory->getFilecategoryId()}-->]" id='FilecategoryIdS[<!--{$Filecategory->getFilecategoryId()}-->]' value='<!--{$Filecategory->getFilecategoryId()}-->' onClick="onCheck(this);" <!--{if $Filecategory->getFilecategoryId()==$results->getParentid()}-->checked<!--{/if}-->><!--{$Filecategory->getTitle()}--></p>
		
		<!--第2层开始-->
		<!--{if $Filecategory->getChildcount()>0}-->
			<div>
			<!--{assign var=subsql2 value='WHERE parentid='|cat:$Filecategory->getFilecategoryId()|cat:' AND type LIKE \'m%\' ORDER BY orderid'}-->
			<!--{foreach key=key from='micefun'|FilecategoryLists:$subsql2:0:0 item=Filecategory2 name=counter2}-->
			
			<p cid="<!--{$Filecategory2->getFilecategoryId()}-->" innercode="<!--{$Filecategory2->getPath()}-->" level="<!--{$Filecategory2->getDepth()}-->" name="tree1_<!--{$Filecategory2->getFilecategoryId()}-->" id="tree1_<!--{$Filecategory2->getFilecategoryId()}-->" parentid="<!--{$Filecategory2->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Filecategory2->getChildcount()>0}--><!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Filecategory2->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Filecategory2->getType()}--><!--{$filecategorytype[$typeid].name}-->'><input type="radio" name="FilecategoryIdS[<!--{$Filecategory2->getFilecategoryId()}-->]" id='FilecategoryIdS[<!--{$Filecategory2->getFilecategoryId()}-->]' value='<!--{$Filecategory2->getFilecategoryId()}-->' onClick="onCheck(this);" <!--{if $Filecategory2->getFilecategoryId()==$results->getParentid()}-->checked<!--{/if}-->><!--{$Filecategory2->getTitle()}--></p>
			
			<!--第3层开始-->
			<!--{if $Filecategory2->getChildcount()>0}-->
				<div>
				<!--{assign var=subsql3 value='WHERE parentid='|cat:$Filecategory2->getFilecategoryId()|cat:' AND type LIKE \'m%\' ORDER BY orderid'}-->
				<!--{foreach key=key from='micefun'|FilecategoryLists:$subsql3:0:0 item=Filecategory3 name=counter3}-->
				
				<p cid="<!--{$Filecategory3->getFilecategoryId()}-->" innercode="<!--{$Filecategory3->getPath()}-->" level="<!--{$Filecategory3->getDepth()}-->" name="tree1_<!--{$Filecategory3->getFilecategoryId()}-->" id="tree1_<!--{$Filecategory3->getFilecategoryId()}-->" parentid="<!--{$Filecategory3->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter3.iteration==$Filecategory2->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Filecategory3->getChildcount()>0}--><!--{if $smarty.foreach.counter3.iteration==$Filecategory2->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter3.iteration==$Filecategory2->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Filecategory3->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Filecategory3->getType()}--><!--{$filecategorytype[$typeid].name}-->'><input type="radio" name="FilecategoryIdS[<!--{$Filecategory3->getFilecategoryId()}-->]" id='FilecategoryIdS[<!--{$Filecategory3->getFilecategoryId()}-->]' value='<!--{$Filecategory3->getFilecategoryId()}-->' onClick="onCheck(this);" <!--{if $Filecategory3->getFilecategoryId()==$results->getParentid()}-->checked<!--{/if}-->><!--{$Filecategory3->getTitle()}--></p>

				<!--第4层开始-->
				<!--{if $Filecategory3->getChildcount()>0}-->
					<div>
					<!--{assign var=subsql4 value='WHERE parentid='|cat:$Filecategory3->getFilecategoryId()|cat:' AND type LIKE \'m%\' ORDER BY orderid'}-->
					<!--{foreach key=key from='micefun'|FilecategoryLists:$subsql4:0:0 item=Filecategory4 name=counter4}-->
					
					<p cid="<!--{$Filecategory4->getFilecategoryId()}-->" innercode="<!--{$Filecategory4->getPath()}-->" level="<!--{$Filecategory4->getDepth()}-->" name="tree1_<!--{$Filecategory4->getFilecategoryId()}-->" id="tree1_<!--{$Filecategory4->getFilecategoryId()}-->" parentid="<!--{$Filecategory4->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter4.iteration==$Filecategory3->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter3.iteration==$Filecategory2->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Filecategory4->getChildcount()>0}--><!--{if $smarty.foreach.counter4.iteration==$Filecategory3->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter4.iteration==$Filecategory3->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Filecategory4->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Filecategory4->getType()}--><!--{$filecategorytype[$typeid].name}-->'><input type="radio" name="FilecategoryIdS[<!--{$Filecategory4->getFilecategoryId()}-->]" id='FilecategoryIdS[<!--{$Filecategory4->getFilecategoryId()}-->]' value='<!--{$Filecategory4->getFilecategoryId()}-->' onClick="onCheck(this);" <!--{if $Filecategory4->getFilecategoryId()==$results->getParentid()}-->checked<!--{/if}-->><!--{$Filecategory4->getTitle()}--></p>

					<!--第5层开始-->
					<!--{if $Filecategory4->getChildcount()>0}-->
						<div>
						<!--{assign var=subsql5 value='WHERE parentid='|cat:$Filecategory4->getFilecategoryId()|cat:' AND type LIKE \'m%\' ORDER BY orderid'}-->
						<!--{foreach key=key from='micefun'|FilecategoryLists:$subsql5:0:0 item=Filecategory5 name=counter5}-->
						
						<p cid="<!--{$Filecategory5->getFilecategoryId()}-->" innercode="<!--{$Filecategory5->getPath()}-->" level="<!--{$Filecategory5->getDepth()}-->" name="tree1_<!--{$Filecategory5->getFilecategoryId()}-->" id="tree1_<!--{$Filecategory5->getFilecategoryId()}-->" parentid="<!--{$Filecategory5->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter5.iteration==$Filecategory4->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter3.iteration==$Filecategory2->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter4.iteration==$Filecategory3->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Filecategory5->getChildcount()>0}--><!--{if $smarty.foreach.counter5.iteration==$Filecategory4->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter5.iteration==$Filecategory4->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Filecategory5->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Filecategory5->getType()}--><!--{$filecategorytype[$typeid].name}-->'><input type="radio" name="FilecategoryIdS[<!--{$Filecategory5->getFilecategoryId()}-->]" id='FilecategoryIdS[<!--{$Filecategory5->getFilecategoryId()}-->]' value='<!--{$Filecategory5->getFilecategoryId()}-->' onClick="onCheck(this);" <!--{if $Filecategory5->getFilecategoryId()==$results->getParentid()}-->checked<!--{/if}-->><!--{$Filecategory5->getTitle()}--></p>

						<!--第6层开始-->
						<!--{if $Filecategory5->getChildcount()>0}-->
							<div>
							<!--{assign var=subsql6 value='WHERE parentid='|cat:$Filecategory5->getFilecategoryId()|cat:' AND type LIKE \'m%\' ORDER BY orderid'}-->
							<!--{foreach key=key from='micefun'|FilecategoryLists:$subsql6:0:0 item=Filecategory6 name=counter6}-->
							
							<p cid="<!--{$Filecategory6->getFilecategoryId()}-->" innercode="<!--{$Filecategory6->getPath()}-->" level="<!--{$Filecategory6->getDepth()}-->" name="tree1_<!--{$Filecategory6->getFilecategoryId()}-->" id="tree1_<!--{$Filecategory6->getFilecategoryId()}-->" parentid="<!--{$Filecategory6->getParentid()}-->" lazy="0" resizeable="0" onclick="Tree.onItemClick(event,this);onTreeClick(this);" ondblclick="Tree.onItemDblClick(event,this);" dragend="Tree.dragEnd" onmouseup="DragManager.onMouseUp(event,this)" onmouseover="DragManager.onMouseOver(event,this)" dragover="Tree.dragOver" onmouseout="DragManager.onMouseOut(event,this)" dragout="Tree.dragOut" <!--{if $smarty.foreach.counter6.iteration==$Filecategory5->getChildcount()}-->expand="4"<!--{else}-->expand="2"<!--{/if}-->><!--{if $smarty.foreach.counter.iteration==$childcount}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter2.iteration==$Filecategory->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter3.iteration==$Filecategory2->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter4.iteration==$Filecategory3->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $smarty.foreach.counter5.iteration==$Filecategory4->getChildcount()}--><img src='imgs/Icons/treeicon08.gif'><!--{else}--><img src='imgs/Icons/treeicon03.gif'><!--{/if}--><!--{if $Filecategory6->getChildcount()>0}--><!--{if $smarty.foreach.counter6.iteration==$Filecategory5->getChildcount()}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon05.gif'><!--{else}--><img onclick='Tree.onBranchIconClick(event);' src='imgs/Icons/treeicon02.gif'><!--{/if}--><!--{else}--><!--{if $smarty.foreach.counter6.iteration==$Filecategory5->getChildcount()}--><img src='imgs/Icons/treeicon07.gif'><!--{else}--><img src='imgs/Icons/treeicon06.gif'><!--{/if}--><!--{/if}--><img src='imgs/Icons/<!--{$Filecategory6->getType()}-->.gif' alt='类别：<!--{assign var=typeid value=$Filecategory6->getType()}--><!--{$filecategorytype[$typeid].name}-->'><input type="radio" name="FilecategoryIdS[<!--{$Filecategory6->getFilecategoryId()}-->]" id='FilecategoryIdS[<!--{$Filecategory6->getFilecategoryId()}-->]' value='<!--{$Filecategory6->getFilecategoryId()}-->' onClick="onCheck(this);" <!--{if $Filecategory6->getFilecategoryId()==$results->getParentid()}-->checked<!--{/if}-->><!--{$Filecategory6->getTitle()}--></p>

							<!--{/foreach}-->
							</div>
						<!--{/if}-->

						<!--第6层结束-->

						<!--{/foreach}-->
						</div>
					<!--{/if}-->

					<!--第5层结束-->

					<!--{/foreach}-->
					</div>
				<!--{/if}-->

				<!--第4层结束-->

				<!--{/foreach}-->
				</div>
			<!--{/if}-->

			<!--第2层结束-->

			<!--{/foreach}-->
			</div>
		<!--{/if}-->

		<!--第2层结束-->

		<!--{/foreach}-->

</div>
</td>
</tr>
</table>

</div>
						</td>
					</tr>
					<tr>
						<td width="100" class="key" height='20'>排序:</td>
						<td colspan="2">
							&nbsp;<input name='orderid' id='orderid' type='text' size='5' value='<!--{$results->getOrderid()}-->'>&nbsp;(升序[从小到大]排列)
						</td>
					</tr>
					<tr>
						<td width="100" class="key" height='20'>简　介:</td>
						<td colspan="2">
							<!--{$editor}-->
						</td>
					</tr>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	<tr > 
		<td height="30" valign='middle'>
			<div id='_PageBar_buttom' class="pageBarWrap" style="padding-top:6px;clear:both;bottom:0px; height:30px; line-height:30px;"><div class="pageBar" style='float:right;font-family:Tahoma'></div><div style='float:left;font-family:Tahoma'><a href='javascript:CheckForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a16.gif" /><b>保存&nbsp;</b></a><a href='javascript:ResetForm();' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon001a13.gif" /><b>重置&nbsp;</b></a><a href='javascript:history.back(-1);' micetype='micePushBtn' class='micePushBtn' hidefocus='true' tabindex='-1' onselectstart='return false'><img src="imgs/Icons/icon008a20.gif" /><b>返回&nbsp;</b></a>&nbsp;&nbsp;<label><input type="checkbox" name="goon" id="goon" value="1">保存后继续添加</label></div></div>
		</td>
	</tr>
</table>

<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
  </form>
</table>
</body>
</html>