📄 forums_threads.jsp
字号:
<%@ page language="java" import="java.util.*" 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.showForum}">
<p>论坛板块<br />
<c:forEach items="${valueObject.forumList}" var="forum">
<a href="<%=encodIndex %>?action=forum&fid=${forum.fid }">${forum.name }</a><br/>
</c:forEach>
${valueObject.multipage}
</p>
</c:when>
<c:otherwise>
<p>${valueObject.forumName }<br />
<a href="<%=encodIndex %>?action=post&do=newthread&fid=${valueObject.forumId }">发新话题</a>
<a href="<%=encodIndex %>?action=forum&do=digest&fid=${valueObject.forumId }">精华</a><br /><br />
帖子列表<a href="<%=encodIndex %>?action=forum&fid=${valueObject.forumId }">刷新</a><br />
<c:forEach items="${valueObject.threadList}" var="thread">
<a href="<%=encodIndex %>?action=thread&tid=${thread.tid}">#${thread.number } ${thread.subject }</a>${thread.prefix }<br />
<small>[${thread.author } 回${thread.replies } 点${thread.views }</small><br />
</c:forEach>
<c:if test="${valueObject.subfrums!='' }">
<br /><br />子版块列表<br />
${valueObject.subfrums }
</c:if>
<c:if test="${valueObject.allowsearch}">
<br /><br /><a href="<%=encodIndex %>?action=post&do=newthread&fid=${valueObject.forumId }">发新话题</a><br />
<a href="<%=encodIndex %>?action=my&do=fav&favid=${valueObject.forumId }&type=forum">设为我的收藏</a><br />
<input type="text" name="srchtxt" value="" size="6" format="M*m" emptyok="true"/>
<anchor title="submit">论坛搜索
<go method="post" href="<%=encodIndex %>?action=search&srchfid=${valueObject.forumId }&do=submit&sid=$sid">
<postfield name="srchtxt" value="$(srchtxt)" />
</go></anchor><br />
</c:if>
</p>
</c:otherwise>
</c:choose>
<jsp:include page="footer.jsp"></jsp:include>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -