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

📄 th_init_type_manage.jsp

📁 oa rar it is the jsp
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title>th_init_type_sql.jsp</title>
		<link href="<%=request.getContextPath()%>/css/style_2.css" rel="stylesheet">
	</head>
	<body>
		<jsp:include flush="true" page="init_top.jsp"></jsp:include>
		<table width="100%" border="1" cellspacing="0" cellpadding="0"
				bordercolor="#FFFFFF" bordercolordark="#ffffff"
				bordercolorlight="#EEF2F9">
			<tr align="center" bgcolor="#EEF2F9">
				<td width="10%" height="24" scope="col"></td>
				<td colspan="3" align="left" scope="col">
					<img src="../images/Manual54.gif"><a href="<%=request.getContextPath()%>/material/addType.jsp" target="mainName">添加新类别</a>
				</td>
			</tr>
			<tr>
				<td height="24" scope="col"></td>
				<td width="47%" align="center" scope="col">
					类别名称
				</td>
				<td width="33%" scope="col">
					操作
				</td>
				<td width="10%" scope="col"></td>
			</tr>
			<c:if test="${! empty types}">
				<c:forEach items="${types}" var="type" begin="${(typecurrentpage -1)*5}"
					end="${(((typecurrentpage*5-1)>type_total_count)?type_total_count:(typecurrentpage*5-1))}">
					<tr>
						<td height="24" scope="col"></td>
						<td width="47%" align="center" scope="col">
							${type.typeName}
						</td>
						<td width="33%" scope="col">
							<img src="../images/delete.gif"><a href="<%=request.getContextPath() %>/servlet/AddAndDeleteTypeServlet?typeId=${type.id}">删除</a>
						</td>
						<td width="10%" scope="col"></td>
					</tr>
				</c:forEach>
			</c:if>
			<tr align="center">
				<td height="25" colspan="8" bgcolor="#ECECF2">
					<c:choose>
						<c:when test="${(type_total_count > 1) && (type_total_count > 5)}">
							<c:if test="${typecurrentpage * 5 >= type_total_count}">
								<a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=type&page=${typecurrentpage-1}"><img
										src="../images/1-prev.gif" width="36" height="11" border="0">
								</a>
								<a><img src="../images/1-next.gif" width="36" height="11"
										border="0">
								</a>
							</c:if>
							<c:if
								test="${(typecurrentpage * 5 < type_total_count) && (typecurrentpage > 1)}">
								<a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=type&page=${typecurrentpage-1}"><img
										src="../images/1-prev.gif" width="36" height="11" border="0">
								</a>
								 <a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=type&page=${typecurrentpage+1}"><img
											src="../images/1-next.gif" width="36" height="11" border="0">
								</a>
							</c:if>
							<c:if test="${typecurrentpage <= 1}">
								<a><img src="../images/1-prev.gif" width="36" height="11"
										border="0">
								</a>
								<a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=type&page=${typecurrentpage+1}"><img
										src="../images/1-next.gif" width="36" height="11" border="0">
								</a>
							</c:if>
						</c:when>
						<c:otherwise>
							<a><img src="../images/1-prev.gif" width="36" height="11"
									border="0">
							</a>
							<a><img src="../images/1-next.gif" width="36" height="11"
									border="0">
							</a>
						</c:otherwise>
					</c:choose>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共${type_total_count}

					条&nbsp;&nbsp;记录每页5条记录
				</td>
			</tr>
		</table>
	</body>
</html>

⌨️ 快捷键说明

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