⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewthread_special_post.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 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">
		<c:if test="${thread.special==1 || thread.special==6}"><li class="current"><a href="viewthread.js?fid=${thread.fid}&tid=${thread.tid}&do=viewspecialpost" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'specialposts');doane(event);">相关回复</a></li></c:if>
		<c:if test="${thread.special==3}"><li class="current"><a href="viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewspecialpost" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'specialposts');doane(event);">主题回复</a></li></c:if>
		<c:if test="${thread.special==4}"><li class="current"><a href="viewthread.jsp?fid=${thread.fid}&tid=${thread.tid}&do=viewspecialpost" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'specialposts');doane(event);">主题回复</a></li><li><a href="misc.jsp?action=activityapplylist&tid=${thread.tid}" onclick="ajaxget(this.href+'&rand='+Math.random(), 'ajaxspecialpost', 'specialposts');doane(event);">已报名会员</a></li></c:if>
	</ul>
	<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><a class="dropmenu" style="font-weight: normal;" href="space.jsp?uid=${post.key.authorid}" target="_blank" onclick="ajaxmenu(event, this.id, 0, '', 1, 3, 0)" id="author_${post.key.authorid}">${post.key.author}</a> <jrun:showTime timeInt="${post.key.dateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/></h2>
						<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 test="${thread.special==3 && (modertar || thread.authorid==jsprun_uid) && jsprun_uid!=post.key.authorid && post.key.authorid!=thread.authorid && post.key.first==0 && thread.price>0}"><label onclick="setanswer(${post.key.pid})">最佳答案</label></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}"><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">
						<h2>${post.key.subject}</h2>
						<c:choose>
							<c:when test="${jsprun_adminid!=1 && settings.bannedmessages!=0 && (post.key.author==null || post.key.invisible==4 || post.key.invisible==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}&nbsp;[<a href="misc.jsp?action=viewattachpayments&aid=${atta.key.aid}" target="_blank">记录</a>]&nbsp;<c:if test="${atta.key.isprice==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>
<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 + -