📄 detailfdsa.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()
if not Recordset1.eof or not Recordset1.bof then
zpimg=Recordset1.Fields.Item("照片路径").Value
end if
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 Recordset2__MMColParam
Recordset2__MMColParam = "1"
If (Request("ID") <> "") Then
Recordset2__MMColParam = Request("ID")
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_oavbsconn_STRING
Recordset2.Source = "SELECT 文件路径,文件名,id,文件大小,添加时间 FROM 电子附件 WHERE 用户ID = '" + Replace(Recordset2__MMColParam, "'", "''") + "' AND 属性='电子附件'"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()
Recordset2_numRows = 0
%>
<% If Not Recordset2.EOF Or Not Recordset2.BOF Then %>
<%dim ids
ids=Recordset1("id")
end if%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = -1
Repeat1__index = 0
Recordset2_numRows = Recordset2_numRows + Repeat1__numRows
%>
<html>
<head>
<%
function HTMLEncode(fString)
fString = replace(fString, ">", ">")
fString = replace(fString, "<", "<")
fString = Replace(fString, CHR(13), "")
fString = replace(fString,chr(32)," ")
fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
fString = Replace(fString, CHR(10), "<BR>")
HTMLEncode = fString
end function
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
.style1 {
color: #FFFFFF;
font-weight: bold;
}
.style2 {font-size: 12px}
.style2 {font-size: 12px}
-->
</style>
<link href="../../css/link1.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style3 {color: #FFFFFF}
.style9 {color: #999999}
.style10 {color: #5AAE18}
-->
</style>
<div align="center">
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#5AAE18">
<tr>
<td width="6" height="21"><img src="../../img/bbs/leftlin1.gif" width="6" height="21"></td>
<td width="936" bgcolor="#5AAE18"><div align="center"><span class="style3"><span class="style1">人 事 档 案 信 息</span></span></div></td>
<td width="6" height="21"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#5AAE18">
<tr bgcolor="#FFFFFF">
<td width="16%"><div align="right">编 号:</div></td>
<td width="28%"><%=(Recordset1.Fields.Item("编号").Value)%></td>
<td width="56%" rowspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -