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

📄 f_detail.asp

📁 房地产信息管理平台
💻 ASP
字号:
<!-- #include File=../../showsort/showsort(file).asp -->
<%
	function writerr(k)
		k=replace(k,"&","&amp;")
		k=replace(k,"<","&lt;")
		k=replace(k,">","&gt;")
		k=replace(k,chr(36),"&quot;")
		k=replace(k,chr(13)&chr(10),"<br>")
		writerr=k
	end function
	sql="select * from file_main where id='"&request("id")&"'"
    set rs=server.createobject("ADODB.Recordset")
    rs.open sql,source,3,3
if rs("expose")=0 then expose="公开"
if rs("expose")=1 then expose="半公开"
if rs("expose")=2 then expose="不公开"
%>
<html>
<head>
<title>weboa</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../../<%=session("color")%>.css" rel=stylesheet type=text/css>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="L2">
  <tr> 
    <td width="23%">撰写人: <%=rs("name")%> &nbsp; </td>
    <td width="38%">文件名:<font color=red> <%=rs("file_name")%> 
      &nbsp;</font> </td>
    <td width="39%">授权对象:<% if rs("expose")=1 then %><%=rs("reader")%><% end if %>
    </td>
  </tr>
</table>
<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF" class="L2">
  <tr> 
    <td width="9%">公开程度</td>
    <td width="17%"><%=expose%></td>
    <td width="7%">附件</td>
    <td width="7%"> <%if rs("title")<>"" then%> <a href="#" onClick="window.open('text/<%=rs("title")%>','','menubar=no,scrollbars=yes,width=600,height=500,left=150,top=50')"><img src="images/i_sign.gif" width="13" height="12" border=0></a> 
      <%else%> &nbsp; <%end if%> </td>
    <td width="10%">文件类别</td>
    <td width="14%"><%=rs("sort")%></td>
    <td width="10%">入档时间</td>
    <td width="26%"><%if rs("input_date")<>"" then%> <%=rs("input_date")%> <%else%> 
      &nbsp; <%end if%> </td>
  </tr>
  <tr> 
    <td width="9%" height="360" valign="top">内容</td>
    <td colspan="7" height="320" valign="top"><%=writerr(rs("memo"))%>&nbsp;</td>
  </tr>
</table>
<p align="right"> 
  <a href="#"><input type="image" border="0" name="sumbit" src="../../images/i_button_3.gif" onclick=window.close()></a>
</p>
</body>
</html>

⌨️ 快捷键说明

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