<%
dim ftbbs_nav_name,ftbbs_clubuser_id
ftbbs_nav_name=request.cookies("name")
ftbbs_clubuser_id=request.cookies("clubuser_id")
if ftbbs_nav_name="" then
   userinfo="<font color=""#FF0000"">游客 </font> 你还未登录 - <a href=""userlogin.asp"">用户登录</a> - <a href=""#"" onClick=""javascript:popwin('getpwd.asp?mode=1');return false"">取回密码</a> - <a href=""register.asp"">用户注册</a> - <a href=""search.asp"">贴子搜索</a> - <a href=""help.asp"">论坛指南</a>"
   userinfox="<font color=""#FF0000"">游客 </font> 你还未登录 - <a href=""userlogin.asp"">用户登录</a> - <a href=""default.asp?n=regist"">用户注册</a> - <a href=""default.asp?n=help"">论坛指南</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

   userinfo="欢迎 <font color=""#FF0000"">"&ftbbs_nav_name&" </font><a href=""main.asp?exit=yes"">退出</a> - <a href=""moduserinfo.asp"">修改资料</a> - <a href=""myfriend.asp"">我的好友</a> - <a href=""mysms.asp"">我的信箱"&smsnum&"</a> - <a href=""myfavorties.asp"">收藏夹</a> - <a href=main.asp?searchkind=name&searchcontent="&ftbbs_nav_name&">我发的贴</a> - <a href=search.asp?searchkind=myrepost&searchcontent="&ftbbs_nav_name&">我参与的贴</a> - <a href=""home.asp?userid="&ftbbs_clubuser_id&""" target=""_blank""><font color=red>个人空间</font></a> - <a href=""search.asp"">搜索</a>"
   userinfox="欢迎 <font color=""#FF0000"">"&ftbbs_nav_name&" </font> - <a href=""default.asp?n=userinfo"">修改资料</a> - <a href=""default.asp?n=friend"">我的好友</a> - <a href=""default.asp?n=sms"">我的信箱"&smsnum&"</a> - <a href=""default.asp?n=favorties"">收藏夹</a> - <a href=default.asp?n=myself>我发的贴</a> - <a href=default.asp?n=myrepost>我参与的贴</a> - <a href=""home.asp?userid="&ftbbs_clubuser_id&""" target=""_blank""><font color=red>个人空间</font></a>"
end if
%>
