<!--#include file="conn.asp"-->
<%call Head() %>
<%
id=usb(request("id"))
ii=usb(request("ii"))
set rs=Server.CreateObject("ADODB.Recordset")
rspl="select * from shop_gg where id="&id
rs.open rspl,connshop,1,2
if rs.eof then
response.write("<card id='main' title='错误'><p>无此文章！<br/>")
else
txt=ubb(rs("view"))
nxn=ubb(rs("name"))
set rsn=Server.CreateObject("ADODB.Recordset")
rsstrn="select * from [shop_gg] where [ID]<"& ID &" order by [ID] desc"
rsn.open rsstrn,connshop,1,2
set rspr=Server.CreateObject("ADODB.Recordset")
rsstrpr="select * from [shop_gg] where [ID]>"& ID &" order by [ID] asc"
rspr.open rsstrpr,connshop,1,2
Call saycarda(""&nxn&"")
%>
<!--#INCLUDE file="../bbs/sy1.asp"-->

<%=ubb2(txt)%><br/><br/>
--------------
<br/>
<%if rsn.recordcount>0 then%>
下一篇:<a href='view_gg.asp?id=<%=rsn("ID")%>&amp;sid=<%=sid%>&saytk=<%=saytk%>'><%=ubb(rsn("name"))%></a>
<%end if%>
<%if rspr.recordcount>0 then%>
<br/>上一篇:<a href='view_gg.asp?id=<%=rspr("ID")%>&amp;sid=<%=sid%>&saytk=<%=saytk%>'><%=ubb(rspr("name"))%></a>
<%end if%>
<%end if%>
<!--#include file="fanhui.asp"-->
<%Call HEADSAY()%>
