searchlogstep1.jsp
来自「jsp开发的固定资产管理系统」· JSP 代码 · 共 63 行
JSP
63 行
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="../incoming/Common.jsp"%>
<%@ include file="../Check.jsp"%>
<%
String username = request.getParameter("username");
String accesstype = request.getParameter("accesstype");
String startoptime = request.getParameter("startoptime");
String endoptime = request.getParameter("endoptime");
Vector listlog = Log.Search(username,startoptime,endoptime,accesstype);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<title><%=title%></title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen">
</head>
<body>
<%@ include file="../incoming/Header.jsp"%>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="100" valign="top" background="../images/in_left_bg.gif"><%@ include file="SystemLeft.jsp"%></td>
<td width="800" align="center" valign="top">
<p align="center" class="title2">查看操作记录</p>
<table width="780" border="1" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
<tr bgcolor="#E7E7E7">
<td width="39" ><div align="center">序号</div></td>
<td width="150" ><div align="center">操作时间</div></td>
<td width="130"><div align="center">操作者</div></td>
<td width="236"><div align="center">操作的数据表</div></td>
<td width="183"><div align="center">操作类型</div></td>
</tr>
<%
for(int i=0;i<listlog.size();i++)
{
Log log = (Log)listlog.elementAt(i);
%>
<tr>
<td><div align="center"><%=i+1%></div></td>
<td><div align="center"><%=DataConvert.ViewStr(log.getLogTime())%></div></td>
<td><div align="center"><%=DataConvert.ViewStr(log.getUserName())%></div></td>
<td><div align="center"><%=DataConvert.ViewStr(log.getTableName())%></div></td>
<td><div align="center"><%=DataConvert.ViewStr(log.getAccessTypeDesp())%></div></td>
</tr>
<%
}
%>
<tr>
<td height="54" colspan="5">
<div align="center">
<input name="back" type="button" id="back" value="返回" onClick="javascript:history.back()">
</div></td>
</tr>
</table>
</td>
</tr>
</table>
<%@ include file="../incoming/Footer.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?