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

📄 detail.jsp

📁 该程序能够准确的记录互联网用户上网所用的流量
💻 JSP
字号:
<%@ 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 xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>无标题文档</title><script type="text/javascript" src="../../js/calendar.js"></script><link href="../../css/shct10000.css" rel="stylesheet" type="text/css" /></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" align="center">         	<tr>         		<td id="card1" width="776" align="center" bgcolor="#3D84CD" style="cursor:hand; color:#ffffff; font-size:14px; font-weight:bold">         			用户上网详细记录</td>			            </tr>    </table><table width="776" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">      <tr bordercolor="#CCCCCC" bgcolor="#FFFFFF">  	<td width="8%" nowrap="nowrap">帐号</td>    <td width="8%" nowrap="nowrap">登陆时间</td>    <td width="8%" nowrap="nowrap">退出时间</td>    <td width="6%" nowrap="nowrap">上传</td>    <td width="6%" nowrap="nowrap">下载</td>    <td width="10%" nowrap="nowrap">服务类型</td>    <td width="10%" nowrap="nowrap">服务协议</td>    <td width="8%" nowrap="nowrap">访问延时</td>    <td width="8%" nowrap="nowrap">停止延时</td>    <td width="10%" nowrap="nowrap">NAS地址</td>    <td width="8%" nowrap="nowrap">总流量</td>    <td width="8%" nowrap="nowrap">总时长</td>  </tr>    <c:forEach items="${detail}" var="detail" >  <tr bordercolor="#CCCCCC" bgcolor="#FFFFFF">  	<td>&nbsp;${detail.username}</td>    <td>&nbsp;${detail.acctstarttime }</td>    <td>&nbsp;${detail.acctstoptime}</td>    <td>&nbsp;${detail.acctoutputoctets}</td>    <td>&nbsp;${detail.acctinputoctets}</td>    <td>&nbsp;${detail.servicetype }</td>    <td>&nbsp;${detail.framedprotocol }</td>    <td>&nbsp;${detail.acctstartdelay }</td>    <td>&nbsp;${detail.acctstopdelay }</td>    <td>&nbsp;${detail.nasipaddress }</td>    <td>&nbsp;${detail.acctinputoctets+detail.acctoutputoctets}</td>    <td>&nbsp;${detail.acctsessiontime}</td>  </tr>  </c:forEach>  <tr > 	<td colspan="12" align="center">	                  <c:if test="${currentPage>1}">   <a href = " serch.do?maxNumPerPage=10&pager.offset=0&pageNo=1 " ><nobr> [  1  首页 ] </nobr></a>  </c:if>        	<c:forEach var="num" begin="1" end="${requestScope.pages}">    <a href = "serch.do?maxNumPerPage=10&pager.offset=${num-1}&pageNo=${num}&startDate=${startDate}&endDate=${endDate}">${num}</a >      <!--   <a href = " showUserDetail.do?maxNumPerPage=10&pager.offset=10&pageNo=2 " >2</ a >        <a href = " showUserDetail.do?maxNumPerPage=10&pager.offset=20&pageNo=3 " >3</ a >        <a href = " showUserDetail.do?maxNumPerPage=10&pager.offset=30&pageNo=4 " >4</ a >        <a href = " showUserDetail.do?maxNumPerPage=10&pager.offset=40&pageNo=5 " >5</ a >        <a href = " showUserDetail.do?maxNumPerPage=10&pager.offset=50&pageNo=6 " >6</ a >    -->  </c:forEach>    <c:choose>  	<c:when test="${currentPage<pages}">   <a href = " serch.do?maxNumPerPage=10&pager=${currentPage*10}&pageNo=${currentPage+1 }" ><nobr> [ 下一页  ${currentPage+1}  ] </nobr></a>  	</c:when> 	<c:otherwise> 	<a href = " serch.do?maxNumPerPage=10&pager=${currentPage*10}&pageNo=${currentPage }" ><nobr> [ 下一页  ${currentPage}  ] </nobr></a>  	</c:otherwise>  </c:choose>     <a href = " serch.do?maxNumPerPage=10&pager=${pages*10-10}&pageNo=${pages}" ><nobr> [ 跳进  ] </nobr></a>        <a href = " serch.do?maxNumPerPage=10&pager=${pages*10-10}&pageNo=${pages}" ><nobr> [ 尾页  ${pages}  ] </nobr></a>                 </td></tr></table>  </body></html>

⌨️ 快捷键说明

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