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

📄 thread.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8" contentType="text/vnd.wap.wml; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String encodIndex = response.encodeURL("index.jsp");
%>
<jsp:include page="header.jsp"></jsp:include>
<c:choose>
<c:when test="${valueObject.viewThread}">
<p>标题:${valueObject.subject }<br />
作者:<a href="<%=encodIndex %>?action=my&amp;uid=${valueObject.authorid }">${valueObject.author }</a><br />
时间:${valueObject.dateline }<br /><br />
${valueObject.threadposts }
<c:if test="${valueObject.existNextPage}">
<br /><a href="<%=encodIndex %>?action=thread&amp;tid=${valueObject.tid }&amp;offset=${valueObject.offset_next }">下页</a> 
</c:if>
<c:if test="${valueObject.existLastPage}">
<a href="<%=encodIndex %>?action=thread&amp;tid=${valueObject.tid }&amp;offset=${valueObject.offset_last }">上页</a>
</c:if>
<br />
<br /><a href="<%=encodIndex %>?action=post&amp;do=reply&amp;fid=${valueObject.fid }&amp;tid=${valueObject.tid }">回复本帖</a>|<a href="<%=encodIndex %>?action=post&amp;do=newthread&amp;fid=${valueObject.fid }">发新话题</a>
<c:if test="${valueObject.existPosts}">
<br /><br />回复列表 (${valueObject.replies})<br />
<c:forEach items="${valueObject.postsList}" var="post">
<a href="<%=encodIndex %>?action=thread&amp;do=reply&amp;tid=${valueObject.tid }&amp;pid=${post.pid }">#${post.number } ${post.message }</a>
<br />[${post.author } ${post.dateline }]<br />
</c:forEach>
</c:if>

</c:when>
<c:otherwise>
<p>回复列表<a href="<%=encodIndex %>?action=thread&amp;tid=${valueObject.tid }">${valueObject.subject }</a><br />
作者:
<c:choose>
<c:when test="${valueObject.postsInfo.anonymous}">
匿名
</c:when>
<c:otherwise>
<a href="<%=encodIndex %>?action=my&amp;uid=${valueObject.postsInfo.authorid}">${valueObject.postsInfo.author}</a>
</c:otherwise>
</c:choose>
<br />
<br />${valueObject.postsInfo.message}
</c:otherwise>
</c:choose>
<br />
<c:if test="${valueObject.allowreply}">
<br />
<input type="text" name="message" value="" size="6" emptyok="true"/>
<anchor title="提交">快速回复
<go method="post" href="<%=encodIndex %>?action=post&amp;do=reply&amp;fid=${valueObject.fid }&amp;tid=${valueObject.tid }&amp;sid=${valueObject.sid }">
<postfield name="message" value="$(message)"/>
<postfield name="formhash" value="${valueObject.formhash }" />
</go></anchor><br />
<a href="<%=encodIndex %>?action=my&amp;do=fav&amp;favid=${valueObject.tid }&amp;type=thread">设为我的收藏</a><br />
</c:if>
<br />&lt;&lt;<a href="<%=encodIndex %>?action=goto&amp;do=next&amp;tid=${valueObject.tid }&amp;fid=${valueObject.fid }">下一主题</a>
<br />&gt;&gt;<a href="<%=encodIndex %>?action=goto&amp;do=last&amp;tid=${valueObject.tid }&amp;fid=${valueObject.fid }">上一主题</a><br />
<a href="<%=encodIndex %>?action=forum&amp;fid=${valueObject.fid }">返回板块</a></p>
<jsp:include page="footer.jsp"></jsp:include>

⌨️ 快捷键说明

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