📄 newsinfo.asp
字号:
<!--#include file="session.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="img/admin_style.css">
<title>动态信息</title></head>
<body>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from news where id="&request("moreid")
rs.open sql,conn,3,3
if rs.eof then
response.write"没有此动态消息!"
else
%>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="mainmiddle">
<tr>
<td width="29" height="32"> <div align="left">
<p class="maindaohang"> </p>
</div></td>
<td width="709"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table>
<div align="center"><b><font color="#000000"><b> <span class="bigNavi"> <%=rs("title")%></span> </b></font></b></div></td>
<td width="8" class="mainrights"></td>
</tr>
</table>
<br>
<table width="95%" height="22" border="0" align="center" cellpadding="3" cellspacing="1" class="tabbgcolor">
<tr class="tabbgcolorli">
<td width="10%">
</td>
<td colspan="2"> <div align="center">发布人:<%=rs("addman")%> 发布日期:<%=rs("date")%>
<table width="90%" border="0" cellspacing="0" cellpadding="0" style="border-top:1px dotted #000000">
<tr>
<td></td>
</tr>
</table>
<br>
<%=rs("content")%> </div>
</td>
<td width="10%">
</td>
</tr>
<%
rs.close
end if
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -