📄 getshenlist.asp
字号:
<%@LANGUAGE="VBSCRIPT"%>
<%
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 r__MMColParam
r__MMColParam = "1"
If ("|"&session("names") <> "") Then
r__MMColParam = "|"&session("names")
End If
%>
<%
Dim r
Dim r_numRows
Set r = Server.CreateObject("ADODB.Recordset")
r.ActiveConnection = MM_oavbsconn_STRING
r.Source = "SELECT * FROM fawen WHERE 接收人 like '%" + Replace(r__MMColParam, "'", "''") + "%' ORDER BY 最后更新时间 desc,id desc"
r.CursorType = 0
r.CursorLocation = 2
r.LockType = 1
r.Open()
r_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index
Repeat1__numRows = 30
Repeat1__index = 0
r_numRows = r_numRows + Repeat1__numRows
%>
<style type="text/css">
<!--
.style36 { font-size: 13px;
color: #FFFFFF;
font-weight: bold;
}
.style5 {color: #FFFFFF}
-->
</style>
<link href="../../css/link.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style37 {color: #000000}
.style38 {color: #FF0000}
.style40 {font-size: 12px}
.style41 {color: #FFFFFF;
font-size: 14px;
font-weight: bold;
}
-->
</style>
<div align="center">
<table width="100%" height="20" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="6" height="20"><img src="/img/bbs/leftlin1red.gif" width="6" height="21"></td>
<td width="936" height="20" bgcolor="#FF3333"><div align="center" class="style41"><span class="style5"><span class="style13 style5 style6"><span class="style36">发 文 列 表</span></span></span></div></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FF3333">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="6" colspan="5"></td>
</tr>
<tr>
<td> </td>
<td><strong>文件标题</strong></td>
<td><div align="center"><strong>修 改</strong></div></td>
<td><div align="center"><strong>提交人</strong></div></td>
<td width="23%"><div align="center"><strong>时 间</strong></div></td>
</tr>
<%
While ((Repeat1__numRows <> 0) AND (NOT r.EOF))
%>
<% If Not r.EOF Or Not r.BOF Then %><%dim geter
geter=r("接收人")%>
<tr bgcolor="#FFFFFF" onMouseOver = "this.style.backgroundColor = '#EEEEEE'" onMouseOut = "this.style.backgroundColor = ''">
<td width="3%"><div align="center"><img src="../tz/img/icon1.gif" width="8" height="9"></div></td>
<td width="63%"><a href="doshenpideatilvbgf.asp?id=<%=(r.Fields.Item("id").Value)%>"><%=(r.Fields.Item("文件标题").Value)%></a></td>
<td width="4%"><div align="center"><a href="updateshenpimyfdda.asp?ID=<%=(r.Fields.Item("ID").Value)%>">修改</a></div></td>
<td width="7%"><div align="center"><%=(r.Fields.Item("添加人姓名").Value)%></div></td>
<td width="23%"><div align="right">
<%if r("最后更新日期")="2006-10-1" then%>
<span class="style5 style37"><%=(r.Fields.Item("添加时间").Value)%></span>
<%end if%>
<%if r("最后更新日期")<>"2006-10-1" then%>
<%if DateDiff("d",r("最后更新日期"),now())<2 then %>
<span class="style12 style38"><%=(r.Fields.Item("最后更新时间").Value)%></span> <span class="style12 style11 style38">[更新]</span>
<%else%>
<span class="style37"><%=(r.Fields.Item("最后更新时间").Value)%></span>
<%end if%>
<%end if%>
</div></td>
</tr>
<% End If ' end Not r.EOF Or NOT r.BOF %>
<%
Repeat1__index=Repeat1__index+1
Repeat1__numRows=Repeat1__numRows-1
r.MoveNext()
Wend
%>
</table></td>
</tr>
</table>
</div>
<div align="center">
<% If r.EOF And r.BOF Then %>
</div>
<p align="center" class="style40">暂无待办发文..</p>
<div align="center">
<p><%end if%>
<%
r.Close()
Set r = Nothing
%>
</p>
<p><a href="javascript:history.go(-1)">返回</a> </p>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -