adminyijianfcgf.asp

来自「绿叶oa系统办公自动化 2008.工作日志管理,文件管理」· ASP 代码 · 共 427 行 · 第 1/2 页

ASP
427
字号
Dim Repeat3__index

Repeat3__numRows = -1
Repeat3__index = 0
Recordset2_numRows = Recordset2_numRows + Repeat3__numRows
%><%
function HTMLEncode(fString)

	fString = replace(fString, ">", "&gt;")
	fString = replace(fString, "<", "&lt;")
	fString = Replace(fString, CHR(13), "")
	fString = replace(fString,chr(32),"&nbsp;")
	fString = Replace(fString, CHR(10) & CHR(10), "</P><P>")
	fString = Replace(fString, CHR(10), "<BR>")
	HTMLEncode = fString

end function
%>

<link href="../../css/link1.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style37 {color: #FF0000}
.style40 {font-weight: bold; color: #FFFFFF; }
.style41 {color: #009933}
.style42 {color: #999999}
.style36 {font-size: 13px;
	color: #FFFFFF;
	font-weight: bold;
}
.style38 {color: #FFFFFF;
	font-size: 14px;
	font-weight: bold;
}
.style5 {color: #FFFFFF}
body {
	margin-top: 2px;
}
-->
</style><%q=request("q")%>
<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="5%"><div align="right">收文:</div></td>
    <td width="2%"><div align="right"><img src="../../img/txl/29.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/sendgwfoxz.asp">收文拟稿</a></div></td>
    <td width="3%"><div align="right"><img src="../../img/txl/28.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/sentshengqinglistfsdghs.asp">拟稿记录</a></div></td>
    <td width="3%"><div align="right"><img src="../../img/txl/15.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/daishenlist.asp">待审收文</a></div></td>
    <td width="3%"><div align="right"><img src="../../img/txl/26.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/yishenlist.asp">已审收文</a></div></td>
    <td width="3%"><div align="right"><img src="../../img/txl/From.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/getshenlist.asp">审稿列表</a></div></td>
    <td width="3%"><div align="right"><img src="../../img/txl/12.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/havenoqianyuelist.asp">待签收文</a> <span class="style42"></span></div></td>
    <td width="3%"><div align="right"><img src="../../img/txl/1.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/haveedqianyuelist.asp">已签收文</a></div></td>
    <td width="2%"><div align="right"><img src="../../img/txl/16.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/qianyuelist.asp">签阅列表</a></div></td>
    <td width="2%"><div align="right"><img src="../../img/txl/24.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/havenobanlilist.asp">待办收文</a></div></td>
    <td width="2%"><div align="right"><img src="../../img/txl/hn2_sunny.gif" width="19" height="19"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/haveedbanlilist.asp">已办收文</a></div></td>
    <td width="2%"><div align="right"><img src="../../img/txl/31.gif" width="16" height="16"></div></td>
    <td width="6%"><div align="right"><a href="../../toall/shouwen/banlilist.asp">办理列表</a></div></td>
    <td width="1%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><a href="../../toall/fawen/updatimgpath.asp">上传签名</a></td>
    <td>&nbsp;</td>
  </tr>
</table>
<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="20"></td>
    <td width="936" height="20" bgcolor="#FF3333"> <div align="center" class="style40"><span class="style38"><span class="style5"><span class="style13 style5 style6"><span class="style36">收 文
                <%if q="" then%>
                审 稿
                <%elseif q="banli" then%>
                办 理
                <%else%>
                签 阅
                <%end if%>
意 见 管 理 </span></span></span></span></div></td>
  </tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FF3333" >
  <tr>
    <td bgcolor="#FFFFFF">
      <p align="center">      <br>
        <%=HTMLEncode(r.Fields.Item("事由").Value)%>
          <br>
                               时间:<%=(r.Fields.Item("添加时间").Value)%>
  <%if r("最后更新日期")<>"2006-10-1" then%>
  <span class="style37">更新:<%=(r.Fields.Item("最后更新时间").Value)%></span>
  <%end if%>
    点击:<%=(r.Fields.Item("点击").Value)%>   意见:<%=(Recordset2_total)%>条    
      <hr width="95%" size="1" color="#CCCCCC" height="1">
                       <% 
While ((Repeat3__numRows <> 0) AND (NOT Recordset2.EOF)) 
%>
  <% If Not Recordset2.EOF Or Not Recordset2.BOF Then %>
<%dim yj
yj=Recordset2.Fields.Item("审批意见").Value%><%if len(yj)>20 then%><%yjdel=left(yj,20)&".."%><%else%><%yjdel=yj%><%end if%>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td style="word-break:break-all;Width:fixed">&nbsp;<%=HTMLEncode(yj)%>  <br>

                 <br>                                            
        <img src="../../img/bbs/update.gif" width="16" height="16"> <a href="updatefghdfg.asp?ids=<%=(Recordset2.Fields.Item("id").Value)%>&id=<%=request("id")%>&q=<%=request("q")%>">修改</a> <img src="../../img/bbs/del.gif" width="12" height="13"> <a href="delshnepiyijian.asp?id=<%=(Recordset2.Fields.Item("ID").Value)%>&idb=<%=request("id")%>&q=<%=request("q")%>" onClick="return confirm('您确定要删除 <%=yjdel%> 吗?')">删除</a> 
        <%=(Recordset2.Fields.Item("审批时间").Value)%><%if Recordset2("最后更新日期")<>"2006-10-1" then %>
        <span class="style37">更新:<%=(Recordset2.Fields.Item("最后更新时间").Value)%></span>
        <strong>
        <%end if%> 
        </strong>  &nbsp;<br>
                                                     
        <hr width="95%" size="1" color="#CCCCCC" height="1">        
        </td>
    </tr>
  </table><% End If ' end Not Recordset2.EOF Or NOT Recordset2.BOF %>
  <% 
  Repeat3__index=Repeat3__index+1
  Repeat3__numRows=Repeat3__numRows-1
  Recordset2.MoveNext()
Wend
%>
  
                                       拟稿人:<a href="#" title="提交人:<%=r("添加人姓名")%> &nbsp;部门:<%=r("添加人部门")%>"><%=(r.Fields.Item("发送人").Value)%></a><br>                                    
                 &nbsp;                <%=(r.Fields.Item("添加时间").Value)%>  
        <table width="90%" border="0" cellspacing="0" cellpadding="0">
        <% If Not Recordset1.EOF Or Not Recordset1.BOF Then %>
        <% 
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF)) 
%>
    <tr>
            <td width="90%">&nbsp;<a href="redirect.asp?id=<%=(Recordset1.Fields.Item("id").Value)%>&gwid=<%=(Recordset1.Fields.Item("邮件编号").Value)%>&fpath=<%=(Recordset1.Fields.Item("文件路径").Value)%>" target="_blank"><%=(Recordset1.Fields.Item("文件名").Value)%></a> <a href="downfile.asp?id=<%=(Recordset1.Fields.Item("id").Value)%>&gwid=<%=(Recordset1.Fields.Item("邮件编号").Value)%>" >下载</a>  <span class="style42"><%=(Recordset1.Fields.Item("文件上传时间").Value)%> <%=(Recordset1.Fields.Item("上传人姓名").Value)%>(<%=(Recordset1.Fields.Item("上传人部门").Value)%>)</span><br/></td>
        </tr>
        <% 
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  Recordset1.MoveNext()
Wend
%>
        <% End If ' end Not Recordset1.EOF Or NOT Recordset1.BOF %>
  
</table>
      
    <% 
While ((Repeat2__numRows <> 0) AND (NOT Recordset2.EOF)) 
%>
      <% If Not Recordset2.EOF Or Not Recordset2.BOF Then %>
      <% End If ' end Not Recordset2.EOF Or NOT Recordset2.BOF %>
      <% 
  Repeat2__index=Repeat2__index+1
  Repeat2__numRows=Repeat2__numRows-1
  Recordset2.MoveNext()
Wend
%>
  <br>
      <form name="form1" method="post" action="shenpiyuiajincbgsghsd.asp?id=<%=r("id")%>"id")%>
      </form>
    </td></tr>
</table>
<p align="center">  <span class="style37"><%=(Recordset2_total)%></span> 条记录<a href="doshenpideatilvbgf.asp?id=<%=(r.Fields.Item("id").Value)%>">返回</a></p>
<%
r.Close()
Set r = Nothing
%>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset3.Close()
Set Recordset3 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
<%else%>

<script>
{
alert("数据不存在.");history.go(-1);
}
</script>
<%end if%>


⌨️ 快捷键说明

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