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

📄 th_init_unit_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_unit_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="#Eff2fb">
    <td width="10%" height="24" scope="col"></td>
    <td width="40%" scope="col" align="left"><img src="../images/Manual54.gif"><a href="<%=request.getContextPath()%>/material/addUnit.jsp" target="mainName" >添加计量单位</a></td>
    <td width="40%" scope="col"></td>
    <td width="10%" scope="col" align="right"></td>
  </tr>
  <tr>
 	  <td height="24" scope="col"></td>
      <td width="15%" align="center" scope="col">计量名称</td>
      <td width="33%" scope="col">操作</td>
      <td width="10%" scope="col"></td>
  </tr>
   <c:if test="${! empty units}">
				<c:forEach items="${units}" var="unit" begin="${(unitcurrentpage -1)*5}"
					end="${(((unitcurrentpage*5-1)>unit_total_count)?unit_total_count:(unitcurrentpage*5-1))}">
					<tr>
						<td height="24" scope="col"></td>
						<td width="47%" align="center" scope="col">
							${unit.unitName}
						</td>
						<td width="33%" scope="col">
							<img src="../images/delete.gif"><a href="<%=request.getContextPath() %>/servlet/AddAndDeleteUnitServlet?unitId=${unit.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="${(unit_total_count > 1) && (unit_total_count > 5)}">
							<c:if test="${unitcurrentpage * 5 >= unit_total_count}">
								<a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=unit&page=${unitcurrentpage-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="${(unitcurrentpage * 5 < unit_total_count) && (unitcurrentpage > 1)}">
								<a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=unit&page=${unitcurrentpage-1}"><img
										src="../images/1-prev.gif" width="36" height="11" border="0">
								</a>
								 <a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=unit&page=${unitcurrentpage+1}"><img
											src="../images/1-next.gif" width="36" height="11" border="0">
								</a>
							</c:if>
							<c:if test="${unitcurrentpage <= 1}">
								<a><img src="../images/1-prev.gif" width="36" height="11"
										border="0">
								</a>
								<a
									href="<%=request.getContextPath()%>/servlet/TypePaginationServlet?who=unit&page=${unitcurrentpage+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;共${unit_total_count}

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

⌨️ 快捷键说明

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