📄 shenpiyuiajincbgsghsd.asp
字号:
<%
Response.ExpiresAbsolute=now()-1
Response.CacheControl="no-cache"
%>
<%
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 yijian,id,q
id=request("id")
yijian=request.form("yijian")
q=request("q")
%>
<%
if yijian="" then
Response.Write("<script>alert(""请输入审批意见!"");location=""javascript:history.back()"";</script>")
Response.End
end if
%>
<%
if len(yijian)>65535then
Response.Write("<script>alert(""您输入的内容超出数据库极限,系统最多接收的字符是65535个!"");location=""javascript:history.back()"";</script>")
Response.End
end if
%>
<%
Dim img__MMColParam
img__MMColParam = "1"
If (session("names") <> "") Then
img__MMColParam = session("names")
End If
%>
<%
Dim img
Dim img_numRows
Set img = Server.CreateObject("ADODB.Recordset")
img.ActiveConnection = MM_oavbsconn_STRING
img.Source = "SELECT fawenforimg FROM usertertggbng WHERE names = '" + Replace(img__MMColParam, "'", "''") + "'"
img.CursorType = 0
img.CursorLocation = 2
img.LockType = 1
img.Open()
img_numRows = 0
%>
<%if not img.eof or not img.bof then
dim imgp
imgp=img("fawenforimg")
end if
%>
<%
Dim Recordset2__MMColParam
Recordset2__MMColParam = "1"
If (id <> "") Then
Recordset2__MMColParam = id
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows
Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_oavbsconn_STRING
Recordset2.Source = "SELECT 签发,审稿人,导入签发图片,导入审稿图片 FROM fawen WHERE ID = " + Replace(Recordset2__MMColParam, "'", "''") + ""
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 3
Recordset2.Open()
if not Recordset2.eof or not Recordset2.bof then
if q="1" then
if Recordset2("签发")="" then
Recordset2("签发")=session("names")
Recordset2("导入签发图片")=imgp
end if
response.write imgp
end if
Recordset2.update
end if
Recordset2_numRows = 0
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT * FROM fawenyijian"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 3
Recordset1.LockType = 3
Recordset1.Open()
Recordset1.addnew
Recordset1("审批id")=id
Recordset1("审批意见")=yijian
Recordset1("审批人帐号")=Session("userssdfgfhtrh")
Recordset1("审批人姓名")=Session("names")
Recordset1("审批人部门")=Session("bumen")
Recordset1.update
Recordset1_numRows = 0
%>
<%
if q="2" then
response.write "2"
%>
<%
Dim Recordset3__MMColParam
Recordset3__MMColParam = "1"
If (Request("id") <> "") Then
Recordset3__MMColParam = Request("id")
End If
%>
<%
Dim Recordset3__n
Recordset3__n = "1"
If (session("names") <> "") Then
Recordset3__n = session("names")
End If
%>
<%
Dim Recordset3
Dim Recordset3_numRows
Set Recordset3 = Server.CreateObject("ADODB.Recordset")
Recordset3.ActiveConnection = MM_oavbsconn_STRING
Recordset3.Source = "SELECT * FROM fawenshenimg WHERE 发文id = '" + Replace(Recordset3__MMColParam, "'", "''") + "' and 姓名='" + Replace(Recordset3__n, "'", "''") + "'"
Recordset3.CursorType = 0
Recordset3.CursorLocation = 3
Recordset3.LockType = 3
Recordset3.Open()
if not Recordset3.eof or not Recordset3.bof then
else
Recordset3.addnew
response.write "ccsdsad"
Recordset3("发文id")=id
Recordset3("审稿图片路径")=imgp
Recordset3("姓名")=session("names")
Recordset3.update
end if
Recordset3_numRows = 0
%>
<%
Recordset3.Close()
Set Recordset3 = Nothing
%>
<%end if%>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
img.Close()
Set img = Nothing
%>
<%response.redirect "doshenpideatilvbgf.asp?id="&cint(id)%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -