?? article.asp
字號:
<!--#include file="conn_db.asp"-->
<html>
<head>
<title>本站公告</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"><style type="text/css">
<!--
body {
background-image: url(images/bg.gif);
}
-->
</style></head>
<body>
<center>
<%
dim id
id=request("id") ' ??????????
' ??????????
dim sql,rs
sql="select * from article where id =" & id
set rs=db.execute(sql)
%>
<table border="1" width="400" bordercolor="#000000" style="border-collapse: collapse" cellpadding="0" cellspacing="0">
<tr>
<td width=37>標題</td>
<td width="360"><%=rs("title")%></td>
</tr>
<tr>
<td width="37">內容</td>
<td width="360"><%=rs("articlebody")%></td>
</tr>
<tr>
<td width="397" colspan="2">作者:<%=rs("name")%>發布時間:<%=rs("submit_date")%></td>
</tr>
</table>
<p>
<%
' ????
sql="select * from article where parent_id=" & id
sql=sql + " order by submit_date desc"
set rs=db.execute(sql)
do while not rs.eof
%>
<%
rs.movenext
loop
%>
</p>
<p> </p>
<p><a href="index.htm">返回首面</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center">Copyright 2006-2008 http://cm86.vicp.net All Rights Reserved </p>
<p align="center"><font color="#E3E9F1" size="6" face="華文行楷">CM 新 聞 發 布 系 統 V 1。0</font> </p>
<p> </p>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -