⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 menu.aspx

📁 LiteBlaster 是一款基于 .NET Framework 原创的 ASP.NET 论坛系统。后台程序库采用 C#/VB.NET 编写
💻 ASPX
字号:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="utf-8" %>
<%@ Import Namespace="Auway.LiteBlaster.Core" %>
<%@ Import Namespace="Auway.LiteBlaster.Enumerations" %>
<%@ Import Namespace="Auway.LiteBlaster.Exceptions" %>
<%@ Import Namespace="Auway.LiteBlaster.Extensions" %>
<%@ Import Namespace="Auway.LiteBlaster.Forum" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理菜单</title>
<link rel="stylesheet" type="text/css" href="../Skins/Styles/main.css" />
<link rel="stylesheet" type="text/css" href="../Skins/Styles/itemList.css" />
<script language="javascript" type="text/javascript" src="../Lib/x/x_core.js"></script>
<script language="javascript" type="text/javascript" src="../Lib/x/x_event.js"></script>
<script language="javascript" type="text/javascript" src="../Lib/main.js"></script>
<script language="javascript" type="text/javascript">
	this.onload = function(){
//		switchTab(0);
	}

	var tabs = new Array('BoardManager', 'UserManager', 'MsgLinksManager', 'ForumManager', 'Maintenance');

	function switchTab(index){
//		for(var i = 0; i < tabs.length; i++){
//			if(i != index){
//				setElementVisible(tabs[i], false);
//			}
//		}
//		setElementVisible(tabs[index], true);
		switchElementVisible(tabs[index]);
	}
</script>
<script runat="server">
	Private IsAdmin As Boolean
	Private IsSuperMaster As Boolean
	
	Sub Page_Load()
		Dim user As UserInfo = UserInfo.CurrentUserOrGuest
		IsAdmin = (user.GroupType = GroupType.Admin)
		IsSuperMaster = (user.GroupType = GroupType.SuperMaster)
	End Sub
</script>
</head>
<body>
	<table class="ListBody" align="center"><tbody><tr><td>
		<table class="ListTable">
			<tbody>
				<tr><td class="ListHeaderSub">管理菜单</td></tr>
			</tbody>
		</table>
		<table class="ListTable">
			<tr><td class="ListItemsTd ListItemsTd_style3 txtcenter">
				<a href="../" target="_top">论坛首页</a>
			</td></tr>
			<tr><td class="ListItemsTd ListItemsTd_style3 txtcenter">
				<a href="Default.aspx?logout=true" target="_top">注销登录</a>
			</td></tr>
			<tr><td class="ListItemsTd ListItemsTd_style3 txtcenter">
				<a href="Status.aspx" target="mainFrame">论坛状态</a>
			</td></tr>
		</table>
		<%	If IsAdmin OrElse IsSuperMaster Then	%>
		<table class="ListTable">
			<tbody class="ListHeader">
				<tr><td class="ListHeaderClickable" onClick="switchTab(0);">版面管理</td></tr>
			</tbody>
			<tbody id="BoardManager">
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="SectionManager.aspx" target="mainFrame">分类管理</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="BoardManager.aspx" target="mainFrame">版面管理</a>
					</td>
				</tr>
			</tbody>
		</table>
		<%
			End If
			If IsAdmin Then
		%>
		<table class="ListTable">
			<tbody class="ListHeader">
				<tr><td class="ListHeaderClickable" onClick="switchTab(1);">用户管理</td></tr>
			</tbody>
			<tbody id="UserManager">
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="UserInfo.aspx" target="mainFrame">用户查询</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="UserSettings.aspx" target="mainFrame">用户设定</a>
					</td>
				</tr>
			</tbody>
		</table>
		<table class="ListTable">
			<tbody class="ListHeader">
				<tr><td class="ListHeaderClickable" onClick="switchTab(2);">消息链接</td></tr>
			</tbody>
			<tbody id="MsgLinksManager">
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="SysMsgManager.aspx" target="mainFrame">系统消息</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="BroadcastManager.aspx" target="mainFrame">公告管理</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="LinksManager.aspx" target="mainFrame">友情链接</a>
					</td>
				</tr>
			</tbody>
		</table>
		<table class="ListTable">
			<tbody class="ListHeader">
				<tr><td class="ListHeaderClickable" onClick="switchTab(3);">论坛选项</td></tr>
			</tbody>
			<tbody id="ForumManager">
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="ForumSetup.aspx" target="mainFrame">常规选项</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="IPAccess.aspx" target="mainFrame">IP 规则</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="GroupManager.aspx" target="mainFrame">组管理</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="EPGainManager.aspx" target="mainFrame">经验策略</a>
					</td>
				</tr>
			</tbody>
		</table>
		<table class="ListTable">
			<tbody class="ListHeader">
				<tr><td class="ListHeaderClickable" onClick="switchTab(4);">论坛维护</td></tr>
			</tbody>
			<tbody id="Maintenance">
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="RefreshData.aspx" target="mainFrame">引擎缓存</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="AutomaticMaintenance.aspx" target="mainFrame">自动维护</a>
					</td>
				</tr>
				<tr>
					<td class="ListItemsTd ListItemsTd_style1 txtcenter">
						<a href="ManualMaintenance.aspx" target="mainFrame">人工维护</a>
					</td>
				</tr>
			</tbody>
		</table>
		<%	End If	%>
		<table class="ListTable">
			<tbody>
				<tr><td class="ListHeaderSub"><%=Server.HtmlEncode(Connection.ConnectionTypeDescription & " Edition") %></td></tr>
			</tbody>
		</table>
	</td></tr></tbody></table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -