<%@ Page CodeFileBaseClass="IlgharCMS.Lib.MemberPageBase" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>控制面板 - <%=Channel[Name]%> - <%=Site[Name]%></title>
<ilghar:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ilghar:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" />
<link rel="stylesheet" href="<%=CssPath%>menubar.css" />
<script type="text/javascript">
var _page = "index";
var _desktopPath = "<%=BuildUrl("desktop")%>";
</script>
</head>
<%If !Request.Browser.Browser.Contains("IE")%>
	<%="<body>"%>
<%Else%>
	<body scroll="no">
<%EndIf%>
<div id="Header">
	<div></div>
	<ul>
		<li>您好，<%=User["Name"]%> 欢迎您！,<a href="logout.aspx">安全退出</a></li>
	</ul>
</div>

<div id="MenuBar">
	<ilghar:Tree Mark="System" Object="Template.Menu" Operation="AuthorizedList(Convert.ToString(Channel[TemplatePath]), 0)">
		<ul>
			<ilghar:Record>
				<li>
					<%If Record.ChildNodes.Count > 0%>
						<%If String.Equals(PathInTemplate, "")%>
							<%If String.Equals(Target, "")%>
								<a href="<%=URL%>" target="Main" class="SubMenu"><%=Name%></a>
							<%Else%>
								<a href="<%=URL%>" target="<%=Target%>" class="SubMenu"><%=Name%></a>
							<%EndIf%>
						<%Else%>
							<%If String.Equals(Target, "")%>
								<a href="frame.aspx?Right=<%=URL%>&amp;InstanceID=<%=["InstanceID"]%>" target="Main" class="SubMenu"><%=Name%></a>
							<%Else%>
								<a href="frame.aspx?Right=<%=URL%>&amp;InstanceID=<%=["InstanceID"]%>" target="<%=Target%>" class="SubMenu"><%=Name%></a>
							<%EndIf%>
						<%EndIf%>
					<%Else%>
						<%If String.Equals(PathInTemplate, "")%>
							<%If String.Equals(Target, "")%>
								<a href="<%=URL%>" target="Main"><%=Name%></a>
							<%Else%>
								<a href="<%=URL%>" target="<%=Target%>"><%=Name%></a>
							<%EndIf%>
						<%Else%>
							<%If String.Equals(Target, "")%>
								<a href="frame.aspx?Right=<%=URL%>&amp;InstanceID=<%=["InstanceID"]%>" target="Main"><%=Name%></a>
							<%Else%>
								<a href="frame.aspx?Right=<%=URL%>&amp;InstanceID=<%=["InstanceID"]%>" target="<%=Target%>"><%=Name%></a>
							<%EndIf%>
						<%EndIf%>
					<%EndIf%>
					<%=ChildRecords%>
				</li>
			</ilghar:Record>
		</ul>
	</ilghar:Tree>
</div>
<iframe name="Main" id="Main" frameborder="0" width="100%" src="" scrolling="yes"></iframe>
<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
</body>
</html>