📄 viewthread_debate.jsp
字号:
<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:if test="${settings.tagstatus==1&&viewthread.usermap.first==1 && taglist!=null}">
<p class="posttags">搜索更多相关主题的帖子:
<c:forEach items="${taglist}" var="tags">
<a href="tag.jsp?name=<jrun:encoding value="${tags.tagname}"/>" target="_blank">${tags.tagname}</a>
</c:forEach>
</p>
</c:if>
<div class="box debatepoints">
<table summary="全部观点" cellspacing="0" cellpadding="0">
<tr class="message">
<td class="stand1">
<h2>
正方观点
</h2>
<p>
${debates.affirmpoint}
</p>
</td>
<td style="width: 10px"></td>
<td class="stand2">
<h2>
反方观点
</h2>
<p>
${debates.negapoint}
</p>
</td>
</tr>
<tr class="button">
<td class="stand1">
<a href="misc.jsp?action=debatevote&tid=${thread.tid}&stand=1" id="affirmbutton" onclick="ajaxmenu(event, this.id)">支持正方</a>
</td>
<td style="width: 10px"></td>
<td class="stand2">
<a href="misc.jsp?action=debatevote&tid=${thread.tid}&stand=2" id="negabutton" onclick="ajaxmenu(event, this.id)">支持反方</a>
</td>
</tr>
</table>
</div>
<div class="box pollpanel">
<h4>
最新战况
</h4>
<table summary="最新战况" cellspacing="0" cellpadding="0">
<tr>
<td style="width: 100px;">
正方 ${debates.affirmdebaters} 个辩手
</td>
<td>
<div class="optionbar" style="width: ${debates.affirmvotes/((debates.affirmvotes+debates.negavotes)==0?1:(debates.affirmvotes+debates.negavotes))*80}%;">
<div>
</div>
</div>
<p>
${debates.affirmvotes} 票
</p>
</td>
</tr>
<tr>
<td style="border-bottom: none;">
反方 ${debates.negadebaters} 个辩手
</td>
<td style="border-bottom: none;">
<div class="optionbar" style="width:${debates.negavotes/((debates.affirmvotes+debates.negavotes)==0?1:(debates.affirmvotes+debates.negavotes))*80}%;">
<div>
</div>
</div>
<p>
${debates.negavotes} 票
</p>
</td>
</tr>
</table>
<c:if test="${debates.umpire==jsprun_userss}">
<c:choose>
<c:when test="${nowtime-debates.endtime>0 && debates.umpirepoint!=''}">
<button type="button" onclick="location.href='misc.jsp?action=debateumpire&tid=${thread.tid}">结束此次辩论
</c:when>
<c:when test="${nowtime-debates.endtime<=3600}">
<button type="button" onclick="location.href='misc.jsp?action=debateumpire&tid=${thread.tid}'">编辑裁判观点
</c:when>
</c:choose>
</c:if>
</div>
</div>
</td>
<td class="postauthor">
<c:if test="${viewthread.avatars!=''}">
<div class="avatar"><img class="avatar" src="${viewthread.avatars}" alt="" <c:if test="${viewthread.usermap.avatarwidth!='0'&& viewthread.usermap.avatarwidth!=''}">width="${viewthread.usermap.avatarwidth}" height="${viewthread.usermap.avatarheight}"</c:if>><c:if test="${viewthread.usermap.groupavatar!=''}"><br /><img src="${viewthread.usermap.groupavatar}" border="0" alt="" /></c:if></div>
</c:if>
<dl>
<dt>发起人</dt>
<dd><c:choose><c:when test="${spaceurlurl}"><a href="space-username-<jrun:encoding value="${thread.author}"/>.html" target="_blank">${thread.author}</a></c:when><c:otherwise><a href="space.jsp?username=<jrun:encoding value="${thread.author}"/>" target="_blank">${thread.author}</a></c:otherwise></c:choose></dd>
<dt><font color="${viewthread.color}">${viewthread.honor}</font></dt>
<dd> </dd>
<dt><jrun:showstars num="${viewthread.stars}" starthreshold="${settings.starthreshold}" imgdir="${styles.IMGDIR}"/></dt>
<dd> </dd>
<dt>裁判</dt>
<dd><c:choose><c:when test="${spaceurlurl}"><a href="space-username-<jrun:encoding value="${debates.umpire}"/>.html" target="_blank">${debates.umpire}</a></c:when><c:otherwise><a href="space.jsp?username=<jrun:encoding value="${debates.umpire}"/>" target="_blank">${debates.umpire}</a></c:otherwise></c:choose></dd>
<dt>开始时间</dt>
<dd><jrun:showTime timeInt="${thread.dateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/></dd>
</dl>
<c:if test="${viewthread.usermap.qq!='' || viewthread.usermap.icq!='' || viewthread.usermap.msn!=''|| viewthread.usermap.yahoo!='' || viewthread.usermap.taobao!=''}">
<p class="imicons">
<c:if test="${viewthread.usermap.msn!=''}">
<a href="javascript:;" onclick="msnoperate('add', '${viewthread.usermap.msn}')" title="添加 ${viewthread.usermap.username} 为MSN好友"><img src="${styles.IMGDIR}/msnadd.gif" alt="添加 ${viewthread.usermap.username} 为MSN好友" /> </a>
</c:if>
<c:if test="${viewthread.usermap.msn!=''}">
<a href="javascript:;" onclick="msnoperate('chat', '${viewthread.usermap.msn}')" title="通过MSN和 ${viewthread.usermap.username}交谈"><img src="${styles.IMGDIR}/msnchat.gif" alt="通过MSN和 ${viewthread.usermap.username} 交谈" /> </a>
</c:if>
<c:if test="${viewthread.usermap.qq!=''}">
<a href="http://wpa.qq.com/msgrd?V=1&Uin=${viewthread.usermap.qq}&Site=Jsprun~&Menu=yes" target="_blank"><img src="${styles.IMGDIR}/qq.gif" alt="QQ" />
</a>
</c:if>
<c:if test="${viewthread.usermap.icq!=''}">
<a href="http://wwp.icq.com/scripts/search.dll?to=${viewthread.usermap.icq}" target="_blank"><img src="${styles.IMGDIR}/icq.gif" alt="ICQ" />
</a>
</c:if>
<c:if test="${viewthread.usermap.yahoo!=''}">
<a href="http://edit.yahoo.com/config/send_webmesg?.target=${viewthread.usermap.yahoo}&.src=pg" target="_blank"><img src="${styles.IMGDIR}/yahoo.gif" alt="Yahoo!" /> </a>
</c:if>
<c:if test="${viewthread.usermap.taobao!=''}">
<script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('${viewthread.usermap.taobao}')+'&s=2"><img src="${styles.IMGDIR}/taobao.gif" alt="阿里旺旺" /></a>');</script>
</c:if>
</p>
</c:if>
<c:forEach items="${viewthread.custominfo.special}" var="cus"> ${cus} </c:forEach>
</td>
</tr>
<tr>
<td class="postcontent">
<p class="postactions">
<c:if test="${(usergroups.alloweditpost>0 && modertar) || thread.authorid==jsprun_uid}">
<a href="post.jsp?action=edit&fid=${viewthread.usermap.fid}&tid=${viewthread.usermap.tid}&pid=${viewthread.usermap.pid}&page=1&extra=page%3D1">编辑</a>
</c:if>
<c:if test="${usergroups.raterange!='' && viewthread.usermap!=null}">
<a href="misc.jsp?action=rate&tid=${viewthread.usermap.tid}&pid=${viewthread.usermap.pid}&page=1" id="ajax_rate_${viewthread.usermap.pid}" onclick="ajaxmenu(event, this.id, 9000000, null, 0)">评分</a>
</c:if>
<c:if test="${jsprun_uid!=null && settings.magicstatus==1 && usergroups.allowmagics>0}">
<a href="magic.jsp?action=user&pid=4" target="_blank">道具</a>
</c:if>
</p>
</td>
<td class="postauthor">
</td>
</tr>
</table>
</div>
<div id="ad_interthread"></div>
<div id="ajaxspecialpost">
<div id="ajaxdebatepostswait" class="boxspecialpostcontainer"></div>
</div>
<script type="text/javascript">ajaxget('viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewdebatepost&page=${param.page}&rand='+Math.random(), 'ajaxspecialpost', 'ajaxdebatepostswait');</script>
<br />
<div id="umpirepoint" style="display: none">
<div class="specialpost">
<p class="postmessage">
<b>裁判:</b> ${debates.umpire}<br />
<b>评判时间:</b> <jrun:showTime timeInt="${debates.endtime}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/><br />
<b>裁判观点:</b> <br /><br />
${debates.umpirepoint}
</p>
</div>
</div>
<script type="text/javascript">
function checkumpire(event) {
doane(event);
$('ajaxspecialposts').innerHTML = $('umpirepoint').innerHTML;
$('viewstand1').className = '';
$('viewstand2').className = '';
$('viewstand0').className = '';
$('viewumpire').className = 'current';
$('viewall').className = '';
if($('multipage'))$('multipage').style.display = 'none';
return false;
}
</script>
<jsp:include flush="true" page="viewthread_fastreply.jsp" />
<c:if test="${settings.forumjump==1&&settings.jsmenu_1>0}">
<div class="popupmenu_popup" id="forumlist_menu" style="display: none">
${forummenu}
</div>
</c:if>
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -