<%if session("loogoo.com")="" then
    session("loogoo.com")="loogoo.com"
end if%>
<!--#include file="../conn/zkconn.asp" -->
<!--#include file="bbsinc/const.asp"-->
<!--#include file="bbsinc/char.asp"-->
<!--#include file="bbsinc/grade.asp"-->
<!--#include file="bbsinc/stats.asp"-->
<% sqlcss = "Select * From css"
set rscss = conn.Execute(sqlcss)
bbstitle=rscss("txt")
bbslogo=rscss("bbslogo")
rscss.close
set rscss=nothing
%>
<HTML><HEAD><TITLE><%=bbstitle%>社区</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META name="robots" content="index,follow">
<LINK href="../css/css.css" type=text/css rel=stylesheet>
</HEAD>
<body background="images/back.jpg"><a name="top">
<table width="762" background="../image/bg_top.gif" border="0" align="center" cellpadding="0" cellspacing="0" class="table-zuoyou">
<tr> 
    <td width="200" height="70" rowspan="2" align="center" valign="middle"><a href=index.asp><img src="<%=bbslogo%>" width="190" height="60" border=0></a></td>
    <td width="560" height="35" valign="middle" align="right">
<% if membername<>"" then
if Cint(incept())>Cint(0) then
	if openmsg=0 then
	response.write "<bgSound src=images/mail.wav border=0><img src=images/newmail.gif><a href='messanger.asp?action=inbox' target=_blank><font color=blue>有短消息哦！</font></a> "
	end if
end if%> | <a href="logout.asp">退出</a> | <a href=mymodify.asp?name=<%=membername%> target=_blank>个人资料</a> | <a href="messanger.asp?action=inbox" target=_blank>短消息</a> | <a href="favlist.asp" target=_blank>收藏</a> | <a href="query.asp" target=_blank>搜索</a> | <a href="help.asp" target=_blank>帮助</a> | <a href="../index.asp" target="_blank" onFocus="this.blur()">商城首页</a>&nbsp;</td>
</tr>
<tr><td height="35" align="right">
<% set rs=conn.execute("select * from huiyuan where huiyuan='"&membername&"'")
response.write"你好<font color=#ff6600><b>"&membername&"</b></font>，这是你第<font color=#ff6600><b>"&rs("logins")&"</b></font>次登陆，您共发贴<font color=#ff6600><b>"&rs("article")&"</b></font>个，积分<font color=#ff6600><b>"&rs("jifen")&"</b></font>分，继续努力哦！</td></tr>"
rs.close
else%>
欢迎<b>客人</b>，您要 <a href="reg.asp" target=_blank>注册</a> | <a href="lostpass.asp" target=_blank>忘记密码</a> | <a href="query.asp" target=_blank>搜索</a> | <a href="help.asp" target=_blank>帮助</a> | <a href="../index.asp" target="_blank" onFocus="this.blur()">商城首页</a>&nbsp;</td>
</tr>
<tr><form action="chklogin.asp" method="post">
<td height="35" align="right">用户名：<input type=text name=username size=12 maxlength=16 OnMouseOver="this.focus();" OnFocus="this.select();">　密　码：<input type=password name=password size=12 maxlength=20 OnMouseOver="this.focus();" OnFocus="this.select();"><input name="imageField" type="image" src="images/login.gif" border="0" onFocus="this.blur()">&nbsp;
</td></form>
</tr>
<%end if%>
<!--公告-->
<TABLE width=762 cellSpacing=0 cellPadding=0 border=0 align=center class=table-zuoyou>
<TR><TD height=27 align=center bgcolor=#ffffff><MARQUEE onmouseover=this.stop() onmouseout=this.start() scrollAmount=3 behavior=alternate width=600><IMG align=absMiddle src="images/gb.gif">&nbsp;社区广播:
<%	if request("boardid")="" then
	boardid=0
	else
	boardid=cint(request("boardid"))
	end if
	sql="select top 1 boardid,title,content,addtime from bbs_news where boardid="&boardid&" order by id desc"
	rs.open sql,conn,1,1
	if rs.bof and rs.eof then
%><a href="announcements.asp?boardid=<%=boardid%>" target=_blank><b><ACRONYM TITLE="当前没有广播">当前没有哦!</ACRONYM></b></a>
<%else%>
<b><a href="announcements.asp?boardid=<%=boardid%>" target=_blank><ACRONYM TITLE="<%=rs("content")%>"><%=rs("title")%></ACRONYM></a></b> (<%=rs("addtime")%>)
<%end if%>
<%rs.close%></MARQUEE>
</TD></TR>
<tr><td height="1" bgcolor=#efefef></td></tr>
</table>