📄 space.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<jsp:include flush="true" page="space_header.jsp" />
<c:choose>
<c:when test="${memberspace.side==1}">
<div class="outer">
<table class="main" border="0" cellspacing="0">
<tr>
<td id="main_layout0">
<c:forEach items="${disleft}" var="left">
<c:if test="${left=='userinfo'}">
<jsp:include flush="true" page="space_module_userinfo.jsp" />
</c:if>
<c:if test="${left=='calendar'}">
<jsp:include flush="true" page="space_module_calendar.jsp" />
</c:if>
<c:if test="${left=='myreplies'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
回复
</div>
<div class="more">
<a href="space.jsp?action=myreplies&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myreplies">
<div class="side">
<ul>
<c:forEach items="${leftMap.myreplies}" var="replies">
<li><c:choose><c:when test="${viewthreadurl}"><a href="thread-${replies.tid}-1-1.html" target="_blank"></c:when><c:otherwise><a href="viewthread.jsp?tid=${replies.tid}" target="_blank"></c:otherwise></c:choose>
<c:choose>
<c:when test="${replies.special==1}"><img src="${styles.IMGDIR}/pollsmall.gif" alt="投票" /></c:when>
<c:when test="${replies.special==2}"><img src="${styles.IMGDIR}/tradesmall.gif" alt="商品" /></c:when>
<c:when test="${replies.special==3}">
<c:choose>
<c:when test="${replies.price>0}"><img src="${styles.IMGDIR}/rewardsmall.gif" alt="悬赏" /></c:when>
<c:when test="${replies.price<0}"><img src="${styles.IMGDIR}/rewardsmallend.gif" alt="悬赏已解决" /></c:when>
</c:choose>
</c:when>
<c:when test="${replies.special==4}"><img src="${styles.IMGDIR}/activitysmall.gif" alt="活动" /></c:when>
<c:when test="${replies.special==5}"><img src="${styles.IMGDIR}/debatesmall.gif" alt="辩论" /></c:when>
<c:when test="${replies.special==6}"><img src="${styles.IMGDIR}/videosmall.gif" alt="视频" /></c:when>
</c:choose>
<c:if test="${replies.isattc}">
<img src="images/attachicons/common.gif" alt="附件" border="0" />
</c:if>${replies.subject}<c:if test="${replies.isnew}">
<a href="redirect.jsp?tid=${replies.tid}&goto=newpost#newpost" target="_blank"><img src="${styles.IMGDIR}/firstnew.gif" border="0" alt="" /> </a>
</c:if> </a>
</li>
</c:forEach>
</ul>
</div>
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='myfavforums'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
收藏的版块
</div>
<div class="more">
<a href="space.jsp?action=myfavforums&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myfavforums">
<div class="side">
<ul>
<c:forEach items="${leftMap.myfavforums}" var="forums">
<li>
<c:choose><c:when test="${forumdisplayurl}"><a href="forum-${forums.fid}-1.html" target="_blank">${forums.name}</a></c:when><c:otherwise><a href="forumdisplay.jsp?fid=${forums.fid}" target="_blank">${forums.name}</a></c:otherwise></c:choose>
</li>
</c:forEach>
</ul>
</div>
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='myfriends'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
好友
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myfriends">
<c:forEach items="${leftMap.myfriends}" var="myfried">
<div class="friend">
<ul>
<li>
<a href="space.jsp?uid=${myfried.uid}" target="_blank">${myfried.username}</a>
</li>
</ul>
</div>
<div class="space">
<a href="space.jsp?uid=${myfried.uid}" target="_blank">${myfried.username}的个人空间</a>
</div>
</c:forEach>
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='myfavthreads'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
收藏的帖子
</div>
<div class="more">
<a href="space.jsp?action=myfavthreads&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myfavthreads">
<div class="side">
<ul>
<c:forEach items="${leftMap.myfavthreads}" var="mythread">
<li>
<c:choose><c:when test="${viewthreadurl}"><a href="thread-${mythread.tid}-1-1.html" target="_blank"></c:when><c:otherwise><a href="viewthread.jsp?tid=${mythread.tid}" target="_blank"></c:otherwise></c:choose>
<c:choose>
<c:when test="${mythread.special==1}"><img src="${styles.IMGDIR}/pollsmall.gif" alt="投票" /></c:when>
<c:when test="${mythread.special==2}"><img src="${styles.IMGDIR}/tradesmall.gif" alt="商品" /></c:when>
<c:when test="${mythread.special==3}">
<c:choose>
<c:when test="${mythread.price>0}"><img src="${styles.IMGDIR}/rewardsmall.gif" alt="悬赏" /></c:when>
<c:when test="${mythread.price<0}"><img src="${styles.IMGDIR}/rewardsmallend.gif" alt="悬赏已解决" /></c:when>
</c:choose>
</c:when>
<c:when test="${mythread.special==4}"><img src="${styles.IMGDIR}/activitysmall.gif" alt="活动" /></c:when>
<c:when test="${mythread.special==5}"><img src="${styles.IMGDIR}/debatesmall.gif" alt="辩论" /></c:when>
<c:when test="${mythread.special==6}"><img src="${styles.IMGDIR}/videosmall.gif" alt="视频" /></c:when>
</c:choose>
<c:if test="${mythread.attachment>0}">
<img src="images/attachicons/common.gif" border="0" alt="附件" />
</c:if> ${mythread.subject}
<c:if test="${mythread.lastpost>member.lastvisit}">
<a href="redirect.jsp?tid=${mythread.tid}&goto=newpost#newpost" target="_blank"><img src="${styles.IMGDIR}/firstnew.gif" border="0" alt="" /> </a>
</c:if> </a> (${mythread.replies})
</li>
</c:forEach>
</ul>
</div>
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='myvideos'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
视频
</div>
<div class="more">
<a href="space.jsp?action=myvideos&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myvideos">
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='myblogs'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
文集
</div>
<div class="more">
<a href="space.jsp?action=myblogs&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myblogs">
<div class="side">
<ul>
<c:forEach items="${leftMap.myblogs}" var="myblogs">
<li>
<c:choose><c:when test="${viewthreadurl}"><a href="thread-${myblogs.tid}-1-1.html" target="_blank"></c:when><c:otherwise><a href="viewthread.jsp?tid=${myblogs.tid}" target="_blank"></c:otherwise></c:choose>
<c:choose>
<c:when test="${myblogs.special==1}"><img src="${styles.IMGDIR}/pollsmall.gif" alt="投票" /></c:when>
<c:when test="${myblogs.special==2}"><img src="${styles.IMGDIR}/tradesmall.gif" alt="商品" /></c:when>
<c:when test="${myblogs.special==3}">
<c:choose>
<c:when test="${myblogs.price>0}"><img src="${styles.IMGDIR}/rewardsmall.gif" alt="悬赏" /></c:when>
<c:when test="${myblogs.price<0}"><img src="${styles.IMGDIR}/rewardsmallend.gif" alt="悬赏已解决" /></c:when>
</c:choose>
</c:when>
<c:when test="${myblogs.special==4}"><img src="${styles.IMGDIR}/activitysmall.gif" alt="活动" /></c:when>
<c:when test="${myblogs.special==5}"><img src="${styles.IMGDIR}/debatesmall.gif" alt="辩论" /></c:when>
<c:when test="${myblogs.special==6}"><img src="${styles.IMGDIR}/videosmall.gif" alt="视频" /></c:when>
</c:choose>
<c:if test="${myblogs.isattc}">
<img src="images/attachicons/common.gif" alt="附件" border="0" />
</c:if>${myblogs.subject}
<c:if test="${myblogs.isnew}">
<a href="redirect.jsp?tid=${myblogs.tid}&goto=newpost#newpost" target="_blank"><img src="${styles.IMGDIR}/firstnew.gif" border="0" alt="" /></a>
</c:if> </a>
</li>
</c:forEach>
</ul>
</div>
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='mythreads'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
主题
</div>
<div class="more">
<a href="space.jsp?action=mythreads&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_mythreads">
<div class="side">
<ul>
<c:forEach items="${leftMap.mythreads}" var="mythreads">
<li>
<c:choose><c:when test="${viewthreadurl}"><a href="thread-${mythreads.tid}-1-1.html" target="_blank"></c:when><c:otherwise><a href="viewthread.jsp?tid=${mythreads.tid}" target="_blank"></c:otherwise></c:choose>
<c:choose>
<c:when test="${mythreads.special==1}"><img src="${styles.IMGDIR}/pollsmall.gif" alt="投票" /></c:when>
<c:when test="${mythreads.special==2}"><img src="${styles.IMGDIR}/tradesmall.gif" alt="商品" /></c:when>
<c:when test="${mythreads.special==3}">
<c:choose>
<c:when test="${mythreads.price>0}"><img src="${styles.IMGDIR}/rewardsmall.gif" alt="悬赏" /></c:when>
<c:when test="${mythreads.price<0}"><img src="${styles.IMGDIR}/rewardsmallend.gif" alt="悬赏已解决" /></c:when>
</c:choose>
</c:when>
<c:when test="${mythreads.special==4}"><img src="${styles.IMGDIR}/activitysmall.gif" alt="活动" /></c:when>
<c:when test="${mythreads.special==5}"><img src="${styles.IMGDIR}/debatesmall.gif" alt="辩论" /></c:when>
<c:when test="${mythreads.special==6}"><img src="${styles.IMGDIR}/videosmall.gif" alt="视频" /></c:when>
</c:choose>
<c:if test="${mythreads.isattc}">
<img src="images/attachicons/common.gif" alt="附件" border="0" />
</c:if>${mythreads.subject}<c:if test="${mythreads.isnew}">
<a href="redirect.jsp?tid=${mythreads.tid}&goto=newpost#newpost" target="_blank"><img src="${styles.IMGDIR}/firstnew.gif" border="0" alt="" /></a>
</c:if> </a>
</li>
</c:forEach>
</ul>
</div>
</div>
</td>
</tr>
</table>
</c:if>
<c:if test="${left=='myrewards'}">
<table class="module" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="header">
<div class="title">
悬赏
</div>
<div class="more">
<a href="space.jsp?action=myrewards&uid=${member.uid}">更多</a>
</div>
</td>
</tr>
<tr>
<td>
<div id="module_myrewards">
<div class="side">
<ul>
<c:forEach items="${leftMap.myrewards}" var="myrewards">
<li>
<c:choose><c:when test="${viewthreadurl}"><a href="thread-${myrewards.tid}-1-1.html" target="_blank"></c:when><c:otherwise><a href="viewthread.jsp?tid=${myrewards.tid}" target="_blank"></c:otherwise></c:choose>
<c:if test="${myrewards.isattc}">
<img src="images/attachicons/common.gif" alt="附件" border="0" />
</c:if>${myrewards.subject}<a href="redirect.jsp?tid=${myrewards.tid}&goto=newpost#newpost"
target="_blank"><img src="${styles.IMGDIR}/firstnew.gif" border="0" alt="" />
</a> </a>
</li>
</c:forEach>
</ul>
</div>
</div>
</td>
</tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -