%
id=cint(Request("id"))
if id<>empty then ResponseCookies"ForumID",id,"0"
if ""&SiteSettings("AdminPassword")&""=empty then response.redirect "Install.asp"
top
%>
<% if SiteSettings("fdimg")<>"" then %>
<%end if%>
<%
regOnline=Conn.execute("Select count(sessionid)from [BBSXP_UsersOnline] where UserName<>''")(0)
if SiteSettings("BestOnline") < Onlinemany then
Conn.execute("update [BBSXP_SiteSettings] set BestOnline="&Onlinemany&",BestOnlineTime="&SqlNowString&"")
end if
if SiteSettings("DisplayBirthdays")=1 then
%>
| 今天过生日的会员 |
 |
<%
Set Rs=conn.Execute("Select UserName,Birthday From [BBSXP_Users] where Month(Birthday)="&Month(now())&" and day(Birthday)="&day(now())&"")
if Rs.eof then Response.Write "今天没有过生日的会员."
do while not Rs.eof
%>"><%=RS("UserName")%> <%
Rs.Movenext
loop
Rs.close
%>
|
<%
end if
if SiteSettings("DisplayLink")=1 then
%>
| 友情链接 【申请链接】 |
<%
sql="select * from [BBSXP_Link] where Review=1"
rs.Open sql,Conn
do while not rs.eof
if rs("logo")="" or rs("logo")="http://" then
link1=link1+""&rs("name")&" "
else
link2=link2+"
"
end if
rs.movenext
loop
rs.close
%>
 |
<%=link1%> |
| <%=link2%> |
<%
end if
if SiteSettings("DisplayWhoIsOnline")=1 then%>
| 会员在线信息 |
 |
目前论坛总共 有 <%=Onlinemany%> 人在线。其中注册用户 <%=regOnline%>
人,访客 <%=Onlinemany-regOnline%> 人。最高在线
<%=SiteSettings("BestOnline")%> 人,发生在 <%=SiteSettings("BestOnlineTime")%>
正在加载...
|