alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  
<td width="100%" nowrap> <a class="nav" href="<%=indexUrl%>"> »  Admin Control Panel </td> </tr> </table> <br/> <table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="pagedesc"> <td> 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="testsystem" class="command">Test System Configuration
<%}%> <%if ( permission.canAdminSystem() ) {%> <a href="misctasks" class="command">Miscellaneous Tasks
<%}%> <%if ( permission.canEditAnyForum() || permission.canAddForum()) {%> <a href="forummanagement" class="command">Forum Management
<%}%> <%if ( permission.canAdminSystem() ) {%> <a href="usermanagement" class="command">User Management
<%}%> <%if ( permission.canAdminSystem() ) {%> <a href="groupmanagement" class="command">Group Management
<%}%> <%if ( permission.canAdminSystem() ) {%> <a href="viewlogsystem" class="command">Log File Management
<%}%> <%if ( permission.canAdminSystem() ) {%> <a href="sendmail" class="command">Send Mail
<%}%> <%if ( permission.canAdminSystem() ) {%> <a href="configindex" class="command">Config mvnForum
<%}%> </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="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="theader"> <td width="30%">mvnForum Status <td align="center">Start Time <td align="center">Now <td align="center">Up Time <td align="center">Status </tr> <tr class="trow1"> <td>mvnForum Status <td align="center" class="messageText"><%=startTime%> <td align="center" class="messageText"><%=nowTime%> <td align="center" class="messageText"><%=upTime%> <td align="center" class="messageText"> <%if (MVNForumConfig.getShouldShowUserArea()) {%> <span style="color:#008000">On - Turn Off <%} else {%> <span style="color:#FF0080">Off - Turn On <%}%> </td> </tr> </table> <%}%> <br/> <table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="theader"> <td colspan="2">mvnForum Infomation: </tr> <tr class="trow1"> <td width="30%">Product Name <td><%=MVNForumInfo.getProductName()%> </tr> <tr class="trow2"> <td>Description <td><%=MVNForumInfo.getProductDesc()%> </tr> <tr class="trow1"> <td>Version <td><%=MVNForumInfo.getProductVersion()%> </tr> <tr class="trow2"> <td>Release Date <td><%=MVNForumInfo.getProductReleaseDate()%> </tr> <tr class="trow1"> <td>Home page <td><%=MVNForumInfo.getProductHomepage()%> </tr> <tr class="trow2"> <td>mvnForum Professional Services <span style="color:#008000">mvnForum Professional Services <td>mvnForum Professional Services Information </tr> <tr class="trow2"> <td> <td>Latest mvnForum version </tr> </table> <br/> <table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="theader"> <td colspan="2">MyVietnam Framework Infomation: </tr> <tr class="trow1"> <td width="30%">Product Name <td><%=MVNCoreInfo.getProductName()%> </tr> <tr class="trow2"> <td>Description <td><%=MVNCoreInfo.getProductDesc()%> </tr> <tr class="trow1"> <td>Version <td><%=MVNCoreInfo.getProductVersion()%> </tr> <tr class="trow2"> <td>Release Date <td><%=MVNCoreInfo.getProductReleaseDate()%> </tr> <tr class="trow1"> <td>Home page <td><%=MVNCoreInfo.getProductHomepage()%> </tr> <tr class="trow2"> <td> <td>Latest mvnCore version </tr> </table> <br/> <%if ( permission.canAdminSystem() ) {%> <% ServletInfo servletInfo = new ServletInfo(application); %> <table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="theader"> <td colspan="2">Application Server Infomation: </tr> <tr class="trow1"> <td width="30%">Application Server <td><%=servletInfo.getServerInfo()%> </tr> <tr class="trow2"> <td>Servlet Version <td><%=servletInfo.getServletVersion()%> </tr> </table> <br/> <% DatabaseInfo databaseInfo = new DatabaseInfo();%> <table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="theader"> <td colspan="2">Database Information: </tr> <tr class="trow1"> <td width="30%">Database Name <td><%=databaseInfo.getDatabaseProductName()%> </tr> <tr class="trow2"> <td>Database Version <td><%=databaseInfo.getDatabaseProductVersion()%> </tr> <tr class="trow1"> <td width="30%">Database Url <td><%=databaseInfo.getDatabaseUrl()%> </tr> <tr class="trow2"> <td>Database Username <td><%=databaseInfo.getDatabaseUsername()%> </tr> <tr class="trow1"> <td>JDBC Driver Name <td><%=databaseInfo.getDriverName()%> </tr> <tr class="trow2"> <td>JDBC Driver Version <td><%=databaseInfo.getDriverVersion()%> </tr> </table> <br/> <% SystemInfo systemInfo = new SystemInfo(); %> <table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center"> <tr class="theader"> <td colspan="2">System Information: </tr> <tr class="trow1"> <td width="30%">Virtual Machine Name <td><%=systemInfo.getVmName()%> </tr> <tr class="trow2"> <td>Virtual Machine Vendor <td><%=systemInfo.getVmVendor()%> </tr> <tr class="trow1"> <td>Virtual Machine Version <td><%=systemInfo.getVmVersion()%> </tr> <tr class="trow2"> <td>Virtual Machine Runtime Name <td><%=systemInfo.getRuntimeName()%> </tr> <tr class="trow1"> <td>Virtual Machine Runtime Version <td><%=systemInfo.getRuntimeVersion()%> </tr> <tr class="trow2"> <td>OS Name <td><%=systemInfo.getOsName()%> </tr> <tr class="trow1"> <td>OS Version <td><%=systemInfo.getOsVersion()%> </tr> <tr class="trow2"> <td>CPU <td><%=systemInfo.getCpu()%> </tr> <tr class="trow1"> <td>Total Memory <td><%=systemInfo.getTotalMemoryKB()%> KB </tr> <tr class="trow2"> <td>Free Memory <td><%=systemInfo.getFreeMemoryKB()%> KB </tr> </table> <%}/*if can admin system*/%> <br/> </fmt:bundle> <%@ include file="footer.jsp"%> </body> </html>

What this is

This file is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Other links

The source code

<%--
 - $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/admin/index.jsp,v 1.44 2005/02/24 07:20:13 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.44 $
 - $Date: 2005/02/24 07:20:13 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002-2005 by MyVietnam.net
 -
 - 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.
 -
 - 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 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@MyVietnam.net
 -
 - @author: Minh Nguyen  minhnn@MyVietnam.net
 - @author: Mai  Nguyen  mai.nh@MyVietnam.net
 --%>
<%@ 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" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<fmt:bundle basename="mvnForum_i18n">
<html>
<head>
  <title> - Admin Control Panel
<%@ 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="95%" align="center">
  <tr class="nav">
    <td>
... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.