<%= rcc("title") %> |
|
<%= rcc("content") %> |
|
<%
set rss2=server.CreateObject("adodb.recordset")
sqlss2="select top 1 * from article where id>"&id&" and smallclassid="&rcc("smallclassid")&" order by id asc"
rss2.open sqlss2,conn,1,1
if not rss2.eof and not rss2.bof then
%>
">上一個(gè) :<%= rss2("title") %>
<% else %>
上一個(gè) 沒(méi)有了
<% End If %> |
<%
set rss3=server.CreateObject("adodb.recordset")
sqlss3="select top 1 * from article where id<"&id&" and smallclassid="&rcc("smallclassid")&" order by id desc"
rss3.open sqlss3,conn,1,1
if not rss3.eof and not rss3.bof then
%>
">下一個(gè) :<%= rss3("title") %>
<% else %>
下一個(gè):沒(méi)有了
<% End If %>
|
|
|
|
|