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

📄 addpostsuccess.jsp

📁 飞鱼论坛 (java)
💻 JSP
字号:
<%--
 - $Author: 飞鱼
 - $Revision: 1.22 $
 - $Date: 2003/02/01 09:41:34 $
 - http://www.hnedu.net/fiyu 
  --%>
<%@ page contentType="text/html;charset=utf-8" %>
<%@ page errorPage="fatalerror.jsp"%>
<%@ page import="fiyucore.util.ParamUtil" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ include file="inc_common.jsp"%>
<%
String forumID  = ParamUtil.getAttribute(request, "ForumID");
String threadID = ParamUtil.getAttribute(request, "ThreadID");
String postID = ParamUtil.getAttribute(request, "PostID");
String offset   = "0";// we cannot know the offset, so set it to 0 (first page)
boolean attachMore = ((Boolean)request.getAttribute("AttachMore")).booleanValue();
boolean addFavoriteThread = ((Boolean)request.getAttribute("AddFavoriteParentThread")).booleanValue();
boolean addWatchThread = ((Boolean)request.getAttribute("AddWatchParentThread")).booleanValue();

String viewthreadLink = "viewthread?thread=" + threadID + "&lastpage=yes";
String attachLink = "addattachment?post=" + postID + "&offset=" + offset;
String defaultLink = viewthreadLink;
if (attachMore) {
    defaultLink = attachLink;
}
%>
<html >
<head>
  <title><%=fiyuForumConfig.getWebName()%> - 发表文章成功</title>
<%@ include file="/fiyuplugin/fiyuforum/meta.jsp"%>
<meta http-equiv='refresh' content='3; url=<%=defaultLink%>'>
</head>
<link href="<%=contextPath%>/fiyuplugin/fiyuforum/css/style.css" rel="stylesheet" type="text/css">
<body leftmargin="0" topmargin="0">
<%@ include file="header.jsp"%>
<br/>

<table width="95%" align="center">
  <tr class="nav">
    <td><img src="<%=contextPath%>/fiyuplugin/fiyuforum/images/nav.gif"></td>
    <td width="100%" nowrap>
    <a class="nav" href="index"><%=fiyuForumConfig.getWebName()%></a>&nbsp;&raquo;&nbsp;
    发表文章成功
    </td>
  </tr>
</table>
<br/>

<table class="tborder" width="95%" cellspacing="1" cellpadding="3" align="center">
  <tr class="theader">
    <td>请选择下列连接:</td>
  </tr>
<% boolean odd = true; %>
<% if (attachMore) { %>
  <tr class="trow1">
    <td><b>&raquo;&nbsp;</b><a class="command" href="<%=attachLink%>">返回附加文件网页</a> 
      (自动(3秒钟后))</td>
  </tr>
  <tr class="trow2">
    <td><b>&raquo;&nbsp;</b><a class="command" href="<%=viewthreadLink%>">返回你最新发表的文章</a></td>
  </tr>
  <% odd = true; %>
<% } else { %>
  <tr class="trow1">
    <td><b>&raquo;&nbsp;</b><a class="command" href="<%=viewthreadLink%>">返回你最新发表的文章</a> 
      (自动(3秒钟后))</td>
  </tr>
  <% odd = false; %>
<% } %>
<% if (addFavoriteThread) { %>
  <% if (odd) { %>
  <tr class="trow1">
  <% } else { %>
  <tr class="trow2">
  <% } %>
    <td><b>&raquo;&nbsp;</b><a class="command" href="myfavoritethread">回到我的文章收藏</a></td>
  </tr>
  <% odd = !odd; %>
<% } %>
<% if (addWatchThread) { %>
  <% if (odd) { %>
  <tr class="trow1">
  <% } else { %>
  <tr class="trow2">
  <% } %>
    <td><b>&raquo;&nbsp;</b><a class="command" href="mywatch">返回我的追踪</a></td>
  </tr>
  <% odd = !odd; %>
<% } %>
<% if (odd) { %>
  <tr class="trow1">
    <td><b>&raquo;&nbsp;</b><a class="command" href="listthreads?forum=<%=request.getAttribute("ForumID")%>">返回话题列表</a></td>
  </tr>
  <tr class="trow2">
    <td><b>&raquo;&nbsp;</b><a class="command" href="index">返回讨论区</a></td>
  </tr>
<% } else { %>
  <tr class="trow2">
    <td><b>&raquo;&nbsp;</b><a class="command" href="listthreads?forum=<%=request.getAttribute("ForumID")%>">返回话题列表</a></td>
  </tr>
  <tr class="trow1">
    <td><b>&raquo;&nbsp;</b><a class="command" href="index">返回讨论区</a></td>
  </tr>
<% } %>
</table>

<br/>
<%@ include file="footer.jsp"%>
</body>
</html>

⌨️ 快捷键说明

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