<%@ Page CodeFileBaseClass="IlgharCMS.Lib.AdminPageBase" %>
<table border="0" cellpadding="4" cellspacing="1" class="TreeTable">
	<thead>
		<tr>
			<th width="30">移动</th>
			<th>名称及层次</th>
			<th width="60">是否显示</th>
			<th width="40">修改</th>
			<th width="40">编辑</th>
			<th width="40">删除</th>
		</tr>
	</thead>
	<tbody>
		<ilghar:Tree Object="Menu" Condition="CategoryID=Request.QueryString['CategoryID']">
			<ilghar:Control>
				<ilghar:Space><span style="margin-left:20px"></span></ilghar:Space>
				<ilghar:Line><img src="<%=ImagePath%>tree/line.gif" /></ilghar:Line>
				<ilghar:TopOpen><img id="SH<%=InnerID%>" onclick="ShowAndHide('<%=InnerID%>')" src="<%=ImagePath%>tree/top_open.gif" class="ShowHide" /></ilghar:TopOpen>
				<ilghar:Top><img src="<%=ImagePath%>tree/top.gif" /></ilghar:Top>
				<ilghar:MiddleOpen><img id="SH<%=InnerID%>" onclick="ShowAndHide('<%=InnerID%>')" src="<%=ImagePath%>tree/middle_open.gif" class="ShowHide" /></ilghar:MiddleOpen>
				<ilghar:Middle><img src="<%=ImagePath%>tree/middle.gif" /></ilghar:Middle>
				<ilghar:BottomOpen><img id="SH<%=InnerID%>" onclick="ShowAndHide('<%=InnerID%>')" src="<%=ImagePath%>tree/bottom_open.gif" class="ShowHide" /></ilghar:BottomOpen>
				<ilghar:Bottom><img src="<%=ImagePath%>tree/bottom.gif" /></ilghar:Bottom>
			</ilghar:Control>
			<ilghar:Record>
				<tr id="Row<%=InnerID%>" ItemID="<%=InnerID%>" ParentID="<%=ParentInnerID%>">
					<form>
						<td><img name="<%=Name%>" sort="<%=InnerID%>" class="Move" src="<%=ImagePath%>move.gif" /></td>
						<th><span id="Control<%=InnerID%>"><%=Control%></span><input type="text" name="Name" value="<%=Name%>" class="<%=ContentLang%>Font"></th>
						<td>
							<%If Convert.ToBoolean(IsDisplay)%>
								显示
							<%Else%>
								不显示
							<%EndIf%>
						</td>
						<td><input type="image" src="<%=ImagePath%>modify.gif" /></td>
						<td><a href="../menu/edit.aspx?Lang=<%=ContentLang%>&amp;CategoryID=<%=CategoryID%>&amp;ID=<%=InnerID%>">编辑</a></td>
						<td><a href="">删除</a></td>
					</form>
				</tr>
				<%=ChildRecords%>
			</ilghar:Record>
		</ilghar:Tree>
	</tbody>
</table>
