?? index.jsp
字號:
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/inc/pv/super.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
java.util.ArrayList roleList = new java.util.ArrayList();
igec.site.base.bean.SysObj info = new igec.site.base.bean.SysObj();
info.setStrValue1(user.getStrUserId());
int iFlag = igec.site.base.business.MRoleBusiness.getRoleList(roleList,info,request);
if(iFlag<0){
showError(out);
return;
}
//獲取所有的菜單類型列表
java.util.ArrayList lists = new java.util.ArrayList();
igec.site.base.bean.SysObj info1 = new igec.site.base.bean.SysObj();
info1.setStrValue1(igec.util.Tool.getStr(request.getParameter("W_START")));
info1.setStrValue2(igec.util.Tool.getStr(request.getParameter("W_END")));
info1.setStrValue3(igec.util.Tool.getStr(request.getParameter("USERID")));
info1.setStrValue4(igec.util.Tool.getStr(request.getParameter("ROLEID")));
info1.setStrValue5(user.getStrAdminType());
iFlag = igec.site.base.business.MLogBusiness.getLogList(lists,info1,request);
if(iFlag<0){
showError("程序異常!",out);
return;
}
%>
<html>
<head>
<title>操作日志管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" type="text/css" href="<%=strCssPath%>">
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/CalendarDlg.js"></script>
<script language="javascript" src="<%=strSkinBase%>/js/forbid.js"></script>
<script language="javascript">
<!--
function openMaxWin(strHref){
openWindow(strHref,screen.availWidth,screen.availHeight);
}
function deleteLog(){
var strResult = getSelectRsFromForm("RSID",form1);
if("ERROR"==strResult){
return;
}
delRs("<%=site.bean.SitePara.strVirtualName + site.bean.SitePara.strManageFolder%>/log.do?action=del&id=" + strResult);
}
//-->
</script>
</head>
<body class="bodycolor" topmargin="5">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/notify_new.gif" align="absmiddle"><span class="big3"> 操作日志查詢</span>
</td>
</tr>
</table>
<table border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3" align="center" >
<form action="" method="get" name="form2" id="form2">
<tr>
<td nowrap class="TableData">時間范圍:</td>
<td class="TableData">
<input type="text" name="W_START" size="9" maxlength="19" class="BigInput" value="<%=info1.getStrValue1()%>">
<img src="<%=strSkinBase%>/images/menu/calendar.gif" border="0" align="absMiddle" style="cursor:hand" onclick="fPopUpCalendarDlg('<%=igec.site.base.bean.SitePara.strVirtualName%>',form2.W_START);"> 至
<input type="text" name="W_END" size="9" maxlength="19" class="BigInput" value="<%=info1.getStrValue2()%>">
<img src="<%=strSkinBase%>/images/menu/calendar.gif" border="0" align="absMiddle" style="cursor:hand" onclick="fPopUpCalendarDlg('<%=igec.site.base.bean.SitePara.strVirtualName%>',form2.W_END);">
</td>
<td nowrap class="TableData">用戶ID:</td>
<td class="TableData">
<input type="text" name="USERID" size="6" maxlength="10" class="BigInput" value="<%=info1.getStrValue3()%>"> <input type="button" value="選擇" class="BigButton" title="從管理員列表中進行選擇" name="button" onclick="javascript:openWindow('<%=strSkinBase%>/system/singleuser.jsp?rec=USERID','500','200');">
</td>
<td nowrap class="TableData">用戶角色:</td>
<td class="TableData">
<select name="ROLEID" class="BigSelect" EmptyDisable label="角色">
<option value=""></option>
<%
for(int i=0;i<roleList.size();i++){
igec.site.base.bean.SysObj so = (igec.site.base.bean.SysObj)roleList.get(i);
if(so!=null){
%>
<option value="<%=so.getStrValue1()%>" <%if(so.getStrValue1().equals(info1.getStrValue4())){out.println("selected");}%>><%=so.getStrValue2()%></option>
<%}}%>
</select>
</td>
<td nowrap class="TableControl" colspan="2" align="center">
<input type="submit" value="查詢" class="BigButton" title="根據條件進行查詢" name="button">  
</td>
</tr>
</form>
</table>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height="3">
<tr>
<td background="<%=strSkinBase%>/images/dian1.gif" width="100%"></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="<%=strSkinBase%>/images/notify_open.gif" align="absmiddle"><span class="big3"> <a name="bottom">操作日志管理</span>
</td>
</tr>
</table>
<table align="center" border="0" cellspacing="1" width="100%" class="small" bgcolor="#000000" cellpadding="3">
<form name="form1" id="form1">
<%
for(int i=0;i<lists.size();i++){
igec.site.base.bean.StandSysObj so = (igec.site.base.bean.StandSysObj)lists.get(i);
if(so!=null){
%>
<tr class="TableLine1 TextColor2" title="PATH:<%=igec.util.Tool.replaceAll(so.getStrValue4(),"\"","”")%>" style="cursor:default">
<td>
<input type="checkbox" name="RSID" value="<%=so.getStrValue1()%>">
</td>
<td nowrap align="center"><%=so.getStrValue2()%></td>
<td nowrap align="center"><%=so.getStrValue3()%></td>
<td nowrap align="center"><%=so.getStrValue5()%></td>
<td align="center"><%=igec.util.FormatUtil.getShowStr(so.getStrValue6(),60,"...")%></td>
<td nowrap align="center"><%=so.getStrValue8()%></td>
<td nowrap align="center"><%=so.getStrValue7()%></td>
</tr>
<%}}%>
<thead class="TableHeader">
<td nowrap align="center" width="40">選擇</td>
<td nowrap align="center">用戶ID</td>
<td nowrap align="center">真實姓名</td>
<td nowrap align="center">標題</td>
<td nowrap align="center">描述</td>
<td nowrap align="center">時間</td>
<td nowrap align="center">IP地址</td>
</thead>
<tr class="TableControl">
<td colspan="10">
<input type="checkbox" name="allbox" id="allbox_for" onClick="checkAll(this,'RSID',form1);">
<label for="allbox_for">全選</label>
<input type="button" value="刪除" class="SmallButton" onClick="deleteLog();" title="刪除所選日志">
</td>
</tr>
</form>
</table>
<table border="0" cellspacing="0" width="100%" cellpadding="0">
<tr><td height="40" <%if(lists.size()>0){%>align="right"<%}else{%>align="center"<%}%> valign="middle"><span class="big3"><%=info1.getStrValue5()%></span></td></tr>
</table>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -