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

📄 showfileinfo.asp

📁 为我们公司使用的oa系统
💻 ASP
字号:
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../Style/Main.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #0000FF}
.style2 {color: #996600}
-->
</style>
</head>
<body>
<% 
    Dim SQLstr,Rs,keyID,action
	
	keyID=request("ID")
	action=request("action")
	if keyID>0 then
	   set Rs=server.CreateObject("Adodb.RecordSet")
       SQLstr="select * from [fileinfo] where filekey="&KeyID
       Rs.open SQLstr,cnsql,1,1
 %>
<table width="640" height="113%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3" height="0%" bgcolor="#FFFFFF"></td>
  </tr>
  <tr>
    <td width="1" height="100%" valign="top" bgcolor="#FFFFFF">&nbsp;
    </td>
    <td width="1"></td>
    <td width="640" bgcolor="#FFFFFF" valign="top" align="center">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="6"><table width="98%" border="0" align="center" cellpadding="8" cellspacing="1" bgcolor="#C7C7C7">
              <tr align="center" bgcolor="#E8E8E8">
                <td class="font4"> 公司制度文件浏览</td>
              </tr>
            </table>
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="6"></td>
                </tr>
            </table></td>
        </tr>
      </table>
      <form name="form1" method="post" action="">
        <table width="98%" border="0" cellspacing="1" cellpadding="4" bgcolor="#293863">
          <tr bgcolor="#E8E8E8" align="center">
            <td colspan="2"><%=Rs("filetitle")%></td>
          </tr>          
          <tr align="center"> 
            <td width="17%" align="center" bgcolor="#FFFFFF"> <div align="center">添加者</div></td>
            <td width="83%" align="left" bgcolor="#FFFFFF"><%=Rs("addfileuser")%></td>
          </tr>
          <tr align="center"> 
            <td align="center" bgcolor="#FFFFFF">发布时间</td>
            <td align="left" bgcolor="#FFFFFF"><%=Rs("filetime")%></td>
          </tr>
          <tr align="center">
            <td height="188" align="center" bgcolor="#FFFFFF">内容</td>
            <td align="left" bgcolor="#FFFFFF"><%=Rs("fileContent")%> </td>
          </tr>
          <tr align="center">
            <td align="center" bgcolor="#FFFFFF">&nbsp;</td>
            <td align="left" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
		  <% if trim(action)="del" then  %>
		  <% elseif trim(action)="view" then %>
		  <tr align="center"> 
            <td bgcolor="#FFFFFF" colspan="2"><a href="javascript:window.close()"><font color="#006600">关闭窗口</font></a> <a href="javascript:window.print();">打印</a></td>
          </tr>
		  <% end if %>
        </table>
      </form>
      <br>    </td>
  </tr>
  <tr><% end if
        set Rs=nothing
	    set cnsql=nothing 
   %>
    <td colspan="3" height="0%"></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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