<%@ page contentType="text/html;charset=UTF-8" language="java"%><%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%><%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理系统</title>
<link href="<%=request.getContextPath() %>/com/goosaa/templete/default.css" type="text/css" rel="stylesheet">


<link href="<%=request.getContextPath() %>/cssCms/com/goosaa/templete/default.css" rel="stylesheet" type="text/css"></head>

<body >
<div class="box">
<h1 align="center"><img src="src="<%=request.getContextPath() %>/images/logo200.jpg" title="共智新闻管理系统"><br>
</h1>
</div>




<logic:present name="menuListSession">
	<table id="ListTable" width="200">


		<!-- iterator menu -->


		<logic:iterate id="Menu" name="menuListSession">

			<tr class="header">
				<td><a
					href="<%=request.getContextPath() %>/action/daoAction/MenuAction.do?method=changeProperty&property=menuName&type=boolean&menuId=<bean:write name="Menu" property="menuId"/>&value=<bean:write name="Menu" property="isOpen"/>"
					target="left"> <bean:write name="Menu" property="menuName" />
				</a></td>
			</tr>


			<logic:present name="Menu" property="menuitems">
				<!--判断是否显示-->

				<logic:equal value="false" name="Menu" property="isOpen">
					<tr>
						<td><!---itemsiterate-->


						<ul>
							<logic:iterate id="Menuitem" name="Menu" property="menuitems">

								<a
									href="<bean:write name="Menuitem" property="urlPath"/>"
									target="main"><bean:write name="Menuitem"
									property="menuItemName" /></a>

							</logic:iterate>
						</ul>

						</td>
					</tr>
				</logic:equal>
				<!---enditemsiterate-->
			</logic:present>
		</logic:iterate>
	</table>
</logic:present>



</body>
</html>
