📄 adminlog.jsp
字号:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="../common/include/taglibs.jsp" %>
<html:html>
<head>
<title><lybbs:web key="forumName"/> - <bean:message key="jsp.admincenter.title"/></title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="bookmark" href="favicon.ico" type="image/x-icon">
<%@ include file="../common/include/adminheader.jsp" %>
</head>
<%String sessionToken=ParameterUtils.getString(request,"sessionToken");%>
<body bgcolor="#555555" topmargin=5 leftmargin=5>
<table width=95% cellpadding=0 cellspacing=1 border=0 bgcolor=#000000 align=center>
<tr>
<td>
<table width=100% cellpadding=0 cellspacing=1 border=0>
<tr>
<td valign=top bgcolor=#FFFFFF>
<lybbs:typeLeftTag/>
</td>
<td width=78% valign=top bgcolor=#FFFFFF>
<table width=100% cellpadding=6 cellspacing=0 border=0>
<form action="bbs_adminLogManager.do" method="post" name="myForm">
<input type=hidden name="checkAction" value="yes">
<input type=hidden name="action" value="<bean:write name="action"/>">
<input type=hidden name="sessionToken" value="<%=sessionToken%>">
<tr>
<td bgcolor="#333333">
<font color=#FFFFFF><b><bean:message key="jsp.admincenter.stat.log"/></b></font>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<TABLE BORDER="0" width=100%>
<TR>
<TD width=40%><bean:message key="common.lybbs.grade"/> </TD>
<TD>
<select name="logLevel">
<option value="0">All</option>
<%--
<option value="1">trace</option>
<option value="2">debug</option>
<option value="3">info</option>
--%>
<option value="4">warn</option>
<option value="5">error</option>
<option value="6">fatal</option>
</select>
</TD>
</TR>
<TR>
<TD><bean:message key="common.lybbs.username"/> <br>leave blank for all user</TD>
<TD>
<input type=text name="logUser" value="">
</TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td bgcolor="#EEEEEE" align=center><input type=submit value="<bean:message key="common.lybbs.view"/>">
</td>
</tr>
</form>
<form action="bbs_adminLogManager.do" method="post" name="myForm2">
<input type=hidden name="checkAction" value="yes">
<input type=hidden name="action" value="delete">
<input type=hidden name="sessionToken" value="<%=sessionToken%>">
<tr>
<td bgcolor="#FFFFFF">
<TABLE BORDER="0" width=100%>
<TR>
<TD width=40%><bean:message key="jsp.admincenter.stat.logdeltime"/></TD>
<TD>
<input type="text" name="delDay" value="0">
</TD>
</TR>
</TABLE>
</td>
</tr>
<tr>
<td bgcolor="#EEEEEE" align=center><input type=submit value="<bean:message key="common.lybbs.delete"/>">
</td>
</tr>
</form>
<logic:present name="list" scope="request">
<tr>
<td bgcolor="#FFFFFF">
<TABLE class=tableCommonStyle cellpadding=6 cellspacing=1 BORDER=0 width=100%>
<TR>
<TD width=5% align=center class=catStyle>ID</TD>
<TD width=8% align=center class=catStyle><bean:message key="common.lybbs.grade"/></TD>
<TD width=5% align=center class=catStyle>Action</TD>
<TD align=center class=catStyle><bean:message key="common.lybbs.content"/></TD>
<TD width=10% align=center class=catStyle><bean:message key="common.lybbs.username"/></TD>
<TD width=10% align=center class=catStyle>IP</TD>
<TD width=18% align=center class=catStyle><bean:message key="common.lybbs.date"/></TD>
</TR>
<logic:iterate id="element" name="list">
<TR>
<TD align=center class=forumColorTwo><bean:write name="element" property="logID"/></TD>
<TD align=center class=forumColorTwo>
<logic:equal name="element" property="logLevel" value="1">
Trace
</logic:equal>
<logic:equal name="element" property="logLevel" value="2">
Debug
</logic:equal>
<logic:equal name="element" property="logLevel" value="3">
Info
</logic:equal>
<logic:equal name="element" property="logLevel" value="4">
Warn
</logic:equal>
<logic:equal name="element" property="logLevel" value="5">
Error
</logic:equal>
<logic:equal name="element" property="logLevel" value="6">
Fatal
</logic:equal>
</TD>
<TD align=center class=forumColorTwo><bean:write name="element" property="logAction"/></TD>
<TD class=forumColorTwo><bean:write name="element" property="logContent"/></TD>
<TD class=forumColorTwo><bean:write name="element" property="logUser"/></TD>
<TD class=forumColorTwo><bean:write name="element" property="logIp"/></TD>
<TD align=center class=forumColorTwo><bean:write name="element" property="logTime"/></TD>
</TR>
</logic:iterate>
<TR>
<TD colspan=7 class=forumColorTwo><bean:write name="pageUtils" property="pageInfo" filter="false"/></TD>
</TR>
</TABEL>
</td>
</tr>
</logic:present>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -