?? news_contentdisplay.asp
字號:
<!--#include file="../Include/AdoConn.asp"-->
<!--#include file="../Include/online.asp"-->
<%
NewsTitle=request.querystring("NewsTitle")
SendDate=Cdate(request.querystring("SendDate"))
StrSQL="select * from XT_VD_UserMessage where 消息題名='"&NewsTitle&"'and 發送日期='"&SendDate&"'"
set rst=server.CreateObject ("adodb.recordset")
rst.CursorType =3
rst.CursorLocation =3
rst.LockType =2
rst.Open strsql,strconn
if not rst.EOF then
%>
<html>
<head>
<title>新聞內容</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="/CssLib/Cssbutton.css">
</head>
<body bgcolor="#FFFFFF" text="#000000" >
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="6" background="../public/images/content_1.gif" height="20"></td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="586" background="../public/images/content_2.gif" height="20"> </td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="6" background="../public/images/content_3.gif" height="20"></td>
</tr>
<tr>
<td width="6" background="../public/images/content_1.gif" height="20"></td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="586" height="60" align="center">
<table style="font-size:9pt" width="450" border="1" cellspacing="0" cellpadding="0" align="center" bordercolor="#CCCCCC" bgcolor="#F5F5F5">
<tr>
<td width="48" height="18" bgcolor="#E8E8E8">
<div align="center">標 題</div>
</td>
<td colspan="3" height="18" bgcolor="#E8E8E8"><%=rst("消息題名")%> </td>
<td height="18" bgcolor="#E8E8E8">附件列表</td>
</tr>
<tr>
<td width="48" height="18" bgcolor="#E8E8E8">
<div align="center">發送者</div>
</td>
<td width="100" height="18" bgcolor="#E8E8E8"><%=rst("發送人姓名")%></td>
<td width="64" height="18" bgcolor="#E8E8E8">
<div align="center">發送日期</div>
</td>
<td width="97" height="18" bgcolor="#E8E8E8"><%=rst("發送日期")%></td>
<td width="97" height="18" bgcolor="#E8E8E8">
<%if rst("附件號")<>"0" then
fjFileName=split(rst("附件名"),"/")
for i=1 to ubound(fjFileName)
Response.Write "<a href=..\news\fj\" + server.URLEncode(fjFileName(i))+" class=blank target='_blank'><img src='images/fj.gif' width='16' height='16' border='0'></a>"
next
else
response.write "無"
end if
%>
</td>
</tr>
</table>
<input type="button" name="Submit" value="打印" class="button" onClick="window.print()">
<input type="button" name="Submit2" value="關閉" class="button" onClick="window.close()">
</td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="6" background="../public/images/content_3.gif" height="20"></td>
</tr>
<tr>
<td width="6" background="../public/images/content_1.gif" height="20"></td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="586" height="25" bgcolor="#FFFFFF">
<div align="center"><font color="#0066CC" size="3"> <font color="#663399">*****</font><font color="#663399">*****</font><font color="#663399">
消 息 內 容</font><font color="#0066CC" size="3"><font color="#663399">*****</font></font><font color="#663399">*****</font><font color="#663399">**</font></font></div>
</td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="6" background="../public/images/content_3.gif" height="20"></td>
</tr>
<tr>
<td width="6" background="../public/images/content_1.gif" height="150"></td>
<td width="20" background="../public/images/content_2.gif" height="150"> </td>
<td height="150">
<table style="font-size:9pt; LINE-HEIGHT: 180%" width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td background="../public/images/content_4.gif" height="250" valign="top">
<font color="#3366CC"><%=replace(rst("消息內容"),chr(10),"<br>")%></font> </td>
</tr>
</table>
</td>
<td width="20" background="../public/images/content_2.gif" height="150"> </td>
<td width="6" background="../public/images/content_3.gif" height="150"></td>
</tr>
<tr>
<td width="6" background="../public/images/content_1.gif" height="20"></td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="586" background="../public/images/content_2.gif" height="20"> </td>
<td width="20" background="../public/images/content_2.gif" height="20"> </td>
<td width="6" background="../public/images/content_3.gif" height="20"></td>
</tr>
</table>
</body>
</html>
<%end if%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -