<%''''''''''''''''''''''''''''''''''''新留言提示
Dim newgbook
If request.Cookies("yzlove")("username")<>"" and request.Cookies("yzlove")("password")<>"" and request.Cookies("yzlove")("grade")>=1 and request.Cookies("yzlove")("userid")<>"" Then '刚注册,不能登录
set rsg=Server.CreateObject("ADODB.recordset")
rsg.open"select top 1 username,new from love_gbook where userid="&request.Cookies("yzlove")("userid")&" and new=1 and ifqb=0",conn,1,1
if not rsg.bof and not rsg.eof then'找到记录
newgbook=1
end if
rsg.close:set rsg=nothing
End if
%>
<%if newgbook=1 then%>