<!--#include file="../INC/CONN.ASP" -->
<%
id=request("id")
reid=request("reid")
'sql="update bbstitle set hit=hit+1 where id="&id
'conn.execute(sql)
set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from bbsmenu where id="&reid
rs.Open sql,Conn,1,3
if rs("bbs_img_display")=1 then
%>
img="<%=rs("bbs_img")%>"
a="<img src=\"../upfile/"+img+"\" border=1 resize=\"1\" class=c03 vspace=5><BR><%=rs("bbs_img_text")%>"
<%else%>
a=""
<%end if%>
<%
rs.update
rs.close
set rs=nothing
conn.close
%>
document.write (a)

