📄 search_result.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="foruminfo">
<div id="nav"><a href="${settings.indexname}"> ${settings.bbname} </a> » 搜索</div>
</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"> </td><th>标题</th><td class="forum">版块</td><td class="author">作者</td><td class="nums">回复/查看</td><td class="lastpost">最后发表</td></tr></thead>
<c:choose>
<c:when test="${threadlist!=null}">
<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> </c:otherwise></c:choose></c:otherwise>
</c:choose>
</td>
<th>
<label><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>
<a href="viewthread.jsp?tid=${thread.tid}&highlight=${index.keywords}" target="_blank" ${thread.highlight}>${thread.subject}</a>
<c:if test="${thread.attachment>0}"><img src="images/attachicons/common.gif" alt="附件" /></c:if>
<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><jrun:showTime timeInt="${thread.dateline}" isView="time" type="${dateformat}" timeoffset="${timeoffset}"/></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"><jrun:showTime timeInt="${thread.lastpost}" isView="time" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/></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>
</c:when>
<c:otherwise><tr><td colspan="6">对不起,没有找到匹配结果。</td></tr></c:otherwise>
</c:choose>
</table>
</div>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -