📄 thread.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&uid=${valueObject.authorid }">${valueObject.author }</a><br />
时间:${valueObject.dateline }<br /><br />
${valueObject.threadposts }
<c:if test="${valueObject.existNextPage}">
<br /><a href="<%=encodIndex %>?action=thread&tid=${valueObject.tid }&offset=${valueObject.offset_next }">下页</a>
</c:if>
<c:if test="${valueObject.existLastPage}">
<a href="<%=encodIndex %>?action=thread&tid=${valueObject.tid }&offset=${valueObject.offset_last }">上页</a>
</c:if>
<br />
<br /><a href="<%=encodIndex %>?action=post&do=reply&fid=${valueObject.fid }&tid=${valueObject.tid }">回复本帖</a>|<a href="<%=encodIndex %>?action=post&do=newthread&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&do=reply&tid=${valueObject.tid }&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&tid=${valueObject.tid }">${valueObject.subject }</a><br />
作者:
<c:choose>
<c:when test="${valueObject.postsInfo.anonymous}">
匿名
</c:when>
<c:otherwise>
<a href="<%=encodIndex %>?action=my&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&do=reply&fid=${valueObject.fid }&tid=${valueObject.tid }&sid=${valueObject.sid }">
<postfield name="message" value="$(message)"/>
<postfield name="formhash" value="${valueObject.formhash }" />
</go></anchor><br />
<a href="<%=encodIndex %>?action=my&do=fav&favid=${valueObject.tid }&type=thread">设为我的收藏</a><br />
</c:if>
<br /><<<a href="<%=encodIndex %>?action=goto&do=next&tid=${valueObject.tid }&fid=${valueObject.fid }">下一主题</a>
<br />>><a href="<%=encodIndex %>?action=goto&do=last&tid=${valueObject.tid }&fid=${valueObject.fid }">上一主题</a><br />
<a href="<%=encodIndex %>?action=forum&fid=${valueObject.fid }">返回板块</a></p>
<jsp:include page="footer.jsp"></jsp:include>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -