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

📄 header.jsp

📁 飞鱼论坛 (java)
💻 JSP
字号:

<%--
minhnn: this is cause problem due to Tomcat 4 bug
<%@ page pageEncoding="utf-8"%>
--%>
<%@ page import="fiyuforum.fiyuForumConfig" %>
<%@ page import="fiyuforum.fiyuForumConstant" %>
<%@ page import="fiyuforum.SendMessage"%>


<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
	 <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td rowspan="2"> <a href="<%=fiyuForumConfig.getLogoUrl()%>"><img src="<%=contextPath%>/fiyuplugin/fiyuforum/images/logo.gif"  border="0" alt="fiyuForum Homepage"></a> 
          </td>
          <td width="100%" height="25" align="right" valign="top" nowrap class="welcomeHeader"> 
            <%if (onlineUser.isMember()) {%>
            欢迎 <font color="#FF0000">
            <%=memberName%>
            <%
SendMessage Send=new SendMessage();
String checknewMessage=Send.CheckMessage(memberName);
String MessageAction="";
String MessageAction2="";
if(checknewMessage.equals("yes"))
{
MessageAction="您有新的短消息!|&nbsp;&nbsp;";
MessageAction2="window.open ('ViewMessage?action=viewmessage&sender="+memberName+"', 'newwindow', 'height=200, width=600, top=0, left=0, toolbar=no, menubar=no, scrollbars=auto, resizable=no,location=no, status=no')";
}else{
}
%>
            <script language="JavaScript">
<!--
<%=MessageAction2%>
-->
</script>
            </font>&nbsp;&nbsp;|&nbsp;&nbsp;
            <%=MessageAction%>
            <a href="logout" class="welcomeHeader">登出</a> 
            <%} else if ((memberName!=null) && (memberName.length()>0)) {%>
            欢迎 
            <%=memberName%>
            &nbsp;&nbsp;|&nbsp; <a href="login" class="welcomeHeader">登入</a> 
            <%} else {%>
            欢迎 
            <%=fiyuForumConfig.getDefaultGuestName()%>
            &nbsp;&nbsp;| <a href="login" class="welcomeHeader">登入</a> 
            <%}%>
            &nbsp;&nbsp; </td>
        </tr>
        <tr> 
          <td height="35" valign="top"> <form action="searchprocess">
              <table class="tborder" cellspacing="1" cellpadding="2" align="right">
                <tr class="topmenu"> 
                  <td width="179" align="left" valign="top" nowrap>&nbsp; <img src="<%=request.getContextPath()%>/fiyuplugin/fiyuforum/images/icon/search.gif" alt="搜寻" hspace="0" vspace="0" border="0" align="bottom"> 
                    <input type="text" size="10" name="key"> <input type="button" value="搜寻" onclick="disabled=true; submit();" class="mainoption">
                    &nbsp; </td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table>
     </tr>
</table>

<table class="tborder" width="95%" cellspacing="1" cellpadding="2" align="center">
  <tr class="topmenu">
    <td align="left" nowrap>&nbsp;
      <a href="index" class="topmenu">首页</a>&nbsp;|&nbsp;
      <%--
      <a href="listforums" class="topmenu">所有讨论区</a>&nbsp;|&nbsp;
      --%>
      <a href="listrecentthreads" class="topmenu">最新话题</a>&nbsp;|&nbsp;
      <a href="listonlineusers" class="topmenu">看谁在线上</a>&nbsp;|&nbsp;
      <a href="listmembers" class="topmenu">使用者列表</a>&nbsp;|&nbsp;
      <a href="registermember" class="topmenu">注册新使用者</a>&nbsp;|&nbsp;
      <a href="myprofile" class="topmenu">个人资料</a>&nbsp;|&nbsp;
	<a href="SendMessage?action=viewallmessage" class="topmenu">短信中心</a> &nbsp;|&nbsp;
      <a href="search" class="topmenu">搜寻</a>&nbsp;|&nbsp;
      <a href="help" class="topmenu">说明</a>
      <%if (fiyuForumConfig.getEnableRSS()) {%>
      &nbsp;|&nbsp;<a href="rss" class="topmenu"><img src="<%=request.getContextPath()%>/fiyuplugin/fiyuforum/images/icon/xml.gif" alt="RSS Global Content Feed" hspace="0" vspace="0" border="0" align="bottom"></a>
      <% } %>
    </td>
  </tr>
</table>

⌨️ 快捷键说明

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