?? index.jsp
字號(hào):
<%--
- $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/admin/index.jsp,v 1.55 2006/04/14 18:02:17 minhnn Exp $
- $Author: minhnn $
- $Revision: 1.55 $
- $Date: 2006/04/14 18:02:17 $
-
- ====================================================================
-
- Copyright (C) 2002-2006 by MyVietnam.net
-
- All copyright notices regarding mvnForum MUST remain
- intact in the scripts and in the outputted HTML.
- The "powered by" text/logo with a link back to
- http://www.mvnForum.com and http://www.MyVietnam.net in
- the footer of the pages MUST remain visible when the pages
- are viewed on the internet or intranet.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
- Support can be obtained from support forums at:
- http://www.mvnForum.com/mvnforum/index
-
- Correspondence and Marketing Questions can be sent to:
- info at MyVietnam net
-
- @author: Minh Nguyen
- @author: Mai Nguyen
--%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="net.myvietnam.mvncore.MVNCoreInfo" %>
<%@ page import="net.myvietnam.mvncore.info.DatabaseInfo" %>
<%@ page import="net.myvietnam.mvncore.info.SystemInfo" %>
<%@ page import="net.myvietnam.mvncore.info.ServletInfo" %>
<%@ page import="com.mvnforum.MVNForumInfo" %>
<%@ page import="com.mvnforum.db.MemberCache" %>
<%@ page import="com.mvnforum.db.PostCache" %>
<%@ page import="com.mvnforum.db.ThreadCache" %>
<%@ page import="com.mvnforum.db.ForumCache" %>
<%@ page import="com.mvnforum.db.CategoryCache" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<html>
<head>
<title><fmt:message key="mvnforum.common.forum.title_name"/> - <fmt:message key="mvnforum.admin.index.title_name"/><!--Admin Control Panel--></title>
<%@ include file="/mvnplugin/mvnforum/meta.jsp"%>
<link href="<%=onlineUser.getCssPath()%>" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>
<table width="98%" align="center">
<tr class="nav">
<td><img src="<%=contextPath%>/mvnplugin/mvnforum/images/nav.gif"></td>
<td width="100%" nowrap>
<a class="nav" href="<%=urlResolver.encodeURL(request, response, "index", URLResolver.RENDER_URL, "view")%>"><fmt:message key="mvnforum.common.nav.index"/></a> »
<fmt:message key="mvnforum.admin.index.title_name"/><!--Admin Control Panel-->
</td>
</tr>
</table>
<br/>
<table class="tborder" width="98%" cellspacing="1" cellpadding="3" align="center">
<tr class="pagedesc">
<td>
<fmt:message key="mvnforum.admin.index.pagedesc"/>
<!--
Thank you for choosing mvnForum as your forum solution.
This screen will give you a quick overview of all the various statistics of your board.
You can get back to this page by clicking on the Admin Index link in the top menu.
To return to the index of your board, click the mvnForum logo in the top of this page.
The other links on the top menu will allow you to control every aspect of your forum experience,
each screen will have instructions on how to use the tools.<br/>
Choose below tasks to continue:-->
<br/>
<%if ( permission.canAdminSystem() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "testsystem")%>" class="command"><fmt:message key="mvnforum.admin.index.testsystem"/><!--Test System Configuration--></a><br/>
<%}%>
<%if ( permission.canAdminSystem() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "misctasks")%>" class="command"><fmt:message key="mvnforum.admin.index.misctasks"/><!--Miscellaneous Tasks--></a><br/>
<%}%>
<%if ( permission.canEditAnyForum() || permission.canAddForum()) {%>
<a href="<%=urlResolver.encodeURL(request, response, "forummanagement")%>" class="command"><fmt:message key="mvnforum.admin.index.forummanagement"/><!--Forum Management--></a><br/>
<%}%>
<%if ( permission.canAdminSystem() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "usermanagement")%>" class="command"><fmt:message key="mvnforum.admin.index.usermanagement"/><!--User Management--></a><br/>
<%}%>
<%if ( permission.canAdminSystem() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "groupmanagement")%>" class="command"><fmt:message key="mvnforum.admin.index.groupmanagement"/><!--Group Management--></a><br/>
<%}%>
<%if ( permission.canAdminSystem() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "viewlogsystem")%>" class="command"><fmt:message key="mvnforum.admin.index.viewlogsystem"/><!--Log File Management--></a><br/>
<%}%>
<%if ( permission.canSendMail() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "sendmail")%>" class="command"><fmt:message key="mvnforum.admin.index.sendmail"/><!--Send Mail--></a><br/>
<%}%>
<%if ( permission.canAdminSystem() ) {%>
<a href="<%=urlResolver.encodeURL(request, response, "configindex")%>" class="command"><fmt:message key="mvnforum.admin.index.configindex"/><!--Config mvnForum--></a><br/>
<%}%>
</td>
</tr>
</table>
<br/>
<%
if ( onlineUser.getPermission().canAdminSystem()) {
String startTime = ParamUtil.getAttribute(request, "StartTime");
String nowTime = ParamUtil.getAttribute(request, "NowTime");
String upTime = ParamUtil.getAttribute(request, "UpTime");
%>
<table class="tborder" width="98%" cellspacing="1" cellpadding="3" align="center">
<tr class="portlet-section-header">
<td width="30%"><fmt:message key="mvnforum.admin.index.mvnforumStatus"/></td>
<td align="center"><fmt:message key="mvnforum.admin.index.startTime"/></td>
<td align="center"><fmt:message key="mvnforum.admin.index.now"/></td>
<td align="center"><fmt:message key="mvnforum.admin.index.upTime"/></td>
<td align="center"><fmt:message key="mvnforum.admin.index.status"/></td>
</tr>
<tr class="portlet-section-body">
<td><fmt:message key="mvnforum.admin.index.mvnforumStatus"/></td>
<td align="center" class="portlet-font"><%=startTime%></td>
<td align="center" class="portlet-font"><%=nowTime%></td>
<td align="center" class="portlet-font"><%=upTime%></td>
<td align="center" class="portlet-font">
<%if (MVNForumConfig.getShouldShowUserArea()) {%>
<span style="color:#008000"><fmt:message key="mvnforum.admin.index.on"/></span> - <a href="<%=urlResolver.encodeURL(request, response, "changemode?mode=off")%>"><fmt:message key="mvnforum.admin.index.turnOff"/></a>
<%} else {%>
<span style="color:#FF0080"><fmt:message key="mvnforum.admin.index.off"/></span> - <a href="<%=urlResolver.encodeURL(request, response, "changemode?mode=on")%>"><fmt:message key="mvnforum.admin.index.turnOn"/></a>
<%}%>
</td>
</tr>
</table>
<%}%>
<br/>
<table class="tborder" width="98%" cellspacing="1" cellpadding="3" align="center">
<tr class="portlet-section-header">
<td colspan="2"><fmt:message key="mvnforum.admin.index.mvnforumInfo"/>:</td>
</tr>
<tr class="portlet-section-body">
<td width="30%"><fmt:message key="mvnforum.admin.index.productName"/></td>
<td><%=MVNForumInfo.getProductName()%></td>
</tr>
<tr class="portlet-section-alternate">
<td><fmt:message key="mvnforum.admin.index.productDescr"/></td>
<td><%=MVNForumInfo.getProductDesc()%></td>
</tr>
<tr class="portlet-section-body">
<td><fmt:message key="mvnforum.admin.index.productVersion"/></td>
<td><%=MVNForumInfo.getProductVersion()%></td>
</tr>
<tr class="portlet-section-alternate">
<td><fmt:message key="mvnforum.admin.index.productReleaseDate"/></td>
<td><%=MVNForumInfo.getProductReleaseDate()%></td>
</tr>
<tr class="portlet-section-body">
<td><fmt:message key="mvnforum.admin.index.productHomePage"/></td>
<td><a href="<%=MVNForumInfo.getProductHomepage()%>"><%=MVNForumInfo.getProductHomepage()%></a></td>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -