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

📄 recyclebin.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="http://www.jsprun.cn/jrun-tag" prefix="jrun"%>
<jsp:include page="../cp_header.jsp" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr><td><a href="#" onclick="parent.menu.location='admincp.jsp?action=menu'; parent.main.location='admincp.jsp?action=home';return false;">系统设置首页</a>&nbsp;&raquo;&nbsp;主题回收站</td></tr>
</table>
<br />
				<script src="include/javascript/calendar.js" type="text/javascript"></script>
				<form action="admincp.jsp?action=recyclebin&search=yes" method="post">
					<input type="hidden" name="formhash" value="36a06c25">
					<table width="100%" border="0" cellpadding="0" cellspacing="0"
						class="tableborder">
						<tr class="header">
							<td colspan="2">
								搜索符合条件的被删帖子
							</td>
						</tr>
						<tr>
							<td class="altbg1" width="45%">
								所在版块:
							</td>
							<td class="altbg2" align="right">
								<select name="inforum">
									<option value="0">
										&nbsp;&nbsp;&gt;请选择
									</option>
									${forumselect}
								</select>
							</td>
						</tr>
						<tr>
							<td class="altbg1">
								原帖作者(多个用户名间请用半角逗号 "," 分割):
							</td>
							<td class="altbg2" align="right">
								<input type="text" name="authors" size="40" value="${recyclebinform.authors }">
							</td>
						</tr>
						<tr>
							<td class="altbg1">
								标题关键字(多关键字中间请用半角逗号 "," 分割):
							</td>
							<td class="altbg2" align="right">
								<input type="text" name="keywords" size="40" value="${recyclebinform.keywords }">
							</td>
						</tr>
						<tr>
							<td class="altbg1">
								删帖管理员(多个用户名间请用半角逗号 "," 分割):
							</td>
							<td class="altbg2" align="right">
								<input type="text" name="admins" size="40" value="${recyclebinform.admins }">
							</td>
						</tr>
						<tr>
							<td class="altbg1">
								帖子发表时间范围(格式 yyyy-mm-dd,不限制请留空):
							</td>
							<td class="altbg2" align="right">
								<input type="text" name="pstarttime" size="10"
									value="${recyclebinform.pstarttime }"
									onclick="showcalendar(event, this)">
								-
								<input type="text" name="pendtime" size="10"
									value="${recyclebinform.pendtime }"
									onclick="showcalendar(event, this)">
							</td>
						</tr>
						<tr>
							<td class="altbg1">
								删帖时间范围(格式 yyyy-mm-dd,不限制请留空):
							</td>
							<td class="altbg2" align="right">
								<input type="text" name="mstarttime" size="10"
									value="${recyclebinform.mstarttime }"
									onclick="showcalendar(event, this)">
								-
								<input type="text" name="mendtime" size="10"
									value="${recyclebinform.mendtime }"
									onclick="showcalendar(event, this)">
							</td>
						</tr>
					</table>
					<br />
					<center>
						<input class="button" type="submit" name="searchsubmit" value="提 交">
					</center>
				</form>

				<form method="post" action="admincp.jsp?action=recyclebin&deleteold=yes&prune=yes">
					<input type="hidden" name="formhash" value="36a06c25">
					<table width="100%" border="0" cellpadding="0" cellspacing="0"
						class="tableborder">
						<tr class="header">
							<td colspan="2">
								批量清空回收站
							</td>
						</tr>

						<tr>
							<td class="altbg1" width="45%">
								清空多少天以前的回收站帖子(0 为清空全部):
							</td>
							<td class="altbg2" align="right">
								<input type="text" name="days" size="40" value="30">
							</td>
						</tr>

					</table>
					<br />
					<center>
						<input class="button" type="submit" name="rbsubmit" value="提 交">
					</center>
				</form>
				<br />
				<c:if test="${notfirst != null}">
					<form method="post" action="admincp.jsp?action=recyclebin&batch=yes">
						<input type="hidden" name="formhash" value="427b26aa">
						<table width="100%" border="0" cellpadding="0" cellspacing="0"
							class="tableborder">
							<tr class="header">
								<td colspan="2">
									<logic:notEmpty name="showlist">
										<bean:size id="count" name="showlist" />
									</logic:notEmpty>
									符合条件的回收站主题数: ${count== null ?0:count}
								</td>
							</tr>
							<tr>
								<td colspan="2" class="category">
									<input class="button" type="button" value="全部删除"
										onclick="checkalloption(this.form, 'delete')">
									&nbsp;

									<input class="button" type="button" value="全部还原"
										onclick="checkalloption(this.form, 'undelete')">
									&nbsp;

									<input class="button" type="button" value="全部忽略"
										onclick="checkalloption(this.form, 'ignore')">
								</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=recyclebin&searchpage=yes&amp;page=1"
										class="first">1 ...</a>
								</c:if>
								<!-- 如果当前页不是第一页面,则显示<< -->
								<c:if test="${currentpage != 1}">
									<a href="admincp.jsp?action=recyclebin&searchpage=yes&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=recyclebin&searchpage=yes&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=recyclebin&searchpage=yes&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=recyclebin&searchpage=yes&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=recyclebin&searchpage=yes&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=recyclebin&searchpage=yes&amp;page=${currentpage+1}"
										class="next">&rsaquo;&rsaquo;</a>
								</c:if>
								<!-- 如果超过一定范围则显示... -->
								<c:if test="${totalpage>10 && (totalpage-currentpage)>7}">
									<a
									href="admincp.jsp?action=recyclebin&searchpage=yes&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=recyclebin&searchpage=yes&amp;page='+this.value; return false;}" />
								</kbd>
								</c:if>
						</c:if>
			<!-- ******************************分页结束********************************* -->
							<c:forEach var="r" items="${showlist}">
								<tr class="altbg2">
									<td rowspan="2" valign="top" width="15%" height="100%">
										<table cellspacing="0" cellpadding="0" border="0" width="100%"
											height="100%">
											<tr>
												<td valign="top" style="border:none">
													<a href="space.jsp?action=viewpro&uid=${r.authorid}"
														target="_blank"><b>${r.author}</b>
												</td>
											</tr>
											<tr>
												<td style="border:none">
													<input class="radio" type="radio" name="mod[${r.tid}]"	value="delete" checked>
													删除
													<br />
													<input class="radio" type="radio" name="mod[${r.tid}]" value="undelete">
													还原
													<br />
													<input class="radio" type="radio" name="mod[${r.tid}]" value="ignore">
													忽略
													<br />
													<br />
													回复: ${r.replies}
													<br />
													浏览: ${r.views}
													<br />
													<br />
													<jrun:showTime timeInt="${r.dateline}" type="${dateformat}" timeoffset="${timeoffset}"/>
													<br>
													<jrun:showTime timeInt="${r.dateline}" type="${timeformat}" timeoffset="${timeoffset}"/>
												</td>
											</tr>
										</table>
									</td>
									<td style="border:none">
										<a href="forumdisplay.jsp?fid=${r.fid}" target="_blank"> ${r.name} </a>
										<b>&raquo;</b>
										<b>${r.subject}</b>
									</td>
								</tr>
								<tr class="altbg2">
									<td>
										<div
											style="border-style: dotted; border-width: 1px; border-color: #9DB3C5; padding: 5px; overflow: auto; overflow-y: scroll; width: 95%; height:150px">
											<div align="right" style="width: 97%">
												操作者:
												<a href="space.jsp?action=viewpro&uid=${r.uid}" target="_blank">${r.username}</a>
												删除时间:
												<jrun:showTime timeInt="${r.mdateline}" type="${dateformat} ${timeformat}" timeoffset="${timeoffset}" />
											</div>
											${r.message}
										</div>
									</td>
								</tr>
							</c:forEach>
						</table>
						<br />
						<logic:notEmpty name="showlist">
							<center>
								<input class="button" type="submit" name="rbsubmit" value="提 交">
								<input type="hidden" name="hiddentids" value="${hiddentids}" />
							</center>
						</logic:notEmpty>
					</form>
				</c:if>
<jsp:include page="../cp_footer.jsp" />

⌨️ 快捷键说明

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