% dim sooopuid UserName=Request.Cookies("sooopucom")("username") sooopuid=request("id") Set rsp = Server.CreateObject("ADODB.Recordset") If Request("page")<>"" then CurrentPage=Cint(Request("Page")) Else CurrentPage=1 End if If CurrentPage=0 then CurrentPage=1 num=CurrentPage*10 sql="SELECT * FROM ( SELECT TOP 10 * FROM ( SELECT TOP "&num&" id,UserName,writetime,Content FROM SP_Comment where type_ID="&sooopuid&" ORDER BY id DESC ) t1 ORDER BY id ) t2 ORDER BY id DESC" rsp.open sql, conn, 1, 1 Do While Not rsp.Eof if UserName<>"" then set rs=conn.execute("select ClassVIP from SP_member where Username='"&username&"'") ClassVIP=rs(0) rs.close : set rs=nothing end if %> document.write ("
<%=rsp("UserName")%> 说:<%=replace(replace(cheack(ubbcode(rsp("content"))) , vbCr,""),vbLf,"")%>
"); document.write ("");
<%if ClassVIP>3 then%>
document.write ("
");
<%end if%>
document.write ("<%=formatdatetime(rsp("writetime"),2)%>