📄 bookedit.asp
字号:
<%
'###########################################################
'# 文件名: bookedit.asp
'# 创建人: yaoxiaohui
'# 日期: 2002-07-21
'# 修改历史: ****-**-**
'# 修改内容: *************
'# 功能描述: 图书信息修改删除
'# 版 本:
'# Copyright(c) 2001-2002 上海阿尔卡特网络支援系统有限公司
'###########################################################
option explicit
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>
<!-- #include file="../include/config.inc" -->
<!-- #include file="../include/common.inc" -->
<!-- #include file="../include/debug.inc" -->
<!-- #include file="../include/db.inc" -->
<!-- #include file="../include/emp.inc" -->
<!-- #include file="../include/date.inc" -->
<!-- #include file="../include/datahandle.inc" -->
<!-- #include file="../include/recordlist.inc" -->
<!-- #include file="../include/security.inc" -->
<!-- #include file="../common/commonpage.inc" -->
<!-- #include file="bookedit.inc" -->
<%
'call CheckSecurity()
'----------------------------------------------------------
'----------------------------------------------------------
' 如果是提交,则调用函数TypeMaintain更新数据库
Dim sSQL, sWhere, sOrderby
'sSQL = "select sn,name,dept,starttime from t_rule_info"
if UCase(Request.ServerVariables("REQUEST_METHOD") = "POST") then
if Not IsEmpty(GetParam("formAction")) Then
InfoMaintain()
else
sWhere=InfoSearch()
'sSQL = sSQL & " WHERE starttime>='2002-6-24' and endtime<='2002-6-24'"
end if
end if
'----------------------------------------------------------
' 分页相关的变量定义
Dim sFileName : sFileName = "BookEdit.asp"
Dim sEmpId : sEmpId = GetUserId
Dim iTotalRecords : iTotalRecords = 0 ' 分页
Dim iRecordsPerPage : iRecordsPerPage = 15
Dim iTotalPages : iTotalPages = 0
Dim iCols : iCols = 3
Dim iCurrentPage : iCurrentPage = GetParam("Page")
Dim iSort : iSort = GetParam("Sorting")
Dim iSorted : iSorted = GetParam("Sorted")
Dim sSortParams : sSortParams = ""
Dim sFormParams : sFormParams = ""
Dim sDirection : sDirection = ""
%>
<HTML>
<HEAD>
<title>上海信息大楼 Shanghai Information Tower</title>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<link rel="stylesheet" href="../common/common.css" type="text/css">
<style type="text/css">
input {color:blue;border-width:0}
textarea {color:blue;border-width:0}
</style>
<!-- 日历 -->
<IFRAME style="display:none;position:absolute;width:148;height:194;z-index=100" ID="CalFrame" MarginHeight=0 MarginWidth=0 noresize frameborder=0 scrolling=no src="../common/cal/calendar.htm"></IFRAME>
<script language="javascript" src="../common/cal/calendar.js"></script>
<script for=document event="onclick()">
<!--
document.all.CalFrame.style.display="none";
//-->
</script>
<!-- 日历 -->
<script language="VBScript" src="../common/validate.vbs"></script>
</HEAD>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" background="../images/bg/bg0.jpg">
<br>
<%
Response.Write OuterTableHeader
Response.Write HeaderWithMenu
Response.Write InnerTableHeader
'----------------------------------------------------------
Response.Write TableAdd
'----------------------------------------------------------
'----------------------------------------------------------
Response.Write TableLink
'----------------------------------------------------------
Response.Write InnerTableTailer
Response.Write Footer
Response.Write OuterTableTailer
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -