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

📄 listproduct.jsp

📁 该程序能够准确的记录互联网用户上网所用的流量
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/fmt.tld" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>无标题文档</title>
		<link href="<c:url value='/css/style.css' />" rel="stylesheet"
			type="text/css" />
		<style type="text/css">
</style>
		
	</head>
	<c:if test="${!empty message}">
		<script type="text/javascript">
				alert('<c:out value="${message}"/>');
			</script>
		<c:remove var="message" />
	</c:if>
	<body>
		<table width="776" border="0" cellspacing="0" cellpadding="0">

			<tr>
				<td id="card1" width="776" align="center" bgcolor="#3D84CD"
					style="cursor:hand; color:#ffffff; font-size:14px; font-weight:bold">
					宽带业务列表
				</td>
			</tr>
		</table>
		<form method="post"
			action="/woss_ajd0706_team3/admin/deleteProduct.do">
			<table width="96%" border="1" cellspacing="0" cellpadding="0">
				<tr>
					
					<td width="15%">
						<div align="center">
							<strong>业务名称</strong>
						</div>
					</td>

					<td width="10%">
						<div align="center">
							<strong>月租费</strong>
						</div>
					</td>
					<td width="10%">
						<div align="center">
							<strong>小时费率</strong>
						</div>
					</td>
					<td width="10%">
						<div align="center">
							<strong>日限时</strong>
						</div>
					</td>
					<td width="10%">
						<div align="center">
							<strong>月限时</strong>
						</div>
					</td>
					<td width="10%">
						<div align="center">
							<strong>上行速率</strong>
						</div>
					</td>
					<td width="10%">
						<div align="center">
							<strong>下行速率</strong>
						</div>
					</td>

					<td width="10%">
						<div align="center">
							<strong>流量费率</strong>
						</div>
					</td>
					<td width="20%">
						<div align="center">
							<strong>备注</strong>
						</div>
					</td>
				</tr>
				<c:forEach items="${requestScope.prolist}" var="product">
					<tr>
						
						<td width="10%" align="center">
							<a
								href="<c:url value='/admin/modifyProduct.do' />?NAME=${product.name}">${product.name}</a>
						</td>
						<td width="10%" align="center">
							${product.baseFee}
						</td>
						<td width="10%" align="center">
							${product.rateFee}
						</td>
						<td width="10%" align="center">
							${product.dailyLimit}
						</td>
						<td width="10%" align="center">
							${product.monthLimit}
						</td>
						<td width="10%" align="center">
							${product.upLimit}
						</td>
						<td width="10%" align="center">
							${product.downLimit}
						</td>
						<td width="10%" align="center">
							${product.sfee}
						</td>
						<td width="10%" align="center">
							${product.remark}
						</td>
					</tr>
				</c:forEach>
				<tr>
					
					<td colspan="9" align="center">
					<span class="fontred">${requestScope.buddy_TotalNum}</span> 个品牌 当前第
					<span class="fontred">${requestScope.currentPage}</span> 页 共有
					<span class="fontred">${requestScope.buddy_TotalPage}</span> 页
						<a href="#"
						onclick="self.location='<c:url value='/admin/products.do' />?currentPage=1'">首页</a>
					<c:choose>
						<c:when test="${requestScope.buddy_TotalPage==1}">
							上一页/下一页
						</c:when>
						<c:otherwise>
							<c:choose>
								<c:when test="${requestScope.currentPage==1}">
								上一页/<a href="#"
										onclick="self.location='<c:url value='/admin/products.do' />?currentPage=${requestScope.currentPage+1}'">下一页</a>
								</c:when>
								<c:when test="${requestScope.currentPage==buddy_TotalPage}">
									<a href="#"
										onclick="self.location='<c:url value='/admin/products.do' />?currentPage=${requestScope.currentPage-1}'">上一页</a>/下一页
							</c:when>
								<c:otherwise>
									<a href="#"
										onclick="self.location='<c:url value='/admin/products.do' />?currentPage=${requestScope.currentPage-1}'">上一页</a>/
								<a href="#"
										onclick="self.location='<c:url value='/admin/products.do' />?currentPage=${requestScope.currentPage+1}'">下一页</a>
								</c:otherwise>
							</c:choose>
						</c:otherwise>
					</c:choose>
					<a href="#"
						onclick="self.location='<c:url value='/admin/products.do' />?currentPage=${requestScope.buddy_TotalPage}'">尾页</a>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>

⌨️ 快捷键说明

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