📄 viewthread_debate_post.jsp
字号:
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/jrun-tag.tld" prefix="jrun"%>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
<div class="box specialpostcontainer">
<ul class="tabs">
<li id="viewall" ${param.stand==null?"class='current'":""}><a href="viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewdebatepost&rand=2" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'ajaxdebatepostswait');doane(event);">全部观点</a></li>
<li id="viewstand1" ${param.stand==1?"class='current'":""}><a href="viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewdebatepost&stand=1&rand=3" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'ajaxdebatepostswait');doane(event);">正方观点</a></li>
<li id="viewstand2" ${param.stand==2?"class='current'":""}><a href="viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewdebatepost&stand=2&rand=4" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'ajaxdebatepostswait');doane(event);">反方观点</a></li>
<li id="viewstand0" ${param.stand==0?"class='current'":""}><a href="viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewdebatepost&stand=0&rand=5" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'ajaxdebatepostswait');doane(event);">中立观点</a></li>
<c:if test="${debates.umpirepoint!=''}"><li id="viewumpire"><a href="javascript:;" onclick="checkumpire(event)">裁判观点</a></li></c:if>
</ul>
<div id="ajaxspecialposts">
<form method="post" name="modactions">
<c:choose>
<c:when test="${postlist!=null}">
<c:forEach items="${postlist}" var="posts" varStatus="in">
<c:forEach items="${posts}" var="post">
<div class="specialpost">
<div class="postinfo"><h2><span class="poststand${post.key.stand}"><c:if test="${post.key.stand==1}">正方</c:if><c:if test="${post.key.stand==2}">反方</c:if><c:if test="${post.key.stand==0}">中立</c:if></span>
<a class="dropmenu" href="space.jsp?uid=${post.key.uid}" target="_blank" style="font-weight: normal;" onclick="ajaxmenu(event, this.id, 0, '', 1, 3, 0)" id="author_${post.key.pid}">${post.key.username}</a> <jrun:showTime timeInt="${post.key.dateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/></h2>
<c:if test="${param.stand==null}">
<strong title="复制帖子链接到剪贴板" id="postnum_${post.key.pid}" onclick="setcopy('${boardurl}viewthread.jsp?tid=${post.key.tid}&page=${currentPage}#pid=${post.key.pid}', '帖子链接已经复制到剪贴板')">
<c:choose>
<c:when test="${currentPage>1}"> ${empty postcustom[in.count+lpp*(currentPage-1)] ? lpp*(currentPage-1)+in.count : postcustom[in.count+lpp*(currentPage-1)]}${empty postcustom[in.count+(currentPage-1)*lpp] ? settings.postno : ""}</c:when>
<c:otherwise>${empty postcustom[in.count] ? in.count : postcustom[in.count]} ${empty postcustom[in.count] ? settings.postno : ""}</c:otherwise>
</c:choose>
</strong>
</c:if>
<c:if test="${post.key.stand>0}"> ( 得票数: <span class="bold">${post.key.voters}</span>)
<a href="misc.jsp?action=debatevote&tid=${post.key.tid}&pid=${post.key.pid}" id="voterdebate_${post.key.pid}" onclick="ajaxmenu(event, this.id)">投我一票</a>
</c:if>
<c:if test="${(modertar && usergroups.alloweditpost!=0) || (forum.alloweditpost==1 && jsprun_uid!=0 && post.key.authorid==jsprun_uid) && (thread.digest>=0 || post.key.first==0)}">
<a href="post.jsp?action=edit&fid=${post.key.fid}&tid=${post.key.tid}&pid=${post.key.pid}&page=1&extra=">编缉</a>
</c:if>
<c:if test="${allowpostreply && settings.fastreply==1}">
<a href="post.jsp?action=reply&fid=${post.key.fid}&tid=${post.key.tid}&repquote=${post.key.pid}&extra=&page=${lpp}">引用</a>
</c:if>
<c:if test="${modertar && usergroups.allowdelpost>0}"><input class="checkbox" type="checkbox" name="topiclist[]" value="${post.key.pid}" /></c:if>
</div>
<div class="postmessage"><c:if test="${post.key.subject!=''}"><h2>${post.key.subject}${post.key.useip}</h2></c:if><c:choose>
<c:when test="${jsprun_adminid!=1 && settings.bannedmessages!=0 && ((post.key.authorid!=0 && post.key.author=='') || post.key.groupid==4 || post.key.groupid==5)}">
<div class="notice" style="width: 500px">提示: <em>作者被禁止或删除 内容自动屏蔽</em></div></c:when>
<c:when test="${jsprun_adminid!=1 && post.key.status==1}"><div class="notice" style="width: 500px">提示: <em>该帖被管理员或版主屏蔽</em></div></c:when>
<c:otherwise><div class="t_msgfont">${post.key.message}</div>
<c:if test="${post.value!=null && post.key.attachment>0}">
<c:choose><c:when test="${!allowgetattach}"><div class="notice" style="width: 500px">附件:<em>您所在的用户组无法下载或查看附件</em></div></c:when>
<c:otherwise><div class="box postattachlist"><h4>附件</h4>
<c:forEach items="${post.value}" var="attas"><c:forEach items="${attas}" var="atta">
<dl class="t_attachlist"><dt><img src="images/attachicons/${attatype[atta.key.filetype]}" border="0" class="absmiddle" alt="" />
<a href="attachment.jsp?aid=${atta.key.aid}">${atta.key.filename}</a> <em>(<jrun:showFileSize size="${atta.key.filesize}" />)</em>
</dt><dd><p><jrun:showTime timeInt="${atta.key.dateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/>
<c:if test="${settings.attachrefcheck==0 && atta.value==''}">,下载次数: ${atta.key.downloads}</c:if><c:if test="${atta.key.readperm>0}">,阅读权限:${atta.key.readperm}</c:if><c:if test="${atta.key.price>0}">,售价:${atta.key.price} [<a href="misc.jsp?action=viewattachpayments&aid=${atta.key.aid}" target="_blank">记录</a>] <c:if test="${atta.key.remote==5}">[<a href="misc.jsp?action=attachpay&aid=${atta.key.aid}" target="_blank">购买</a>]</c:if></c:if><c:if test="${atta.key.description!=''}"><br>${atta.key.description}</c:if></p>
<c:if test="${settings.attachimgpost==1 && showatta!='false'}">
<c:if test="${atta.value!='' && (readaccess >= atta.key.readperm || post.key.authorid==jsprun_uid)}">
<c:choose><c:when test="${settings.attachrefcheck==0}"><p>
<a href="#zoom"><img onclick="zoom(this, '${atta.key.attachment}')" src="${atta.value}" alt="${atta.key.filename}" /></a></p>
</c:when><c:otherwise><c:choose><c:when test="${atta.key.thumb==1}"><p><a href="#zoom"><img onclick="zoom(this, 'attachment.jsp?aid=${atta.key.aid}')" src="attachment.jsp?aid=${atta.key.aid}&noupdate=yes" alt="${atta.key.filename}" /></a></p>
</c:when><c:otherwise><p><img src="attachment.jsp?aid=${atta.key.aid}&noupdate=yes" border="0" onload="attachimg(this, 'load')" onmouseover="attachimg(this, 'mouseover')" onclick="zoom(this, 'attachment.jsp?aid=${atta.key.aid}')" alt="01.gif" /></p>
</c:otherwise></c:choose></c:otherwise></c:choose></c:if></c:if></dd></dl></c:forEach></c:forEach></div></c:otherwise>
</c:choose></c:if></c:otherwise></c:choose></div></div></c:forEach></c:forEach></c:when><c:otherwise>
<div class="specialpost"><div class="postmessage">无</div></div></c:otherwise></c:choose></form></div></div>
<c:if test="${!empty multi.multipage}"><div class="pages_btns">${multi.multipage}</div></c:if>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -