<%
response.write "<table width="&TableWidth&" align=center cellspacing=0 cellpadding=1  border=0 bgcolor="& Tablebackcolor &">"&_
			"<tr><td>"&_
			"<table style=color:"& TableFontcolor &" width=100% cellspacing=0 cellpadding=4 border=0 >"&_
			"<tr bgcolor="& Tabletitlecolor &">"&_
			"<td valign=middle ><FONT COLOR="& TableFontcolor &"> >>" 

if membername="" then
	response.write "欢迎您，<a href=..\login.asp><FONT COLOR="& TableFontcolor &">请先登陆</FONT></a> | <a href=reg.asp><FONT COLOR="& TableFontcolor &">注册</FONT></a>"
else
	response.write "欢迎您，<b>"& membername &"</b>： <a href=..\login.asp><FONT COLOR="& TableFontcolor &">重登陆</FONT></a> | <a href=..\MYMODIFY.ASP?name="& membername &">"&_
				"<FONT COLOR="& TableFontcolor &">资料</FONT></a> | <a href=..\usersms.asp><FONT COLOR="& TableFontcolor &">短消息</FONT></a> | "&_
				"<a href=..\favlist.asp><FONT COLOR="& TableFontcolor &">收藏</FONT></a>"
end if
			
response.write " | <a href=..\toplist.asp?orders=1 ><FONT COLOR="& TableFontcolor &">排行</FONT></a> | <a href=..\query.asp?boardid="&boardid&"><FONT COLOR="& TableFontcolor &">搜索</FONT></a>"
response.write" | <a href='#;' onclick=javascrip:window.open('../gupiao/gupiao.asp?who="&membername&"','newposta','status=1,resizable=0,scrollbars=1,height=400,width=640')>股票</a>"
	response.write " | <a href=play.asp><FONT COLOR=" & tablefontcolor & ">赌场</FONT></a> | <a href=bank.asp><FONT COLOR=" & tablefontcolor & ">银行</FONT></a>" &" | <a href=fuwu.asp><FONT COLOR=" & tablefontcolor & ">服务</FONT></a>" &" | <a href=..\help.asp><FONT COLOR="& TableFontcolor &">帮助</FONT></a> | <a href=..\logout.asp><FONT COLOR="& TableFontcolor &">退出</FONT></a>"
if master then
	response.write " | <a href=..\admin_index.asp><FONT COLOR="& TableFontcolor &">管理</FONT></a>"
end if

response.write "</td><td valign=middle align=right><FONT COLOR="& TableFontcolor &_
			"><a href='"& ForumURL &"'><img src=..\"&picurl&P_gohome&" border=0></a></FONT>"&_
			"</td></tr></table></td></tr></table>"
response.write "<table width="&tablewidth&" align=center cellspacing=0 cellpadding=1  border=0>"&_
			"<tr><td align=left width=""50%"">"
	if membername<>"" then
	response.write "<img src=../pic/mybbs.gif><a href=../topicwithme.asp?s=1 target=_top>我参与的主题</a>  |  <a href=../topicwithme.asp?s=2 target=_top>已被回复的我的发言</a>"
	end if
	response.write "</td><td align=right width=""50%"">"


response.write "</td></tr></table>"
	response.write "<TABLE border=0 width=""95%"" align=center><TBODY><TR>"&_
			"<TD vAlign=top width=""30%""><a href=..\"&ForumUrl&"><img border=0 src=..\"&Forumlogo&"></TD>"&_
			"<TD valign=middle align=top><font color="&BodyFontColor&"> &nbsp;&nbsp;<img src=..\"&picurl&P_folder&" border=0>&nbsp;&nbsp;<a href=..\index.asp>"&ForumName&"</a><br>"

	response.write "&nbsp;&nbsp;<img src=..\"&picurl&"bar.gif border=0 width=15 height=15><img src=..\"&picurl&P_folder&" border=0>&nbsp;&nbsp;"&dtitle

	response.write "<a name=top></a></font></TD></TR></TBODY></TABLE><br>"
%>