📄 list_news.asp
字号:
<!--#include file=conn/adodb.asp-->
<%
dim id,sql,rs
id=request.querystring("id")
session("id")=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">
<!--
.fontt {
font-size: 10pt;
text-decoration: none;
}
-->
</style>
<style type="text/css">
<!--
a:hover {
font-weight: bold;
color: #FF6600;
text-decoration: underline;
}
-->
</style>
<style type="text/css">
<!--
.ff {
font-size: 10pt;
line-height: 20px;
color: 333333;
}
.h {
line-height: 10px;
}
-->
</style>
</head>
<body bgcolor="#999999" link="#000000" vlink="#000000" topmargin="0">
<table width="80%" border="0" align="center" cellspacing="0">
<tr bgcolor="#FFFFFF">
<td valign="bottom" class="fontt" bgcolor="#FFFFFF" ><!--#include file=top.asp--></td>
</tr>
<tr bgcolor="#FFFFFF">
<td valign="bottom" bgcolor="#FFFFFF" class="hieght" > </td>
</tr>
<tr bgcolor="#FFFFFF">
<td bgcolor="#333333" class="hh"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td bgcolor="#FFFFFF"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="10" align="center" bgcolor="#FFFFFF" class="fontt">
<table width="95%" border="0" cellpadding="0" cellspacing="1" bgcolor="#999999">
<tr>
<td height="32" bgcolor="#FFFFFF" class="fontt">
<strong><%=rs("title")%> </strong> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF" class="fontt"> </td>
</tr>
<tr>
<td height="28" align="center" bgcolor="#0066CC" class="fontt"><font color="#FFFFFF">[文章名称:<%=rs("title")%>|作者:佚名|上传时间:<%=rs("timm")%>|文章录入:管理员]</font></td>
</tr>
<tr>
<td align="center" bgcolor="#FFFFFF" class="fontt">
<table width="97%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ff">
<table>
<%
dim aa,bb
aa=rs("content")
bb=split(aa,chr(10))
for each item in bb
response.write "<br> "&item&"<br>"
next
%>
</table>
</td>
</tr>
</table>
<br></td>
</tr>
<tr>
<td height="18" bgcolor="#FFFFFF" class="fontt"> </td>
</tr>
<tr>
<td height="25" align="right" bgcolor="#CCCCCC" class="fontt"><a href="list_news_print.asp" class="fontt">打印此文</a>|<a href="javascript:window.close()" class="fontt">关闭窗口</a></td>
</tr>
</table>
</td>
</tr>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td align="center" bgcolor="#FFFFFF" class="fontt"> </td>
</tr>
<tr bgcolor="#FFFFFF">
<td valign="middle" bgcolor="#FFFFFF" class="hieght"><!--#include file=bottom.asp--></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -