<% session("save")="reply" dim id,sql,page,cc id=cint((request("id"))) page=cint((request("page"))) sql="select * from notes where id=" &id Set RS = Server.CreateObject("ADODB.RecordSet") rs.open sql, conn, 1, 2 if rs.eof then rs.close response.redirect "index.asp" else rs("hits")=rs("hits")+1 rs.update %> ::留言板::
首页  
<% rs.close getRecords "select *from notes where replyID=" &id cc=1 do while not rs.eof %> <% cc=cc+1 rs.movenext if cc >intpagesize then exit do loop end if %>
  <%=rs("title")%>

<%=rs("username")%>


<%=rs("addtime")%>

.gif" align="absmiddle"> <%=rs("title")%> <%if session("hadbeenlogin") then%> ">删除 <%end if%>

<%=ubbCode(rs("content"))%>

<%=rs("username")%>


<%=rs("addtime")%>

.gif" align="absmiddle"> <%=rs("title")%> <%if session("hadbeenlogin") then%> ">删除 <%end if%>

<%=ubbCode(rs("content"))%>
<% showpage "id=" &id%>
::: 您 可 以 在 此 直 接 回 复 当 前 主 题 :::
发  表  人: " class="input">
选 择 表 情:
文 件 上 传:

        '">
<% rs.close set rs=nothing %>