📄 list_news_print.asp
字号:
<!--#include file=conn/adodb.asp-->
<%
dim id,sql,rs
id=session("id")
sql="select * from news where id=cstr('"&id&"')"
set rs=db.execute(sql)
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
<!--#include file=title.asp-->
--<%=rs("title")%></title>
<style type="text/css">
<!--
.f {
font-size: 10pt;
text-decoration: none;
line-height: 20px;
color: 333333;
}
-->
</style>
<style type="text/css">
<!--
.h {
line-height: 2px;
}
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body topmargin="2">
<div align="center">
<table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999">
<tr>
<td height="32" bgcolor="#eeeeee"><strong> <span class="f"><%=rs("title")%></span></strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="f"> <table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="2%" class="f"> </td>
<td width="98%" class="f">
<%
dim aa,bb
aa=rs("content")
bb=split(aa,chr(10))
for each item in bb
response.write "<br> "&item&"<br>"
next
%>
</td>
</tr>
</table>
<br></td>
</tr>
<tr>
<td height="18" bgcolor="#FFFFFF" class="f"> </td>
</tr>
<tr>
<td height="25" align="right" bgcolor="#CCCCCC" class="f"><a href="javascript:window.print()" class="f">打印</a>|<a href="javascript:window.close()" class="f">关闭窗口</a></td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -