<%
dim ftbbs_nav_name,ftbbs_clubuser_id
ftbbs_nav_name=request.cookies("name")
ftbbs_clubuser_id=request.cookies("clubuser_id")
ftbbs_bokeer=request.cookies("bokeer")
if ftbbs_nav_name="" then
   userinfo="游客 你还未登录 <img src=""blogimages/line-center.gif"" align=""middle"" /> <a href=""userlogin.asp"">用户登录</a> <img src=""blogimages/line-center.gif"" align=""middle"" /> <a href=""register.asp"">用户注册</a> <img src=""blogimages/line-center.gif"" align=""middle"" /> <a href=""memberlist.asp"">会员列表</a> <img src=""blogimages/line-center.gif"" align=""middle"" /> <a href=""search.asp"">贴子搜索</a> <img src=""blogimages/line-center.gif"" align=""middle"" /> <a href=""help.asp"">论坛指南</a>"
else
   sql="select count(*) as num from sms where IsNew=1 and accepter='"&ftbbs_nav_name&"'"
   set rs=conn.execute(sql)
   num=rs("num")
   num=cstr(num)
   rs.close
   Set rs=nothing
   if num>0 then
   smsnum="(<font color=red>"&num&"</font><embed src=images/ftbbs_sms.swf loop=false hidden=true volume=50 autostart=true width=0 height=0 name=foobar mastersound=mastersound></embed>)"
   else
   smsnum=""
   end if
   if ftbbs_bokeer=1 then
   bknav="<a href=""home.asp?userid="&ftbbs_clubuser_id&""" target=""_blank"">个人空间</a>"
   else
   bknav="<a href=""isboker.asp"" target=""_blank""><font color=red>开通博客</font></a>"
   end if
   userinfo="欢迎 <font color=""#FF0000"">"&ftbbs_nav_name&"</font> <img src=""blogimages/line-center.gif"" align=""middle"" /><a href=""myfriend.asp"">我的好友</a><img src=""blogimages/line-center.gif"" align=""middle"" /><a href=""mysms.asp"">我的信箱"&smsnum&"</a><img src=""blogimages/line-center.gif"" align=""middle"" /><a href=""myfavorties.asp"">收藏夹</a><img src=""blogimages/line-center.gif"" align=""middle"" /><a href=main.asp?searchkind=name&searchcontent="&ftbbs_nav_name&">我发的贴</a><img src=""blogimages/line-center.gif"" align=""middle"" /><a href=search.asp?searchkind=myrepost&searchcontent="&ftbbs_nav_name&">我参与的贴</a><img src=""blogimages/line-center.gif"" align=""middle"" /><a href=""memberlist.asp"">会员列表</a><img src=""blogimages/line-center.gif"" align=""middle"" />"&bknav&"<img src=""blogimages/line-center.gif"" align=""middle"" /><a href=""search.asp"">论坛搜索</a>"
end if
%>