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

📄 digest.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/jrun-tag.tld" prefix="jrun"%>
<jsp:include flush="true" page="header.jsp" />
<div id="nav"><a href="${settings.indexname}">${settings.bbname}</a> &raquo; 精华区</div>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
<div class="mainbox threadlist">
	<h1>精华区</h1>
	<table summary="精华区" cellspacing="0" cellpadding="0">
		<thead><tr><td class="icon">&nbsp;</td><th>标题</th><td lang="forum">版块</td><td class="author">作者</td><td class="nums">回复/查看</td><td class="lastpost">最后发表</td></tr></thead>
		<c:forEach items="${threadlist}" var="thread">
		<tbody>
			<tr>
				<td class="icon"><c:choose><c:when test="${thread.special==1}"><img src="${styles.IMGDIR}/pollsmall.gif" alt="投票" /></c:when><c:when test="${thread.special==2}"><img src="${styles.IMGDIR}/tradesmall.gif" alt="商品" /></c:when><c:when test="${thread.special==3}"><c:choose><c:when test="${thread.price>0}"><img src="${styles.IMGDIR}/rewardsmall.gif" alt="悬赏" /></c:when><c:when test="${thread.price<0}"><img src="${styles.IMGDIR}/rewardsmallend.gif" alt="悬赏已解决" /></c:when></c:choose></c:when><c:when test="${thread.special==4}"><img src="${styles.IMGDIR}/activitysmall.gif" alt="活动" /></c:when><c:when test="${thread.special==5}"><img src="${styles.IMGDIR}/debatesmall.gif" alt="辩论" /></c:when><c:when test="${thread.special==6}"><img src="${styles.IMGDIR}/videosmall.gif" alt="视频" /></c:when><c:otherwise><c:choose><c:when test="${icons[thread.iconid]!=null}"><img src="images/icons/${icons[thread.iconid]}" alt="Icon${thread.iconid}" class="icon" /></c:when><c:otherwise>&nbsp;</c:otherwise></c:choose></c:otherwise></c:choose></td>
				<th>
				<label>
				<c:if test="${thread.special==1}"><img src="${styles.IMGDIR}/pollsmall.gif" alt="投票" /></c:if>
				<c:if test="${thread.special==2}"><img src="${styles.IMGDIR}/tradesmall.gif" alt="商品" /></c:if>
				<c:if test="${thread.special==3}"><c:choose><c:when test="${thread.price>0}"><img src="${styles.IMGDIR}/rewardsmall.gif" alt="悬赏" /></c:when><c:when test="${thread.price<0}"><img src="${styles.IMGDIR}/rewardsmallend.gif" alt="悬赏已解决" /></c:when></c:choose></c:if>
				<c:if test="${thread.special==4}"><img src="${styles.IMGDIR}/activitysmall.gif" alt="活动" /></c:if>
				<c:if test="${thread.attachment>0}"><img src="images/attachicons/common.gif" alt="附件" /></c:if>
				<c:if test="${thread.displayorder==1||thread.displayorder==2||thread.displayorder==3}"><img src="${styles.IMGDIR}/pin_${thread.displayorder}.gif" alt="${threadsticky[3-(thread.displayorder)]}" /></c:if>
				<c:if test="${thread.digest > 0}"><img src="${styles.IMGDIR}/digest_${thread.digest}.gif" alt="精华 ${thread.digest}" /></c:if>
				</label>
				<c:choose><c:when test="${viewthreadurl}"><a href="thread-${thread.tid}-1-1.html" target="_blank" ${thread.highlight}>${thread.subject}</a></c:when><c:otherwise><a href="viewthread.jsp?tid=${thread.tid}&highlight=${index.keywords}" target="_blank" ${thread.highlight}>${thread.subject}</a></c:otherwise></c:choose>
				<c:if test="${thread.multipage!=null&&thread.multipage!=''}"><span class="threadpages">${thread.multipage}</span></c:if>
				</th>
				<td class="forum"><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${thread.fid}-1.html">${thread.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${thread.fid}">${thread.name}</a></c:otherwise></c:choose></td>
				<td class="author"><cite><c:choose><c:when test="${thread.authorid>0&&thread.author!=''}"><c:choose><c:when test="${spaceurlurl}"><a href="space-uid-${thread.authorid}.html">${thread.author}</a></c:when><c:otherwise><a href="space.jsp?uid=${thread.authorid}">${thread.author}</a></c:otherwise></c:choose></c:when><c:otherwise><c:choose><c:when test="${ismoderator}"><c:choose><c:when test="${spaceurlurl}"><a href="space-uid-${thread.authorid}.html">匿名</a></c:when><c:otherwise><a href="space.jsp?uid=${thread.authorid}">匿名</a></c:otherwise></c:choose></c:when><c:otherwise>匿名</c:otherwise></c:choose></c:otherwise></c:choose></cite><em>${thread.dateline}</em></td>
				<td class="nums"><strong>${thread.replies}</strong> / <em>${thread.views}</em></td>
				<td class="lastpost"><em><a href="redirect.jsp?tid=${thread.tid}&goto=lastpost&highlight=${index.keywords}#lastpost">${thread.lastpost}</a></em><cite>by <c:choose><c:when test="${thread.lastposter!=''}"><c:choose><c:when test="${spaceurlurl}"><a href="space-username-<jrun:encoding value="${thread.lastposter}"/>.html">${thread.lastposter}</a></c:when><c:otherwise><a href="space.jsp?username=<jrun:encoding value="${thread.lastposter}"/>">${thread.lastposter}</a></c:otherwise></c:choose></c:when><c:otherwise>匿名</c:otherwise></c:choose></cite></td>
			</tr>
		</tbody>
		</c:forEach>
	</table>
</div>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
<form method="post" action="digest.jsp">
	<input type="hidden" name="formhash" value="${FORMHASH}" />
	<div class="box">
		<h4>以下版块精华区</h4>
		<ul class="userlist"><c:forEach items="${forumslist}" var="forum"><li><label><input class="checkbox" type="checkbox" name="forums[]" value="${forum.key}" ${forumcheck[forum.key]}/> ${forum.value}</label></li></c:forEach></ul>
	</div>
	<div id="footfilter" class="box">
		<label>关键字: <input type="text" size="15" name="keyword" value="${keyword}" /></label>
		&nbsp;&nbsp;<label>作者: <input type="text" size="15" name="author" value="${author}" /></label>
		&nbsp;&nbsp;<label>排序方式: <select name="order"><option value="digest" ${ordercheck_digest}>级别</option><option value="replies" ${ordercheck_replies}>回复</option><option value="views" ${ordercheck_views}>查看</option><option value="dateline" ${ordercheck_dateline}>发布时间</option><option value="lastpost" ${ordercheck_lastpost}>最后发表</option></select></label>
		&nbsp;&nbsp; <button class="submit" type="submit" value="true">搜索</button>
	</div>
</form>
<jsp:include flush="true" page="footer.jsp" />

⌨️ 快捷键说明

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