day.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> ${check.username}</td> <td> ${check.product.name }</td> <td> ${check.product.baseFee}</td> <td> ${check.product.rateFee}</td> <td> ${check.product.sfee}</td> <td> ${check.product.upLimit-check.product.downLimit}</td> <td> ${totalDuration}</td> <td> ${totalFlux}</td> <td> ${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="${userday}"> <tr> <td> ${user.nasipaddress}</td> <td> ${user.ondate}</td> <td> ${user.timeDuration}</td> <td> ${user.flux}</td> </tr> </c:forEach></table></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?