⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 filetyprpost.asp

📁 绿叶OA 一个功能比较全面的办公OA系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT"%>
<%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" -->
<%t=request("select")
Dim files__u
files__u = "1"
If (Session("userssdfgfhtrh") <> "") Then 
  files__u = Session("userssdfgfhtrh")
End If
%>
<%
Dim files__MMColParam
files__MMColParam = "1"
If (Session("names")  <> "") Then 
  files__MMColParam = Session("names") 
End If
%>
<%
Dim files__many
files__many = "1"
If ("|"&Session("names")&"|" <> "") Then 
  files__many = "|"&Session("names")&"|"
End If
%>
<%
Dim files__bumen
files__bumen = "1"
If (session("bumen")&"," <> "") Then 
  files__bumen = session("bumen")&","
End If
%>
<%
Dim files__d
files__d = "1"
If (request("id") <> "") Then 
  files__d = request("id")
End If
%>
<%
dim s_filename
Dim files
Dim files_numRows
dim varfnames
Set files = Server.CreateObject("ADODB.Recordset")
files.ActiveConnection = MM_oavbsconn_STRING
files.Source = "SELECT *  FROM 文件信息  WHERE ((接收人姓名 = '" + Replace(files__MMColParam, "'", "''") + "' and manygeterdel not like '%" + Replace(files__many, "'", "''") + "%') or (manygeter like '%" + Replace(files__many, "'", "''") + "%'and manygeterdel not like '%" + Replace(files__many, "'", "''") + "%') or (manygeter like '%" + Replace(files__bumen, "'", "''") + "%'and manygeterdel not like '%" + Replace(files__many, "'", "''") + "%') or (manygeter='对所有人群发' and manygeterdel not like '%" + Replace(files__many, "'", "''") + "%') or ( 接收人姓名='对所有人群发' and manygeterdel not like '%" + Replace(files__many, "'", "''") + "%') or (上传人帐号='" + Replace(files__u, "'", "''") + "'))and id=" + Replace(files__d, "'", "''") + "  ORDER BY ID DESC"
files.CursorType = 0
files.CursorLocation = 2
files.LockType = 3
files.Open()
%>
<%if not files.eof or not files.bof then
files("文件类别")=t
files.update

files.Close()
Set files = Nothing
response.redirect ("../../userfolderasdffqerdfv/adminfiles/accessfiles/list.asp")
%>

<%else
files.Close()
Set files = Nothing
%>
<script>
{
alert("文件数据不存在。");history.go(-1)
}
</script>
<%response.end()
end if%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -