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

📄 qianyuewgongernsdfgdgf.asp

📁 本oa系统内部短信.手机短信.文件传输.公文收发.邮件服务.共享下载.内部论坛等功能
💻 ASP
字号:

<%  
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" -->

<!--#include file="../../Connections/ifr/ifrasp.asp" -->
<%dim yijian
yijian=request("yijian")
if yijian="" then %>
<script language="javascript">
{
alert("请输入签阅内容!");history.go(-1)
}

</script>
<%response.end()
end if%>

<%
Dim Recordset1__varuser
Recordset1__varuser = "1"
If (Session("userssdfgfhtrh") <> "") Then 
  Recordset1__varuser = Session("userssdfgfhtrh")
End If
%>
<%
Dim Recordset1__MMColParam
Recordset1__MMColParam = "1"
If (Request("idss")  <> "") Then 
  Recordset1__MMColParam = Request("idss") 
End If
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_oavbsconn_STRING
Recordset1.Source = "SELECT *  FROM 签阅意见  WHERE 公文ID = " + Replace(Recordset1__MMColParam, "'", "''") + " and 签阅人帐号='" + Replace(Recordset1__varuser, "'", "''") + "'"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>


<%if not Recordset1.eof or not Recordset1.bof then %>


<script language="javascript">

<!--
alert("本公文您已经签阅!");history.go(-1)
-->

</script>

<%response.end()
end if%>



<%
Dim Recordset2
Dim Recordset2_numRows

Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_oavbsconn_STRING
Recordset2.Source = "SELECT * FROM 签阅意见"
Recordset2.CursorType = 0
Recordset2.CursorLocation = 3
Recordset2.LockType = 3
Recordset2.Open()
Recordset2.addnew
Recordset2("公文ID")=request("idss")
Recordset2("签阅意见")=request("yijian")
Recordset2("签阅人帐号")=Session("userssdfgfhtrh")
Recordset2("签阅人姓名")=Session("names")
Recordset2("签阅人部门")=Session("bumen")
Recordset2.update
Recordset2_numRows = 0
%>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>

<body>

</body>
</html>

<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%><%'response.redirect "detail.asp?id="&cint(id)%>
<%dim id
id=request("idss")%>
<%response.redirect "gongwencontentrfgbdfdgh.asp?id="&cint(id)%>

⌨️ 快捷键说明

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