year.jsp

来自「该程序能够准确的记录互联网用户上网所用的流量」· JSP 代码 · 共 78 行

JSP
78
字号
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%><%@ taglib uri="/WEB-INF/c.tld" prefix="c"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>  <head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><link href="../../css/shct10000.css" rel="stylesheet" type="text/css" /><style type="text/css"><!--.STYLE1 {font-weight: bold}--></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="96%" border="0" cellspacing="0" cellpadding="0" align="center">         	<tr>         		<td id="card1" width="96%" align="center" bgcolor="#3D84CD" style="cursor:hand; color:#ffffff; font-size:14px; font-weight:bold">         			用户月消费信息</td>			            </tr>    </table><table width="96%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">  <tr bordercolor="#CCCCCC">    <td width="15%" nowrap="nowrap">业务帐号</td>    <td width="10%" nowrap="nowrap">品牌</td>    <td width="10%" nowrap="nowrap">月租费</td>    <td width="10%" nowrap="nowrap">每小时费率</td>    <td width="10%" nowrap="nowrap">流量费率</td>    <td width="10%" nowrap="nowrap">带宽</td>    <td width="15%" nowrap="nowrap">总时长</td>    <td width="15%" nowrap="nowrap">总流量</td>    <td width="15%" nowrap="nowrap">总费用</td>  </tr>  <c:forEach var="check" items="${radcheck}">  <tr bordercolor="#CCCCCC">   <td>&nbsp;${check.username}</td>    <td>&nbsp;${check.product.name }</td>    <td>&nbsp;${check.product.baseFee}</td>    <td>&nbsp;${check.product.rateFee}</td>    <td>&nbsp;${check.product.sfee}</td>    <td>&nbsp;${check.product.upLimit-check.product.downLimit}</td>    <td>&nbsp;${totalDuration}</td>    <td>&nbsp;${totalFlux}</td>    <td>&nbsp;${totalDuration*check.product.rateFee+check.product.baseFee}</td>  </tr>  </c:forEach></table><table width="96%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bgcolor="#FFFFFF">	  <tr bordercolor="#CCCCCC">    <td width="20%" nowrap="nowrap">NAS地址</td>    <td width="20%" nowrap="nowrap">时间</td>    <td width="20%" nowrap="nowrap">时长</td>    <td width="20%" nowrap="nowrap">流量</td>  </tr>  <c:forEach var="user" items="${useryear}">  <tr>  	<td>&nbsp;${user.nasipaddress}</td>  	<td>&nbsp;${user.ondate}</td>  	<td>&nbsp;${user.timeDuration}</td>  	<td>&nbsp;${user.flux}</td>  </tr>	</c:forEach></table></body></html>

⌨️ 快捷键说明

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