<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<!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>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" />
<link rel="stylesheet" href="<%=CssPath%>menubar.css" />
<script type="text/javascript">
var _page = "index";
var _lang = "<%=PageLang%>";
</script>
</head>
<body id="IndexBody" scroll="no">
<ul class="Header">
	<li class="Left"></li>
	<li class="Right">
		您好，<%=User["Name"]%> | <a href="material.aspx" target="Main">我的资料</a> |
		内容语言：
		<select name="LanguageID">
			<ali:List Object="Language" Lang="PageLang">
				<ali:Record>
					<option value="<%=Ab%>"><%=Name%></option>
				</ali:Record>
			</ali:List>
		</select>
		<div><a href="<%=WebPath%>" target="_blank">预览网站</a> | <a href="<%=WebPath%>debug/index.aspx" target="_blank">调试网站</a> | <a href="logout.aspx">安全退出</a></div>
	</li>
</ul>
<div id="MenuBar">
	<ali:Tree Object="Template.Menu" Operation="AuthorizedList(Convert.ToString(Channel[TemplatePath]), 0)" Lang="PageLang">
		<ul>
			<ali:Record>
				<li>
					<%If Record.ChildNodes.Count > 0%>
						<%If String.Equals(PathInTemplate, "")%>
							<a href="<%=URL%>" target="<%=Target%>" class="SubMenu"><%=Name%></a>
						<%Else%>
							<a href="frame.aspx?InstanceID=<%=["InstanceID"]%>&amp;Right=<%=URL%>" target="Main" class="SubMenu"><%=Name%></a>
						<%EndIf%>
					<%Else%>
						<%If String.Equals(PathInTemplate, "")%>
							<a href="<%=URL%>" target="<%=Target%>"><%=Name%></a>
						<%Else%>
							<a href="frame.aspx?InstanceID=<%=["InstanceID"]%>&amp;Right=<%=URL%>" target="Main"><%=Name%></a>
						<%EndIf%>
					<%EndIf%>
					<%=ChildRecords%>
				</li>
			</ali:Record>
		</ul>
	</ali:Tree>
</div>
<iframe name="Main" id="Main" frameborder="0" width="100%" src="" scrolling="no"></iframe>
<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<script type="text/javascript" src="<%=JsPath%>global.js"></script>
<script type="text/javascript" src="<%=JsPath%>system.js"></script>
</body>
</html>