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

📄 header.jsp

📁 用java 写的论坛
💻 JSP
字号:
<%--
 - $Header: /cvsroot/mvnforum/mvnforum/srcweb/mvnplugin/mvnforum/admin/header.jsp,v 1.11 2003/05/11 19:16:39 minhnn Exp $
 - $Author: minhnn $
 - $Revision: 1.11 $
 - $Date: 2003/05/11 19:16:39 $
 -
 - ====================================================================
 -
 - Copyright (C) 2002, 2003 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
 --%>
<%
/** @todo: cache indexUrl */
StringBuffer buffer = new StringBuffer();
buffer.append(net.myvietnam.mvncore.util.ParamUtil.getContextPath());
buffer.append(net.myvietnam.mvnplugin.mvnforum.user.UserModuleConfig.getUrlPattern());
buffer.append("/index");
String indexUrl = buffer.toString();

%>
<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="252" rowspan="2">
    <a href="<%=indexUrl%>"><img src="<%=contextPath%>/mvnplugin/mvnforum/images/logo.gif" height="50" border="0" alt="mvnForum Homepage"></a>
    </td>
    <td width="100%" height="25" align="right">
        <%
        if (memberID > 0) { %>
        <span class="menuLink">Welcome <font color="#FF0000"><%=memberName%></font>&nbsp;&nbsp;|&nbsp;</span>
        <a href="logout" class="menuLink">Logout</a>
        <% } else { %>
        <span class="menuLink">Welcome Guest&nbsp;&nbsp;|&nbsp;</span>
        <a href="login" class="menuLink">Login</a>
        <% } %>
    </td>
  </tr>
  <tr>
    <td height="40" colspan="3" align="right" valign="bottom" class="zoneTitle">mvnForum&nbsp;Admin&nbsp;Control&nbsp;Panel</td>
  </tr>
</table>


<table width="95%" cellspacing="1" cellpadding="2" align="center" bgcolor="#999999">
 <tr bgcolor="#f5f5f5">
    <td align="left" nowrap class="messageTextBold">&nbsp;
    <a href="<%=indexUrl%>" class="topmenuItem">Forum Index</a>
    &nbsp;|&nbsp;<a href="index" class="topmenuItem">Admin Index</a>

<%if ( permission.canAdminSystem() ) {%>
    &nbsp;|&nbsp;<a href="misctasks" class="topmenuItem">Miscellaneous Tasks</a>
<%}%>

<%if ( permission.canEditForum() ) {%>
    &nbsp;|&nbsp;<a href="forummanagement" class="topmenuItem">Forum Management</a>
<%}%>

<%if ( permission.canAdminSystem() ) {%>
    &nbsp;|&nbsp;<a href="usermanagement" class="topmenuItem">User Management</a>
<%}%>

<%if ( permission.canAdminSystem() ) {%>
    &nbsp;|&nbsp;<a href="groupmanagement" class="topmenuItem">Group Management</a>
<%}%>

<%if ( permission.canAdminSystem() ) {%>
    &nbsp;|&nbsp;<a href="sendmail" class="topmenuItem">Send Mail</a>
<%}%>
    </td>
</tr>
</table>

⌨️ 快捷键说明

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