📄 my_index.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<h1>我的</h1>
<div class="msgtabs"><strong>最近的五条主题</strong></div>
<table cellspacing="0" cellpadding="0" width="100%">
<thead><tr><td style="width: 50%">标题</td><td class="time">版块</td><td class="time">最后发表</td><td width="40">状态</td></tr></thead>
<tbody>
<c:forEach items="${threadlists}" var="threadlist"><tr>
<td><c:if test="${threadlist.displayorder>=0}"><c:choose><c:when test="${viewthreadurl}"><a href="thread-${threadlist.tid}-1-1.html" target="_blank">${threadlist.subject}</a></c:when><c:otherwise><a href="viewthread.jsp?tid=${threadlist.tid}" target="_blank">${threadlist.subject}</a></c:otherwise></c:choose></c:if><c:if test="${threadlist.displayorder<0}">${threadlist.subject}</c:if></td>
<td><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${threadlist.fid}-1.html" target="_blank">${threadlist.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${threadlist.fid}" target="_blank">${threadlist.name}</a></c:otherwise></c:choose></td>
<td><cite><a href="redirect.jsp?tid=${threadlist.tid}&goto=lastpost#lastpost">${threadlist.lastpost}</a><br />by <c:choose><c:when test="${threadlist.lastposter!=''}"><c:choose><c:when test="${spaceurlurl}"><a href="space-username-${threadlist.lastposterenc}.html" target="_blank">${threadlist.lastposter}</a></c:when><c:otherwise><a href="space.jsp?username=${threadlist.lastposterenc}" target="_blank">${threadlist.lastposter}</a></c:otherwise></c:choose></c:when><c:otherwise>匿名</c:otherwise></c:choose></cite></td>
<td><c:choose><c:when test="${threadlist.displayorder==-1}">回收站</c:when><c:when test="${threadlist.displayorder==-2}">待审核</c:when><c:when test="${threadlist.close>=1}">关闭</c:when><c:otherwise>正常</c:otherwise></c:choose></td>
</tr></c:forEach>
<c:if test="${empty threadlists}"><tr><td colspan="4">本版块或指定的范围内尚无主题。</td></tr></c:if>
</tbody>
</table>
<div class="msgtabs"><strong>最近的五条回复</strong></div>
<table cellspacing="0" cellpadding="0" width="100%">
<thead><tr><td style="width: 50%">所在主题</td><td class="time">版块</td><td class="time">最后发表</td><td width="40">状态</td></tr></thead>
<tbody>
<c:forEach items="${postlists}" var="postlist"><tr>
<td><c:if test="${postlist.invisible==0}"><a href="redirect.jsp?goto=findpost&pid=${postlist.pid}&ptid=${postlist.tid}" target="_blank"><c:if test="${postlist.subject!=''}">${postlist.subject}</c:if><c:if test="${postlist.subject==''}">无标题</c:if></a></c:if><c:if test="${postlist.invisible!=0}"><c:if test="${postlist.subject!=''}">${postlist.subject}</c:if><c:if test="${postlist.subject==''}">无标题</c:if></c:if></td>
<td><c:choose><c:when test="${forumdisplayurl}"><a href="forum-${postlist.fid}-1.html" target="_blank">${postlist.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${postlist.fid}" target="_blank">${postlist.name}</a></c:otherwise></c:choose></td>
<td><cite><a href="redirect.jsp?tid=${postlist.tid}&goto=lastpost#lastpost">${postlist.lastpost}</a><br />by <c:if test="${postlist.lastposter!=''}"><c:choose><c:when test="${spaceurlurl}"><a href="space-username-${postlist.lastposterenc}.html" target="_blank">${postlist.lastposter}</a></c:when><c:otherwise><a href="space.jsp?username=${postlist.lastposterenc}" target="_blank">${postlist.lastposter}</a></c:otherwise></c:choose></c:if><c:if test="${postlist.lastposter==''}">匿名</c:if></cite></td>
<td>${postlist.invisible==-1||postlist.invisible==-2?"待删除":"正常"}</td>
</tr></c:forEach>
<c:if test="${empty postlists}"><tr><td colspan="4">本版块或指定的范围内尚无主题。</td></tr></c:if>
</tbody>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -