tabs.jsp

来自「Jive是基于JSP/JAVA技术构架的一个大型BBS论坛系统,这是Jive论坛」· JSP 代码 · 共 108 行

JSP
108
字号
<%/** *	$RCSfile: tabs.jsp,v $ *	$Revision: 1.7 $ *	$Date: 2002/06/18 00:34:57 $ */%><%@ page import="com.jivesoftware.forum.*" %><%@ include file="global.jsp" %><%	// Get the "tab" parameter -- this tells us which tab to show as active    String tab = request.getParameter("tab");    // Set a default tab value	if (tab == null) {        String sessionTab = (String)session.getAttribute("jive.admin.sidebarTab");        if (sessionTab == null) {    		tab = "system";        }        else {            tab = sessionTab;        }	}    // Set the content type and character encoding    response.setContentType("text/html; charset=" + JiveGlobals.getCharacterEncoding());%><html><head>	<title>Admin Header</title>    <meta http-equiv="content-type" content="text/html; charset=<%= JiveGlobals.getCharacterEncoding() %>">    <script language="JavaScript" type="text/javascript">    <!-- // code for window popups    function helpwin() {        window.open('helpwin.jsp','newWindow','width=500,height=550,menubar=yes,location=no,personalbar=no,scrollbars=yes,resize=yes');    }    //-->    </script></head><body topmargin="0" rightmargin="0" leftmargin="0" bottommargin="0" marginheight="0" marginwidth="0"text="#000000" link="#0000ff" vlink="#0000ff" alink="#6699cc"><table background="images/header_grad.gif" cellpadding="0" cellspacing="0" border="0" width="100%"><tr>	<td width="98%"><a href="main.jsp" target="main"><img src="images/header.gif" width="184" height="61" alt="Jive Forums Admin" border="0"></a></td>    <td width="1%" valign="bottom">        <table cellpadding="3" cellspacing="0" border="0">        <tr><td nowrap align="right">            <font size="-1" face="arial,helvetica,sans-serif">            Logged in as: <b><%= pageUser.getUsername() %></b>            </font>        </td></tr>        </table>    </td>    <td width="1%"><img src="images/blank.gif" width="10" height="0" border="0"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td bgcolor="#666666"><img src="images/blank.gif" width="1" height="1" border="0"></td></tr><tr><td bgcolor="#999999"><img src="images/blank.gif" width="1" height="1" border="0"></td></tr><tr><td bgcolor="#cccccc"><img src="images/blank.gif" width="1" height="1" border="0"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr bgcolor="#ffffff">    <td width="1%" nowrap    <%  if (isSystemAdmin) { %>        ><a href="sidebar.jsp?sidebar=system" target="sidebar"><img src="images/tab_global_<%= (tab.equals("system"))?"on":"off" %>.gif" width="113" height="25" border="0"></a    <%  } %>    <%  if (isSystemAdmin || isModerator || isForumAdmin || isCatAdmin) { %>        ><a href="sidebar.jsp?sidebar=forum" target="sidebar"><img src="images/tab_content_<%= (tab.equals("forum"))?"on":"off" %>.gif" width="113" height="25" border="0"></a    <%  } %>    <%  if (isSystemAdmin || isUserAdmin || isGroupAdmin) { %>        ><a href="sidebar.jsp?sidebar=users" target="sidebar"><img src="images/tab_users_<%= (tab.equals("users"))?"on":"off" %>.gif" width="113" height="25" border="0"></a    <%  } %>    <%  if (isSystemAdmin || isModerator || isForumAdmin || isCatAdmin) { %>        ><a href="sidebar.jsp?sidebar=moderation" target="sidebar"><img src="images/tab_moderation_<%= (tab.equals("moderation"))?"on":"off" %>.gif" width="113" height="25" border="0"></a    <%  } %>    <%  if (isSystemAdmin) { %>        ><a href="sidebar.jsp?sidebar=skins" target="sidebar"><img src="images/tab_skin_settings_<%= (tab.equals("skins"))?"on":"off" %>.gif" width="113" height="25" border="0"></a    <%  } %>        ></td>    <td width="97%"><img src="images/tab_stretch.gif" width="100%" height="25" border="0"></td>    <td width="1%" background="images/tab_stretch.gif"><font size="-1" face="arial,helvetica,sans-serif"><a href="index.jsp?logout=true"><b>Logout</b></a></font></td>    <td width="1%" background="images/tab_stretch.gif"><img src="images/blank.gif" width="10" height="1" border="0"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr bgcolor="#eeeeee">    <td width="1%"><img src="images/blank.gif" width="175" height="9" border="0"></td>    <td width="99%"><img src="images/toolbar_stretch.gif" width="100%" height="9" border="0"></td></tr></table><table cellpadding="0" cellspacing="0" border="0" width="175"><tr>    <td><img src="images/sidebar_stretch.gif" width="175" height="20" border="0"></td></tr></table></body></html>

⌨️ 快捷键说明

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