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

📄 newssortlist.jsp

📁 这是基于spring +hibernate的项目
💻 JSP
字号:
<%@ page language="java" import="com.pure.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<jsp:include page="../inc/pageHead.jsp" />
<form name="form1" method="post" action="<c:url value="/admin/news/newsList.jspx"/>">
<input type="hidden" name="page" value="${cpage}">
<input type="hidden" name="curAction">
	<table width="100%" border="0" cellpadding="0" cellspacing="0"
		bgcolor="#FFFFFF">

		<tr>
			<td width="5">
				&nbsp;
			</td>
			<td>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="30" align="center" class="bigTitle">
							新闻分类管理
						</td>
					</tr>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td>
							&nbsp;
						</td>
					</tr>
				</table>
				<!--数据表主体开始-->
				<table width="100%" border="0" cellpadding="2" cellspacing="1"
					class="tableData" id="tableData">
					<tr>
						<th width="5%" align="center">
							<input type="checkbox" name="chkall" value="on"
								onclick="CheckAll(this.form)" title="选择/取消" style="cursor:hand">
						</th>
						<th width="8%">
							名 称
						</th>
						<th width="8%">
							代 码
						</th>
						<th width="52%">
							说 明
						</th>
						<th width="8%">
							排 序
						</th>
						<th width="8%">
							操 作
						</th>
					</tr>
					<c:if test="${empty newsSortList}">
						<script>noData();</script>
					</c:if>
					<c:forEach var="newsSortItem" items="${newsSortList}">
						<tr <%=PureUtil.trBgcolorMouseOverAndMouseOut()%>>
							<td align="center">
								<input type="checkbox" name="id"
									value="<c:out value="${newsSortItem.id}"/>" style="cursor:hand">
							</td>
							<td>
								<c:out value="${newsSortItem.name}" />
							</td>
							<td style="padding:5px;">
								<c:out value="${newsSortItem.code}" />
							</td>
							<td style="padding:5px;">
								<c:out value="${newsSortItem.remark}" />
							</td>
							<td align="center">
								<input type="text" name="seq"
									value="<c:out value="${newsSortItem.seq}"/>" class="inputText"
									onfocus="this.className='inputText_focus'"
									onBlur="this.className='inputText'" size="4" maxlength="4">
							</td>
							<td align="center">
								<a
									href="<c:url value="/admin/news/newsSortList.jspx"/>?curAction=del&id=<c:out value="${newsSortItem.id}"/>"><img
										src="<c:url value="/admin/images/del.gif"/>" border="0"
										alt="删 除">
								</a>&nbsp;&nbsp;&nbsp;&nbsp;
								<a
									href="<c:url value="/admin/news/newsSortForm.jspx"/>?method=edit&id=<c:out value="${newsSortItem.id}"/>"><img
										src="<c:url value="/admin/images/edit.gif"/>" border="0"
										alt="编 辑">
								</a>
							</td>
						</tr>
					</c:forEach>
				</table>
				<!--数据表主体结束-->
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="35">
							<img src="../images/del_bt.gif" width="44" height="20"
								onmouseover="this.src='../images/del_bt_over.gif'"
								onmouseout="this.src='../images/del_bt.gif'"
								class="image_button"
								onclick="action_del(document.forms[0],'是否确定删除选中的数据?','del','','id');">
							&nbsp;
							<img src="../images/new_bt.gif" width="44" height="20"
								onmouseover="this.src='../images/new_bt_over.gif'"
								onmouseout="this.src='../images/new_bt.gif'"
								class="image_button" onClick="location.href='newsSortForm.jspx'">
							&nbsp;
							<img src="../images/seq_bt.gif" width="44" height="20"
								onmouseover="this.src='../images/seq_bt_over.gif'"
								onmouseout="this.src='../images/seq_bt.gif'"
								class="image_button"
								onclick="action_seq(document.forms[0],'是否确定重新排序?','seq','','id');">
						</td>
					</tr>
				</table>
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td height="25">
							<c:out value="${page}" escapeXml="false" />
						</td>
					</tr>
				</table>
			</td>
			<td width="5">
				&nbsp;
			</td>
		</tr>
	</table>
</form>
<jsp:include page="../inc/pageFoot.jsp" />

⌨️ 快捷键说明

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