📄 listhead.asp
字号:
<link href="../../include/main.css" rel="stylesheet" type="text/css">
<script src="../../include/function.js" type="text/javascript"></script>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
function ShowSearch()
{
document.all['SearchIcon'].width = 0
document.all['divShowSearch'].style.visibility = 'hidden'
parent.parent.window.Content.cols = "195,1,*"
}
function window_onload(){
if (parent.parent.Content.cols == '0,0,*')
{
document.all['divShowSearch'].style.visibility = 'visible'
document.all['SearchIcon'].width = 26
}
else
{
document.all['divShowSearch'].style.visibility = 'hidden'
document.all['SearchIcon'].width = 0
}
SetRows();
}
function window_onresize() {
SetRows();
}
function SetRows()
{
parent.RightPanel.rows=RightHeadTable.clientHeight + ",*";
}
function DelRecord()
{
var RecordCount;
RecordCount=frmData.RecordCount.value;
if(confirm("警告!\n此操作将删除当前查询出的" + RecordCount + "条操作日志,以及相应数据记录的操作历史。\n您确定要删除吗?")==true)
{
document.frmData.target ="SaveArea";
document.frmData.action="del.asp";
document.frmData.submit();
}
}
function Export()
{
if(HasData())
{
window.showModalDialog("frame.asp?target=exportstep1.asp","","dialogwidth:420px;dialogheight:270px;Status:0;center:1;resizable=1;");
}
else
alert("当前操作日志是空的,没有操作日志可导出。");
}
function HasData()
{
if(PageNavigate.innerText!="" && document.frmData.CurPage.value>0) //用PageNavigate.innerText有无内容和CurPage.value判断list是否已经有数据
return(true);
else
return(false);
}
//-->
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="window_onload()" onresize="window_onresize()">
<table id=RightHeadTable name=RightHeadTable width="100%" border="0" cellPadding=0 cellSpacing=0>
<tr height=20>
<td width="1%">
<div id="divShowSearch" align="left">
<img id="SearchIcon" src="../../images/show.gif" alt="显示查询条件" style="cursor:hand" onClick="ShowSearch()" width="0" height="20" border="0">
</div>
</td>
<td width="69%">
<p align="left" id="PageNavigate">
</p>
</td>
<td width="30%">
<p align="right">
<%if Request.Cookies("Temp")("ButtonOn")="system" then%>
<input type="button" name="btnDel" disabled value="删除" style="cursor:hand; WIDTH: 45px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return DelRecord()">
<%end if%>
<input type="button" name="btnExport" disabled value="导出" style="cursor:hand; WIDTH: 45px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Export()">
</p>
</td>
</tr>
<tr>
<td colspan=3>
<table width=100% cellspacing=1 bgcolor=999999>
<tr>
<td bgcolor=white style='cursor:hand' width=9% onClick=ChgOrder('OperateID') title=按日志号排序>日志号</td>
<td bgcolor=white style='cursor:hand' width=11% onClick=ChgOrder('UserID') title=按操作者排序>操作者</td>
<td bgcolor=white style='cursor:hand' width=16% onClick=ChgOrder('Operation') title=按操作类型排序>操作类型</td>
<td bgcolor=white style='cursor:hand' width=22% onClick=ChgOrder('OperateTime') title=按操作时间排序>操作时间</td>
<td bgcolor=white style='cursor:hand' width=20% onClick=ChgOrder('SheetID') title=按数据表名称排序>数据表名称</td>
<td bgcolor=white width=22%>说明</td>
</tr>
</table>
</td>
<iframe id="SaveArea" name="SaveArea" style="visibility:hidden" width="0" height="0" frameborder="0" src="">
</iframe>
</tr>
<form METHOD="post" name="frmData">
<input TYPE="hidden" NAME="OrderBy" value="<%=Request.Cookies("System")("LogOrderBy")%>">
<input TYPE="hidden" NAME="CurPage">
<input TYPE="hidden" NAME="RowSelect">
<input TYPE="hidden" NAME="RecordCount">
</form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -