<%@ page contentType="text/html;charset=GBK" %>
<%
/**
 *	$RCSfile: tabs.jsp,v $
 *	$Revision: 1.1.1.1 $
 *	$Date: 2002/09/09 13:50:19 $
 */
%>

<%@ 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;
        }
	}
%>

<html>
<head>
	<title>管理标头区</title>
</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><a href="main.jsp" target="main"><img src="images/header.gif" width="184" height="51" alt="Jive论坛管理" border="0"></a></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
        ><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
        ><a href="sidebar.jsp?sidebar=forum" target="sidebar"><img src="images/tab_forums_<%= (tab.equals("forum"))?"on":"off" %>.gif" width="113" height="25" border="0"></a
        <%--><a href="sidebar.jsp?sidebar=moderation" onclick="location.href='header.jsp?tab=moderation';" target="sidebar"><img src="images/tab_moderation_<= (tab.equals("moderation"))?"on":"off" >.gif" width="113" height="25" border="0"></a--%>
        ><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
        ></td>
    <td width="96%"><img src="images/tab_stretch.gif" width="100%" height="25" border="0"></td>
    <td width="2%" background="images/tab_stretch.gif"><a href="index.jsp?logout=true"><font face="arial,helvetica,sans-serif" size="-1">退出</font></a></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>
