📄 viewthread_activity.jsp
字号:
<tr><th>征集截止日期</th><td><jrun:showTime timeInt="${activitslist.expiration}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/></td>
</tr></c:if>
</table>
<c:if test="${!activityclose}"><div class="box"><h4>我要参加</h4>
<c:choose>
<c:when test="${activiapplist==null}"><c:set value="null" var="app"></c:set></c:when>
<c:otherwise>
<c:forEach items="${activiapplist}" var="activeapp">
<c:if test="${activeapp.uid==jsprun_uid}">
<c:choose>
<c:when test="${activeapp.verified==1}"><c:set value="yes" var="app"></c:set></c:when>
<c:otherwise><c:set value="no" var="app"></c:set></c:otherwise>
</c:choose>
</c:if>
</c:forEach>
</c:otherwise>
</c:choose>
<form id="activityjoin" name="activity" method="post" action="misc.jsp?action=activityapplies&fid=${thread.fid}&tid=${thread.tid}" onSubmit="return checkform(this)">
<c:choose>
<c:when test="${app!=null && app=='yes'}"><button type="button" class="insmsg">您已经参加了此活动</button></c:when>
<c:when test="${app!=null && app=='no'}"><button type="button" class="insmsg">您已经参加了此活动,正等待审核</button></c:when>
<c:otherwise>
<table summary="我要参加" cellpadding="0" cellspacing="0">
<tr>
<th>支付方式</th>
<td><p><label><input class="radio" type="radio" value="0" name="payment" checked="checked" /> 我愿意承担自己的那部分花销</label></p><p><label><input class="radio" type="radio" value="1" name="payment" /> 我愿意在此次活动花销中支付</label><input name="payvalue" size="3"> 元</p>
</td>
</tr>
<tr><th>联系方式</th><td><input type="text" name="contact" style="width:80%" maxlength="200" /></td></tr>
<tr><th>留言</th><td><input type="text" name="message" style="width:80%" maxlength="200" /></td></tr><tr><th> </th><td><button class="submit" type="submit" name="activitysubmit" value="true"> 申请参加此活动</button></td></tr>
</table>
</c:otherwise>
</c:choose>
</form>
</div>
</c:if>
<c:if test="${activiapplist!=null}">
<div class="box">
<h4>最新报名会员</h4>
<div class="avatarlist">
<c:forEach items="${activiapplist}" var="activiapp">
<dl><dt><a target="_blank" href="space.jsp?uid=${activiapp.uid}"><img onload="thumbImg(this)" style="padding: 3px" width="45" height="45" src="${activiapp.avatar}" border="0" alt="" /></a></dt><dd><a target="_blank" href="space.jsp?uid=${activiapp.uid}">${activiapp.username}</a></dd></dl>
</c:forEach>
</div>
</div>
</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>
</div>
<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">
<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>${resoncount} 人</dd>
<c:if test="${activitslist.number!=0}"><dt>剩余人数</dt><dd>${activitslist.number-resoncount} 人</dd></c:if>
</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>
</table>
</div>
<div id="ad_interthread"></div><div id="ajaxspecialpost"></div>
<script type="text/javascript">ajaxget('viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewspecialpost&page=${param.page}&rand='+Math.random(), 'ajaxspecialpost');</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 + -