<%
if Request.Cookies("name")<>"" then
   clubuser_id=request.cookies("clubuser_id")
   sql="select clubuser_id,clubuser_name,userimg,homepagetitle,cssfile,bokeer from clubuser where clubuser_id="&clubuser_id
   set rs8=server.createobject("adodb.recordset")
   rs8.open sql,conn,3,1
   if not rs8.eof then
   bokeer=rs8("bokeer")
   end if
%>
<div id="usrbar"><nobr> 
  <%if bokeer=1 then%>
  <strong><a href="home.asp?userid=<%=clubuser_id%>" title="进入您的空间"><%=Request.Cookies("name")%></a></strong> 
  | <a href="default.asp">进入论坛</a> | <a href="home.asp?userid=<%=clubuser_id%>">个人空间</a> 
  | <a href="setupmb.asp?userid=<%=clubuser_id%>">风格设置</a> | <a href="usercenter.asp?userid=<%=clubuser_id%>">控制面板</a> 
  | <a href="default.asp?n=exit">退出</a> 
  <%else%>
  <strong><a href="home.asp?userid=<%=clubuser_id%>" title="进入您的空间"><%=Request.Cookies("name")%></a></strong> 
  | <a href="default.asp">进入论坛</a> | <a href="home.asp?userid=<%=clubuser_id%>">个人空间</a> 
  | <a href="isboker.asp"><font color=red>激活成为博客</font></a> | <a href="default.asp?n=exit">退出</a> 
  <%end if%>
  </nobr></div>
<%else%>
<div id="usrbar"><nobr> <a href="default.asp">进入论坛</a> | <a href="default.asp?n=regist">注册</a> 
  | <a href="bbs/userlogin.asp?flag=Y">登录</a> </nobr></div>
<%end if%>