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

📄 threads.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
								</td>
								<td class="altbg2" align="right">
									<c:choose>
										<c:when test="${ empty tfs.attach || tfs.attach == 0}">
											<input class="radio" type="radio" name="attach" value="0"
												checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="attach" value="0">
										</c:otherwise>
									</c:choose>
									无限制&nbsp;
									<c:choose>
										<c:when test="${tfs.attach == 1}">
											<input class="radio" type="radio" name="attach" value="1"
												checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="attach" value="1">
										</c:otherwise>
									</c:choose>
									包含且仅包含&nbsp;
									<c:choose>
										<c:when test="${tfs.attach == 2}">
											<input class="radio" type="radio" name="attach" value="2" checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="attach" value="2">
										</c:otherwise>
									</c:choose>
									不包含
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td class="altbg1">
									是否包含评分帖:
									<br>
									<br>
								</td>
								<td class="altbg2" align="right">
									<c:choose>
										<c:when test="${empty tfs.rate || tfs.rate == 0}">
											<input class="radio" type="radio" name="rate" value="0"
												checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="rate" value="0">
										</c:otherwise>
									</c:choose>
									无限制&nbsp;
									<c:choose>
										<c:when test="${tfs.rate == 1}">
											<input class="radio" type="radio" name="rate" value="1" checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="rate" value="1">
										</c:otherwise>
									</c:choose>
									包含且仅包含&nbsp;
									<c:choose>
										<c:when test="${tfs.rate == 2}">
											<input class="radio" type="radio" name="rate" value="2" checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="rate" value="2">
										</c:otherwise>
									</c:choose>
									不包含
									<br>
									<br>
								</td>
							</tr>
							<tr>
								<td class="altbg1">
									是否包含高亮帖:
									<br>
									<br>
								</td>
								<td class="altbg2" align="right">
									<c:choose>
										<c:when
											test="${empty tfs.highlight || tfs.highlight == 0}">
											<input class="radio" type="radio" name="highlight" value="0" checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="highlight" value="0">
										</c:otherwise>
									</c:choose>
									无限制&nbsp;
									<c:choose>
										<c:when test="${tfs.highlight == 1}">
											<input class="radio" type="radio" name="highlight" value="1" checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="highlight" value="1">
										</c:otherwise>
									</c:choose>
									包含且仅包含&nbsp;
									<c:choose>
										<c:when test="${tfs.highlight == 2}">
											<input class="radio" type="radio" name="highlight" value="2" checked>
										</c:when>
										<c:otherwise>
											<input class="radio" type="radio" name="highlight" value="2">
										</c:otherwise>
									</c:choose>
									不包含
								</td>
							</tr>
							<logic:notEmpty name="tfs">
								<c:remove var="tfs" />
							</logic:notEmpty>
						</tbody>
					</table>
					<br />
					<center>
						<input class="button" type="submit" name="searchsubmit" value="提 交">
					</center>
				</form>
			</td>
		</tr>
	</table>
	<form method="post" action="admincp.jsp?action=threads&disposal=yes" target="threadframe">
		<!-- 没有搜索主题时显示 -->
		<logic:notEmpty name="nofirst">
			<logic:empty name="threadsList">
				<input type="hidden" name="formhash" value="c5edbf91">
				<table width="100%" border="0" cellpadding="0" cellspacing="0"
					class="tableborder">
					<tr class="header">
						<td colspan="2">
							符合条件的主题数: 0
						</td>
					</tr>
					<tr>
						<td class="altbg2" colspan="2">
							您没有提供搜索条件或没有与条件匹配的主题。
						</td>
					</tr>
				</table>
			</logic:empty>
		</logic:notEmpty>
		<!-- 搜过得出主题时显示 -->
		<logic:notEmpty name="threadsList">
			<input type="hidden" name="formhash" value="c5edbf91">
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				class="tableborder">
				<tr class="header">
					<td colspan="2">
						符合条件的主题数:
						${totalsize}
					</td>
				</tr>
				<input type="hidden" name="tids" value="${accountTid}">
				<input type="hidden" name="fids" value="${fids}">
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="moveforum" onclick="this.form.modsubmit.disabled=false;">
						批量移动到版块
					</td>
					<td class="altbg2">
						<select name="toforum">
							${forumselect}
						</select>
					</td>
				</tr>
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="movetype" onclick="this.form.modsubmit.disabled=false;">
						批量移动到分类
					</td>
					<td class="altbg2">
						<select name="totype">
							<option value="0">
								&nbsp;&nbsp;&gt; 无分类
							</option>
							<c:forEach var="t" items="${threadtype}">
								<option value="${t.typeid }">
									&nbsp;&nbsp;&gt;
									${t.name}(${t.description})
								</option>
							</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="delete" onclick="this.form.modsubmit.disabled=false;">
						批量删除
					</td>
					<td class="altbg2">
						<input class="checkbox" type="checkbox" name="donotupdatemember" value="1" checked>
						删帖不减用户发帖数和积分
					</td>
				</tr>
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="stick" onclick="this.form.modsubmit.disabled=false;">
						批量置顶
					</td>
					<td class="altbg2">
						<input class="radio" type="radio" name="stick_level" value="0" checked>
						解除 &nbsp; &nbsp;
						<input class="radio" type="radio" name="stick_level" value="1">
						置顶I &nbsp; &nbsp;
						<input class="radio" type="radio" name="stick_level" value="2">
						置顶II &nbsp; &nbsp;
						<input class="radio" type="radio" name="stick_level" value="3">
						置顶III
					</td>
				</tr>
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="adddigest" onclick="this.form.modsubmit.disabled=false;">
						批量设置精华
					</td>
					<td class="altbg2">
						<input class="radio" type="radio" name="digest_level" value="0" checked>
						解除 &nbsp; &nbsp;
						<input class="radio" type="radio" name="digest_level" value="1">
						精华I &nbsp; &nbsp;
						<input class="radio" type="radio" name="digest_level" value="2">
						精华II &nbsp; &nbsp;
						<input class="radio" type="radio" name="digest_level" value="3">
						精华III
					</td>
				</tr>
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="addstatus" onclick="this.form.modsubmit.disabled=false;">
						批量打开关闭
					</td>
					<td class="altbg2">
						<input class="radio" type="radio" name="status" value="0" checked>
						打开 &nbsp; &nbsp;
						<input class="radio" type="radio" name="status" value="1">
						关闭 &nbsp; &nbsp;
				</tr>
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation" value="deleteattach" onclick="this.form.modsubmit.disabled=false;">
						删除主题中的附件
					</td>
					<td class="altbg2">
						&nbsp;
					</td>
				</tr>
			<!--  
				<tr>
					<td class="altbg1">
						<input class="radio" type="radio" name="operation"
							value="supe_pushsetting"
							onclick="this.form.modsubmit.disabled=false;">
						推送到 SupeSite
					</td>
					<td class="altbg2">
						<input class="radio" type="radio" name="supe_pushstatus" value="2"
							checked>
						推送 &nbsp; &nbsp;
						<input class="radio" type="radio" name="supe_pushstatus"
							value="-2">
						解除推送 &nbsp; &nbsp;
				</tr>
				-->
			</table>
			<br />
			<div class="top3" id="thewait" style='display:${isDisplay}'>
				<table width="100%" border="0" cellpadding="0" cellspacing="0"
					class="tableborder">
					<tr class="header">
						<td>
							<input name="chkall" type="checkbox" class="checkbox" checked onclick="checkall(this.form, 'tidarray', 'chkall')">
						</td>
						<td>
							标题
						</td>
						<td>
							论坛
						</td>
						<td>
							作者
						</td>
						<td nowrap>
							回复
						</td>
						<td nowrap>
							浏览
						</td>
						<td>
							最后发表
						</td>
					</tr>
								<!-- ***************下面显示分页内容************************* -->		
						<c:if test="${totalsize > 10}">
							<div class="pages">
								<em>&nbsp;${totalsize}&nbsp;</em>
								<!-- 如果当前页不是第一页面,且大于10页时,且当前页大于4时则显示1 ... -->
								<c:if test="${totalpage>10 && currentpage>=4}">
									<a href="admincp.jsp?action=threadssearch&amp;page=1"
										class="first">1 ...</a>
								</c:if>
								<!-- 如果当前页不是第一页面,则显示<< -->
								<c:if test="${currentpage != 1}">
									<a href="admincp.jsp?action=threadssearch&amp;page=${currentpage-1}" class="prev">&lsaquo;&lsaquo;</a>
								</c:if>
								<c:choose>
									<c:when
										test="${totalpage>10 && currentpage>=4 && totalpage-(currentpage-2)>=10}">
										<!-- 显示滚动的页码信息 -->
										<c:forEach var="num" begin="${currentpage-2}"
											end="${(currentpage-2)+9}" step="1">
											<c:choose>
												<c:when test="${currentpage == num}">
													<strong>${currentpage}</strong>
												</c:when>
												<c:otherwise>
													<a href="admincp.jsp?action=threadssearch&amp;page=${num}">${num}</a>
												</c:otherwise>
											</c:choose>
										</c:forEach>
									</c:when>
									<c:otherwise>
										<c:choose>
											<c:when
												test="${totalpage>10 && currentpage>=4}">
												<!-- 显示后半部分信息 -->
												<c:forEach var="num" begin="${totalpage-9}"
													end="${totalpage}" step="1">
													<c:choose>
														<c:when test="${currentpage == num}">
															<strong>${currentpage}</strong>
														</c:when>
														<c:otherwise>
															<a href="admincp.jsp?action=threadssearch&amp;page=${num}">${num}</a>
														</c:otherwise>
													</c:choose>
												</c:forEach>
											</c:when>
											<c:otherwise>
												<c:choose>
													<c:when test="${totalpage>10}">
													<!-- 显示前半部分值 -->
														<c:forEach var="num" begin="1" end="10" step="1">
															<c:choose>
																<c:when test="${currentpage == num}">
																	<strong>${currentpage}</strong>
																</c:when>
																<c:otherwise>
																	<a href="admincp.jsp?action=threadssearch&amp;page=${num}">${num}</a>
																</c:otherwise>
															</c:choose>
														</c:forEach>
													</c:when>
													<c:otherwise>
													<!-- 如果不够10页则显示 -->
														<c:forEach var="num" begin="1" end="${totalpage}"
															step="1">
															<c:choose>
																<c:when test="${currentpage == num}">
																	<strong>${currentpage}</strong>
																</c:when>
																<c:otherwise>
																	<a href="admincp.jsp?action=threadssearch&amp;page=${num}">${num}</a>
																</c:otherwise>
															</c:choose>
														</c:forEach>
													</c:otherwise>
												</c:choose>
											</c:otherwise>
										</c:choose>
									</c:otherwise>
								</c:choose>
								<!-- 如果当前页不是最后页面,则显示 《 《-->
								<c:if test="${currentpage != totalpage}">
									<a
										href="admincp.jsp?action=threadssearch&amp;page=${currentpage+1}"
										class="next">&rsaquo;&rsaquo;</a>
								</c:if>
								<!-- 如果超过一定范围则显示... -->
								<c:if test="${totalpage>10 && (totalpage-currentpage)>7}">
									<a
									href="admincp.jsp?action=threadssearch&amp;page=${totalpage}"
									class="last">... ${totalpage}</a>
								</c:if>
								<!-- 如果页数大于10则显示此框-->
								<c:if test="${totalpage>10}">
									<kbd>
									<input type="text" name="custompage" size="3"
										onkeydown="if(event.keyCode==13) {window.location='admincp.jsp?action=threadssearch&amp;page='+this.value; return false;}" />
								</kbd>
								</c:if>
						</c:if>
			<!-- ******************************分页结束********************************* -->
					<c:forEach var="t" items="${threadsList}">
						<tr>
							<td align="center" class="altbg1">
								<input class="checkbox" type="checkbox" name="tidarray[${t.tid }]" value="${t.tid }" checked>
							<td class="altbg2">
								<a href="viewthread.jsp?tid=${t.tid}" target="_blank"> ${t.subject} </a>
								<b> <c:if test="${t.readperm > 0}"> -[阅读权限 ${t.readperm}]
								</c:if> <c:if test="${t.price >0 }">  - [售价 ${t.price}]
								</c:if> </b>
							</td>
							<td class="altbg1">
								<a href="forumdisplay.jsp?fid=${t.fid}" target="_blank">${t.name}</a>
							</td>
							<td align="center" class="altbg2">
								<a href="space.jsp?action=viewpro&uid=${t.authorid}" target="_blank">${t.author }</a>
							</td>
							<td align="center" class="altbg1">
								${t.replies}
							</td>
							<td align="center" class="altbg2">
								${t.views}
							</td>
							<td align="center" class="altbg1">
								<jrun:showTime timeInt="${t.dateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}"/>
							</td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</logic:notEmpty>
		<logic:notEmpty name="nofirst">
			<center>
				<input class="button" type="submit" name="modsubmit" value="提 交"  disabled>
			</center>
		</logic:notEmpty>
	</form>
	<iframe name="threadframe" style="display:none"></iframe>
<jsp:include page="../cp_footer.jsp" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -