📄 update.asp
字号:
<%Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"%>
<%
' *** Restrict Access To Page: Grant or deny access to this page
MM_authorizedUsers=""
MM_authFailedURL="../../index.asp"
MM_grantAccess=false
If Session("userssdfgfhtrh") <> "" Then
If (true Or CStr(Session("MM_UserAuthorization"))="") Or _
(InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then
MM_grantAccess = true
End If
End If
If Not MM_grantAccess Then
MM_qsChar = "?"
If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&"
MM_referrer = Request.ServerVariables("URL")
if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString()
MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer)
Response.Redirect(MM_authFailedURL)
End If
%>
<!--#include file="../../Connections/oavbsconn.asp" -->
<%
Dim levels__MMColParam
levels__MMColParam = "1"
If (Session("names") <> "") Then
levels__MMColParam = Session("names")
End If
%>
<%
Dim levels
Dim levels_numRows
Set levels = Server.CreateObject("ADODB.Recordset")
levels.ActiveConnection = MM_oavbsconn_STRING
levels.Source = "SELECT 姓名,操作名称 FROM levelssdfgsfgtrgrthe5fgbdnjyu76 WHERE 姓名 = '" + Replace(levels__MMColParam, "'", "''") + "' and 操作名称='修改人事档案'"
levels.CursorType = 0
levels.CursorLocation = 2
levels.LockType = 1
levels.Open()
levels_numRows = 0
%>
<%if not levels.eof or not levels.bof then%>
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request("ID") <> "") Then
Recordset1__MMColParam = Request("ID")
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT * FROM 用户基本自资料vfsrgftvrtrefverfcadfc WHERE ID = " + Replace(Recordset1__MMColParam, "'", "''") + ""
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim sex
Dim sex_numRows
Set sex = Server.CreateObject("ADODB.Recordset")
sex.ActiveConnection = MM_oavbsconn_STRING
sex.Source = "SELECT * FROM sex"
sex.CursorType = 0
sex.CursorLocation = 2
sex.LockType = 1
sex.Open()
sex_numRows = 0
%>
<%
Dim hunyin
Dim hunyin_numRows
Set hunyin = Server.CreateObject("ADODB.Recordset")
hunyin.ActiveConnection = MM_oavbsconn_STRING
hunyin.Source = "SELECT * FROM 婚姻状况"
hunyin.CursorType = 0
hunyin.CursorLocation = 2
hunyin.LockType = 1
hunyin.Open()
hunyin_numRows = 0
%>
<%
Dim xuexing
Dim xuexing_numRows
Set xuexing = Server.CreateObject("ADODB.Recordset")
xuexing.ActiveConnection = MM_oavbsconn_STRING
xuexing.Source = "SELECT * FROM 血型"
xuexing.CursorType = 0
xuexing.CursorLocation = 2
xuexing.LockType = 1
xuexing.Open()
xuexing_numRows = 0
%>
<%
Dim xueli
Dim xueli_numRows
Set xueli = Server.CreateObject("ADODB.Recordset")
xueli.ActiveConnection = MM_oavbsconn_STRING
xueli.Source = "SELECT * FROM 学历"
xueli.CursorType = 0
xueli.CursorLocation = 2
xueli.LockType = 1
xueli.Open()
xueli_numRows = 0
%>
<%
Dim zhengzhi
Dim zhengzhi_numRows
Set zhengzhi = Server.CreateObject("ADODB.Recordset")
zhengzhi.ActiveConnection = MM_oavbsconn_STRING
zhengzhi.Source = "SELECT * FROM 政治面貌"
zhengzhi.CursorType = 0
zhengzhi.CursorLocation = 2
zhengzhi.LockType = 1
zhengzhi.Open()
zhengzhi_numRows = 0
%>
<%
Dim Recordset11__MMColParam
Recordset1__MMColParam = "对所有人群发"
If (Request("MM_EmptyValue") <> "") Then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -