?? listproduct.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 + -