<!--#include file="_header.html" -->
<style>
	#listType {list-style-type:none;}
</style>
<div style="clear:both"></div>

<div class="mainbox">
	<div class="notice">
		<span> <!--#include file="_nav.html"--></span>
	</div>
	<div style="clear:both"></div>
	<div class="menu">	
			<a href="stats.aspx" <!--{if(_type == "")}-->style='font-weight:bold'<!--{endif}-->>基本概况</a>&nbsp;&nbsp;
			<!--{if(EnableStats == "TRUE")}--><a href="stats.aspx?type=views" <!--{if(_type == "views")}-->style="font-weight:bold"<!--{endif}-->>流量统计</a>&nbsp;&nbsp;<!--{endif}-->
			<!--{if(EnableStats == "TRUE")}--><a href="stats.aspx?type=soft" <!--{if(_type == "soft")}-->style="font-weight:bold"<!--{endif}-->>客户软件</a>&nbsp;&nbsp;<!--{endif}-->
			<a href="stats.aspx?type=posts" <!--{if(_type == "posts")}-->style="font-weight:bold"<!--{endif}-->>发帖量记录</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=forumsRank" <!--{if(_type == "forumsRank")}-->style="font-weight:bold"<!--{endif}-->>论坛排行</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=topicRank" <!--{if(_type == "topicRank")}-->style="font-weight:bold"<!--{endif}-->>主题排行</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=postsRank" <!--{if(_type == "postsRank")}-->style="font-weight:bold"<!--{endif}-->>发帖排行</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=strategyRank" <!--{if(_type == "strategyRank")}-->style="font-weight:bold"<!--{endif}-->>积分排行</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=tradeRank" <!--{if(_type == "tradeRank")}-->style="font-weight:bold"<!--{endif}-->>交易排行</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=team" <!--{if(_type == "team")}-->style="font-weight:bold"<!--{endif}-->>管理团队</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=boardstat" <!--{if(_type == "boardstat")}-->style="font-weight:bold"<!--{endif}-->>论坛状态</a>&nbsp;&nbsp;
			<a href="stats.aspx?type=userlist" <!--{if(_type == "userlist")}-->style="font-weight:bold"<!--{endif}-->>用户列表</a>
	</div>
	<br />
<!-- {if ((_type == ""))} -->
<br />
<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="4" style="border-top:0px;background:#F3F6FA;">会员统计</td>
	</tr>
	<tr align="left">
		<td width="25%">注册会员</td>
		<td width="25%"><%=UserNumber%></td>
		<td width="25%">发帖会员</td>
		<td width="25%"><%=postuserNum%></td>
	</tr>
	<tr align="left">
		<td width="25%">管理成员</td>
		<td width="25%"><%=managerNum%></td>
		<td width="25%">未发帖会员</td>
		<td width="25%"><%=nonpostuser%></td>
	</tr>
	<tr align="left">
		<td width="25%">新会员</td>
		<td width="25%"><a href="<%="user_info.aspx?name=" + Server.UrlEncode(NewUser)%>" target="_blank"><%=NewUser%></a></td>
		<td width="25%">发帖会员占总数</td>
		<td width="25%"><%=postuserRate%>%</td>
	</tr>
	<tr align="left">
		<td width="25%">平均每人发帖数</td>
		<td width="25%" colspan="3"><%=perpost%></td>
	</tr>
</table>

<br />
<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
	<tr class="title">
		<td colspan="6" style="border-top:0px;background:#F3F6FA;">论坛统计</td>
	</tr>
	<tr align="left">
		<td width="25%">论坛数</td>
		<td width="10%"><%=forums%></td>
		<td width="25%">平均每日新增帖子数</td>
		<td width="10%"><%=postsPerDay%></td>
		<td width="10%">最热门的论坛</td>
		<td width="20%">
			<a href="<%=Rewrite("board.aspx?boardid=" + hotforumid, "board-" + hotforumid + Extension, "board/b" + hotforumid)%>" target="_blank">
				<%=hotforum%>
			</a>
		</td>
	</tr>
	<tr align="left">
		<td width="25%">主题数</td>
		<td width="10%"><%=TopicNumber%></td>
		<td width="25%">平均每日注册会员数</td>
		<td width="10%" colspan="3"><%=regPerDay%></td>
	</tr>
	<tr align="left">
		<td width="25%">帖子数</td>
		<td width="10%"><%=postNumber%></td>
		<td width="25%">最近24小时新增帖子数</td>
		<td width="10%" colspan="3"><%=postsIn24hr%></td>
	</tr>
	<tr align="left">
		<td width="25%">平均每个主题被回复次数</td>
		<td width="10%"><%=replysPerTopic%></td>
		<td width="25%">最近24小时新增会员数</td>
		<td width="10%" colspan="3"><%=userIn24hr%></td>
	</tr>
</table>
<br />
<!-- {if ((EnableStats == "TRUE"))} -->
<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
	<tr class="title">
		<td colspan="4" style="border-top:0px;background:#F3F6FA;">流量概况</td>
	</tr>
	<tr align="left">
		<td width="25%">总页面流量</td>
		<td width="25%"><%=pageflow1%></td>
		<td width="25%">访问量最多的月份</td>
		<td width="25%"><%=monthMostFlow%></td>
	</tr>
	<tr align="left">
		<td width="25%">共计来访</td>
		<td width="25%"><%=totalVistor%>人次</td>
		<td width="25%">该月份总页面流量</td>
		<td width="25%"><%=pageflow2%></td>
	</tr>
	<tr align="left">
		<td width="25%">会员</td>
		<td width="25%"><%=member%></td>
		<td width="25%">时段</td>
		<td width="25%"><%=timeScale%>
			<%=(timeScale==""?"":" - " + Convert.ToString(int.Parse(timeScale) + 1))%>
		</td>
	</tr>
	<tr align="left">
		<td width="25%">游客</td>
		<td width="25%"><%=guests%></td>
		<td width="25%">该时段总页面流量</td>
		<td width="25%"><%=pageflow3%></td>
	</tr>
	<tr align="left">
		<td width="25%">平均每人浏览</td>
		<td width="25%" colspan="3"><%=perView%></td>
	</tr>
</table>
<!-- {endif} -->
</td> 
<!-- {endif} -->
<!-- {if ((_type == "views"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">
				<!--{if(Get("st")=="month")}--><a href="stats.aspx?type=views&st=month" style='font-weight:bold'>月份流量</a> <!--{else}--><a href="stats.aspx?type=views&st=month">月份流量</a><!--{endif}-->
				&nbsp;|&nbsp;
				<!--{if(Get("st")=="week")}--><a href="stats.aspx?type=views&st=week" style='font-weight:bold'>星期流量</a> <!--{else}--><a href="stats.aspx?type=views&st=week">星期流量</a><!--{endif}-->
				| 
				<!--{if(Get("st")==string.Empty || Get("st")=="hour")}--><a href="stats.aspx?type=views&st=hour" style='font-weight:bold'>时段流量</a> <!--{else}--><a href="stats.aspx?type=views&st=hour">时段流量</a><!--{endif}-->
			</td>
		</tr>
		<!--{if(Get("st")=="month")}-->
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">流量统计 -> 月份流量</td>
		</tr>
		<form ID="Form3" method="post" action="?type=views&st=month">
			<tr>
				<td colspan="2" align="right">
					按年份搜索(格式:2007):&nbsp;<input type="text" id="Text1" NAME="year" value="<%=Request["year"]%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
					<input type="submit" id="Submit2" name="yearSearch" value="搜索" class="button_off" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
				</td>
			</tr>
		</form>
		<!-- <%
				if(dtMonthViewPager.Rows.Count > 0)
				{
					for(int i = 0; i < dtMonthViewPager.Rows.Count; i++)
					{
						string Monthly = dtMonthViewPager.Rows[i]["Monthly"].ToString();
						Monthly   = Monthly.Substring(0, 4) + "-" + Monthly.Substring(4, 2);
						int views = Convert.ToInt32(dtMonthViewPager.Rows[i]["views"]);
						int tot   = int.Parse(pageflow1);
						double r = 0.0;
						if(tot != 0)
						{
							r = (views * 10000) / tot;
						}
						string rate = r.ToString();
						rate = rate.PadLeft(3, '0');
						rate = rate.Insert(rate.Length - 2, ".");
						tpl_StringBuilder.Append("<tr>");
						tpl_StringBuilder.Append("<td width=\"15%\" align=\"left\">" + Monthly + "</td>");
						tpl_StringBuilder.Append("<td align=\"left\"><img src=\"templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic() +".gif\" width=\""+ rate +"\" height=\"10\" border=\"0\">" + views + "(" + rate + "%)" + "</td>");
						tpl_StringBuilder.Append("</tr>");
					}
				}
				%> -->
		<tr id="pagerrow">
			<td colspan="2"><!--#include file="_temppager.htm"--></td>
		</tr>
		<!--{endif}-->
		<!--{if(Get("st")=="week")}-->
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">流量统计 -> 星期流量</td>
		</tr>
		<tr>
			<td align="left" width="15%">Sunday</td>
			<td align="left"><%=Sunday%></td>
		</tr>
		<tr>
			<td align="left" width="15%">Monday</td>
			<td align="left"><%=Monday%></td>
		</tr>
		<tr>
			<td align="left" width="15%">Tuesday</td>
			<td align="left"><%=Tuesday%></td>
		</tr>
		<tr>
			<td align="left" width="15%">Wednesday</td>
			<td align="left"><%=Wednesday%></td>
		</tr>
		<tr>
			<td align="left" width="15%">Thursday</td>
			<td align="left"><%=Thursday%></td>
		</tr>
		<tr>
			<td align="left" width="15%">Friday</td>
			<td align="left"><%=Friday%></td>
		</tr>
		<tr>
			<td align="left" width="15%">Saturday</td>
			<td align="left"><%=Saturday%></td>
		</tr>
		<!--{endif}-->
		<!--{if(Get("st")==string.Empty || Get("st")=="hour")}-->
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">流量统计 -> 时段流量</td>
		</tr>
		<tr>
			<td align="left" width="15%">0AM</td>
			<td align="left"><%=AM0%></td>
		</tr>
		<tr>
			<td align="left" width="15%">1AM</td>
			<td align="left"><%=AM1%></td>
		</tr>
		<tr>
			<td align="left" width="15%">2AM</td>
			<td align="left"><%=AM2%></td>
		</tr>
		<tr>
			<td align="left" width="15%">3AM</td>
			<td align="left"><%=AM3%></td>
		</tr>
		<tr>
			<td align="left" width="15%">4AM</td>
			<td align="left"><%=AM4%></td>
		</tr>
		<tr>
			<td align="left" width="15%">5AM</td>
			<td align="left"><%=AM5%></td>
		</tr>
		<tr>
			<td align="left" width="15%">6AM</td>
			<td align="left"><%=AM6%></td>
		</tr>
		<tr>
			<td align="left" width="15%">7AM</td>
			<td align="left"><%=AM7%></td>
		</tr>
		<tr>
			<td align="left" width="15%">8AM</td>
			<td align="left"><%=AM8%></td>
		</tr>
		<tr>
			<td align="left" width="15%">9AM</td>
			<td align="left"><%=AM9%></td>
		</tr>
		<tr>
			<td align="left" width="15%">10AM</td>
			<td align="left"><%=AM10%></td>
		</tr>
		<tr>
			<td align="left" width="15%">11AM</td>
			<td align="left"><%=AM11%></td>
		</tr>
		<tr>
			<td align="left" width="15%">12AM</td>
			<td align="left"><%=AM12%></td>
		</tr>
		<tr>
			<td align="left" width="15%">1PM</td>
			<td align="left"><%=PM1%></td>
		</tr>
		<tr>
			<td align="left" width="15%">2PM</td>
			<td align="left"><%=PM2%></td>
		</tr>
		<tr>
			<td align="left" width="15%">3PM</td>
			<td align="left"><%=PM3%></td>
		</tr>
		<tr>
			<td align="left" width="15%">4PM</td>
			<td align="left"><%=PM4%></td>
		</tr>
		<tr>
			<td align="left" width="15%">5PM</td>
			<td align="left"><%=PM5%></td>
		</tr>
		<tr>
			<td align="left" width="15%">6PM</td>
			<td align="left"><%=PM6%></td>
		</tr>
		<tr>
			<td align="left" width="15%">7PM</td>
			<td align="left"><%=PM7%></td>
		</tr>
		<tr>
			<td align="left" width="15%">8PM</td>
			<td align="left"><%=PM8%></td>
		</tr>
		<tr>
			<td align="left" width="15%">9PM</td>
			<td align="left"><%=PM9%></td>
		</tr>
		<tr>
			<td align="left" width="15%">10PM</td>
			<td align="left"><%=PM10%></td>
		</tr>
		<tr>
			<td align="left" width="15%">11PM</td>
			<td align="left"><%=PM11%></td>
		</tr>
		<!--{endif}-->
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "soft"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">操作系统</td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/windows.gif" alt="Windows" /> Windows</td>
			<td align="left"><%=Windows%></td>
		</tr>
		<tr>
			<td align="left"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/linux.gif" alt="Linux" /> Linux</td>
			<td align="left"><%=Linux%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/mac.gif" alt="Mac" /> Mac</td>
			<td align="left"><%=Mac%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/freebsd.gif" alt="FreeBSD" /> FreeBSD</td>
			<td align="left"><%=FreeBSD%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/sunos.gif" alt="" /> SunOS</td>
			<td align="left"><%=SunOS%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/aix.gif" alt="AIX" /> AIX</td>
			<td align="left"><%=AIX%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/os2.gif" alt="OS/2" /> OS/2</td>
			<td align="left"><%=OS2%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/other.gif" alt="Other" /> Other</td>
			<td align="left"><%=OtherOS%></td>
		</tr>
		<tr class="title">
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">浏览器</td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/msie.gif" alt="MSIE" /> MSIE</td>
			<td align="left"><%=MSIE%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/firefox.gif" alt="FireFox" /> FireFox</td>
			<td align="left"><%=FireFox%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/netscape.gif" alt="Netscape" /> Netscape</td>
			<td align="left"><%=Netscape%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/konqueror.gif" alt="Konqueror" /> Konqueror</td>
			<td align="left"><%=Konqueror%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/opera.gif" alt="Opera" /> Opera</td>
			<td align="left"><%=Opera%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/lynx.gif" alt="Lynx" /> Lynx</td>
			<td align="left"><%=Lynx%></td>
		</tr>
		<tr>
			<td align="left" width="15%"><img src="templates/<%=Dvbbs.Utils.TemplateInfo.CurrentTemplateName%>/images/icon/other.gif" alt="Other" /> Other</td>
			<td align="left"><%=OtherBrowser%></td>
		</tr>
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "posts"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<!--{if(Get("pt")==string.Empty || Get("pt")=="month")}-->
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">
				<a href="stats.aspx?type=posts&pt=month" style="font-weight:bold">每月新增帖子记录</a> |
				<a href="stats.aspx?type=posts&pt=day">每日新增帖子记录</a></td>
		</tr>
		<tr class="title">
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">发帖量记录 -> 每月新增帖子记录</td>
		</tr>
		<form method="post" action="?type=posts&pt=month" ID="Form1">
			<tr>
				<td colspan="2" align="right">
					按年份搜索(格式:2007):&nbsp;<input type="text" id="year" NAME="year" value="<%=Request["year"]%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
					<input type="submit" id="Submit1" name="yearSearch" value="搜索" class="button_off" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
				</td>
			</tr>
		</form>
		<!-- <%
					int	mc = dtMonthNewPostsPager==null?0:dtMonthNewPostsPager.Rows.Count;
					int mCount = totalPosts;
					if(mCount != 0)
					{
						for(int i = 0; i < mc; i++)
						{
							int r = 0;
							if(mCount != 0)
							{
								r = ((int.Parse(dtMonthNewPostsPager.Rows[i]["MonthPosts"].ToString()))*10000)/mCount;
							}
							string str = Convert.ToString(r);
							str = str.PadLeft(3, '0');
							str = str.Insert(str.Length - 2, ".");
							tpl_StringBuilder.Append("<tr>");
							tpl_StringBuilder.Append("<td width=\"15%\" align=\"center\">" +  dtMonthNewPostsPager.Rows[i]["Monthly"].ToString() + "</a></td>");
							tpl_StringBuilder.Append("<td align=\"left\"><img src=\"templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic() +".gif\" width=\""+ str +"\" height=\"10\" border=\"0\">" + dtMonthNewPostsPager.Rows[i]["MonthPosts"].ToString() + "(" + str + "%)" + "</td>");
							tpl_StringBuilder.Append("</tr>");
						}
					}
				%> -->
		<!--{else}-->
		<tr>
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">
				<a href="stats.aspx?type=posts&pt=month">每月新增帖子记录</a> | <a href="stats.aspx?type=posts&pt=day" style="font-weight:bold">
					每日新增帖子记录</a></td>
		</tr>
		<tr class="title">
			<td colspan="2" style="border-top:0px;background:#F3F6FA;">发帖量记录 -> 每日新增帖子记录</td>
		</tr>
		<form method="post" action="?type=posts&pt=day" ID="Form2">
			<tr>
				<td colspan="2" align="right">
					按月份搜索(格式:200709):&nbsp; <input type="text" id="month" NAME="month" value="<%=Request["month"]%>" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
					<input type="submit" id="monthSearch" name="monthSearch" value="搜索" class="button_off" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
				</td>
			</tr>
		</form>
		<!--{if(msg != "")}-->
		<tr>
			<td colspan="2" align="center"><%=msg%></td>
		</tr>
		<!--{endif}-->
		<!-- <%
					int	dc = dtDailyNewPostsPager==null?0:dtDailyNewPostsPager.Rows.Count;
					int dCount = totalPosts;
					if(dCount != 0)
					{
						for(int i = 0; i < dc; i++)
						{
							int r = 0;
							if(dCount != 0)
							{
								r = ((int.Parse(dtDailyNewPostsPager.Rows[i]["DailyPosts"].ToString()))*10000)/dCount;
							}
							string str = Convert.ToString(r);
							str = str.PadLeft(3, '0');
							str = str.Insert(str.Length - 2, ".");
							tpl_StringBuilder.Append("<tr>");
							tpl_StringBuilder.Append("<td width=\"15%\" align=\"center\">" +  dtDailyNewPostsPager.Rows[i]["Daily"].ToString() + "</a></td>");
							tpl_StringBuilder.Append("<td align=\"left\"><img src=\"templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic() +".gif\" width=\""+ str +"\" height=\"10\" border=\"0\">" + dtDailyNewPostsPager.Rows[i]["DailyPosts"].ToString() + "("  + str + "%)" + "</td>");
							tpl_StringBuilder.Append("</tr>");
						}
					}
				%> -->
		<!--{endif}-->
		<tr id="pagerrow">
			<td colspan="2"><!--#include file="_temppager.htm"--></td>
		</tr>
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "forumsRank"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="8" style="border-top:0px;background:#F3F6FA;">论坛排行</td>
		</tr>
		<tr align="center">
			<td colspan="2" width="25%">发帖 排行榜</td>
			<td colspan="2" width="25%">回复 排行榜</td>
			<td colspan="2" width="25%">最近 30 天发帖 排行榜</td>
			<td colspan="2" width="25%">最近 24 小时发帖 排行榜</td>
		</tr>
		<!-- <%
			int rows51 = dtForumsRankByPosts==null?0:dtForumsRankByPosts.Rows.Count;
			int rows52 = dtForumsRankByReplys==null?0:dtForumsRankByReplys.Rows.Count;
			int rows53 = dtForumsRankIn30Days==null?0:dtForumsRankIn30Days.Rows.Count;
			int rows54 = dtForumsRankIn24hr==null?0:dtForumsRankIn24hr.Rows.Count;

			int tmp51 = rows51 > rows52 ? rows51 : rows52;
			int tmp52 = rows53 > tmp51 ? rows53 : tmp51;
			int max5 = tmp52 > rows54 ? tmp52 : rows54;
        %> -->
		<!--{for (int i = 0; i < max5; i++)}-->
		<!-- <%
				string ForumP, Posts, ForumR, Replys, ForumD, PostsIn30days, ForumH, PostsIn24hr;
				if (i > rows51 - 1)
				{
					ForumP = "";
					Posts = "";
				}
				else
				{
					ForumP = dtForumsRankByPosts.Rows[i]["Forum"] == null?"":dtForumsRankByPosts.Rows[i]["Forum"].ToString();
					Posts = dtForumsRankByPosts.Rows[i]["Posts"] == null?"":dtForumsRankByPosts.Rows[i]["Posts"].ToString();
				}
				if (i > rows52 - 1)
				{
					ForumR = "";
					Replys = "";
				}
				else
				{
					ForumR = dtForumsRankByReplys.Rows[i]["Forum"] == null?"":dtForumsRankByReplys.Rows[i]["Forum"].ToString();
					Replys = dtForumsRankByReplys.Rows[i]["Replys"] == null?"":dtForumsRankByReplys.Rows[i]["Replys"].ToString();
				}
				if (i > rows53 - 1)
				{
					ForumD = "";
					PostsIn30days = "";
				}
				else
				{
					ForumD = dtForumsRankIn30Days.Rows[i]["Forum"] == null?"":dtForumsRankIn30Days.Rows[i]["Forum"].ToString();
					PostsIn30days = dtForumsRankIn30Days.Rows[i]["PostsIn30days"] == null?"":dtForumsRankIn30Days.Rows[i]["PostsIn30days"].ToString();
				}
				if (i > rows54 - 1)
				{
					ForumH = "";
					PostsIn24hr = "";
				}
				else
				{
					ForumH = dtForumsRankIn24hr.Rows[i]["Forum"] == null?"":dtForumsRankIn24hr.Rows[i]["Forum"].ToString();
					PostsIn24hr = dtForumsRankIn24hr.Rows[i]["PostsIn24hr"] == null?"":dtForumsRankIn24hr.Rows[i]["PostsIn24hr"].ToString();
				}
			%> -->
		<tr align="center">
			<td width="15%">
				<a href="<%=Rewrite("board.aspx?boardid=" + dtForumsRankByPosts.Rows[i]["boardid"], "board-" + dtForumsRankByPosts.Rows[i]["boardid"] + Extension, "board/b" + dtForumsRankByPosts.Rows[i]["boardid"])%>" target="_blank">
					<%=ForumP%>
				</a>
			</td>
			<td width="10%">
				<%=Posts%>
			</td>
			<td width="15%">
				<a href="<%=Rewrite("board.aspx?boardid=" + dtForumsRankByReplys.Rows[i]["boardid"], "board-" + dtForumsRankByReplys.Rows[i]["boardid"] + Extension, "board/b" + dtForumsRankByReplys.Rows[i]["boardid"])%>" target="_blank">
					<%=ForumR%>
				</a>
			</td>
			<td width="10%">
				<%=Replys%>
			</td>
			<td width="15%">
				<a href="<%=Rewrite("board.aspx?boardid=" + dtForumsRankIn30Days.Rows[i]["boardid"], "board-" + dtForumsRankIn30Days.Rows[i]["boardid"] + Extension, "board/b" + dtForumsRankIn30Days.Rows[i]["boardid"])%>" target="_blank">
					<%=ForumD%>
				</a>
			</td>
			<td width="10%">
				<%=PostsIn30days%>
			</td>
			<td width="15%">
				<a href="<%=Rewrite("board.aspx?boardid=" + dtForumsRankIn24hr.Rows[i]["boardid"], "board-" + dtForumsRankIn24hr.Rows[i]["boardid"] + Extension, "board/b" + dtForumsRankIn24hr.Rows[i]["boardid"])%>" target="_blank">
					<%=ForumH%>
				</a>
			</td>
			<td width="10%">
				<%=PostsIn24hr%>
			</td>
		</tr>
		<!--{endfor}-->
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "topicRank"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="4" style="border-top:0px;background:#F3F6FA;">主题排行</td>
		</tr>
		<tr align="center">
			<td colspan="2" width="50%">被浏览最多的主题</td>
			<td colspan="2" width="50%">被回复最多的主题</td>
		</tr>
		<!-- <%
			int rows61 = dtTopicRankByViews==null?0:dtTopicRankByViews.Rows.Count;
			int rows62 = dtTopicRankByReplys==null?0:dtTopicRankByReplys.Rows.Count;

			int max6 = rows61 > rows62 ? rows61 : rows62;
        %> -->
		<!--{for (int i = 0; i < max6; i++)}-->
		<!-- <%
				string titleH, hits, titleC, child;
				if (i > rows61 - 1)
				{
					titleH = "";
					hits = "";
				}
				else
				{
					titleH = dtTopicRankByViews.Rows[i]["title"] == null?"":dtTopicRankByViews.Rows[i]["title"].ToString();
					hits   = dtTopicRankByViews.Rows[i]["hits"] == null?"":dtTopicRankByViews.Rows[i]["hits"].ToString();
				}
				if (i > rows62 - 1)
				{
					titleC = "";
					child = "";
				}
				else
				{
					titleC = dtTopicRankByReplys.Rows[i]["title"] == null?"":dtTopicRankByReplys.Rows[i]["title"].ToString();
					child = dtTopicRankByReplys.Rows[i]["child"] == null?"":dtTopicRankByReplys.Rows[i]["child"].ToString();
				}
            %> -->
		<tr>
			<td align="left" width="35%">
				<a href="<%=titleH==""?"":Rewrite("topic.aspx?topicid=" + dtTopicRankByViews.Rows[i]["topicid"], "topic-"+ dtTopicRankByViews.Rows[i]["topicid"].ToString() + Extension, dtTopicRankByViews.Rows[i]["boardid"].ToString() + "/t" + dtTopicRankByViews.Rows[i]["topicid"].ToString())%>" target="_blank">
					<%=titleH%>
				</a>
			</td>
			<td align="center" width="15%">
				<%=hits%>
			</td>
			<td align="left" width="35%">
				<a href="<%=titleC==""?"":Rewrite("topic.aspx?topicid=" + dtTopicRankByReplys.Rows[i]["topicid"], "topic-"+ dtTopicRankByReplys.Rows[i]["topicid"].ToString() + Extension, dtTopicRankByReplys.Rows[i]["boardid"].ToString() + "/t" + dtTopicRankByReplys.Rows[i]["topicid"].ToString())%>" target="_blank">
					<%=titleC%>
				</a>
			</td>
			<td align="center" width="15%">
				<%=child%>
			</td>
		</tr>
		<!--{endfor}-->
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "postsRank"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="8" style="border-top:0px;background:#F3F6FA;">发帖排行</td>
		</tr>
		<tr align="center" class="category">
			<td colspan="2" width="25%">发帖 排行榜</td>
			<td colspan="2" width="25%">精华帖 排行榜</td>
			<td colspan="2" width="25%">最近 30 天发帖 排行榜</td>
			<td colspan="2" width="25%">最近 24 小时发帖 排行榜</td>
		</tr>
		<!-- <%
				int rows71 = dtPostsRank == null?0:dtPostsRank.Rows.Count;
				int rows72 = dtClassicalRank == null?0:dtClassicalRank.Rows.Count;
				int rows73 = dtPostIn30DayRank == null?0:dtPostIn30DayRank.Rows.Count;
				int rows74 = dtPostIn24hrRank == null?0:dtPostIn24hrRank.Rows.Count;

				int tmp71 = rows71 > rows72 ? rows71 : rows72;
				int tmp72 = rows73 > tmp71 ? rows73 : tmp71;
				int max7 = tmp72 > rows74 ? tmp72 : rows74;
            %> -->
		<!--{for (int i = 0; i < max7; i++)}-->
		<!-- <%
				string UserNameP, UserPost, UserNameC, userisclassical, UserNameD, PostIn30Day, UserNameH, PostIn24hr;
				if (i > rows71 - 1)
				{
					UserNameP = "";
					UserPost = "";
				}
				else
				{
					UserNameP = dtPostsRank.Rows[i]["UserName"] == null?"":dtPostsRank.Rows[i]["UserName"].ToString();
					UserPost = dtPostsRank.Rows[i]["UserPost"] == null?"":dtPostsRank.Rows[i]["UserPost"].ToString();
				}
				if (i > rows72 - 1)
				{
					UserNameC = "";
					userisclassical = "";
				}
				else
				{
					UserNameC = dtClassicalRank.Rows[i]["UserName"] == null?"":dtClassicalRank.Rows[i]["UserName"].ToString();
					userisclassical = dtClassicalRank.Rows[i]["userisclassical"] == null?"":dtClassicalRank.Rows[i]["userisclassical"].ToString();
				}
				if (i > rows73 - 1)
				{
					UserNameD = "";
					PostIn30Day = "";
				}
				else
				{
					UserNameD = dtPostIn30DayRank.Rows[i]["UserName"] == null?"":dtPostIn30DayRank.Rows[i]["UserName"].ToString();
					PostIn30Day = dtPostIn30DayRank.Rows[i]["PostIn30Day"] == null?"":dtPostIn30DayRank.Rows[i]["PostIn30Day"].ToString();
				}
				if (i > rows74 - 1)
				{
					UserNameH = "";
					PostIn24hr = "";
				}
				else
				{
					UserNameH = dtPostIn24hrRank.Rows[i]["UserName"] == null?"":dtPostIn24hrRank.Rows[i]["UserName"].ToString();
					PostIn24hr = dtPostIn24hrRank.Rows[i]["PostIn24hr"] == null?"":dtPostIn24hrRank.Rows[i]["PostIn24hr"].ToString();
				}
            %> -->
		<tr align="center">
			<td width="16%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameP)%>" target="_blank">
					<%=UserNameP%>
				</a>
			</td>
			<td width="9%">
				<%=UserPost%>
			</td>
			<td width="16%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameC)%>" target="_blank">
					<%=UserNameC%>
				</a>
			</td>
			<td width="9%">
				<%=userisclassical%>
			</td>
			<td width="16%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameD)%>" target="_blank">
					<%=UserNameD%>
				</a>
			</td>
			<td width="9%">
				<%=PostIn30Day%>
			</td>
			<td width="16%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameH)%>" target="_blank">
					<%=UserNameH%>
				</a>
			</td>
			<td width="9%">
				<%=PostIn24hr%>
			</td>
		</tr>
		<!--{endfor}-->
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "strategyRank"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="6" style="border-top:0px;background:#F3F6FA;">积分排行</td>
		</tr>
		<tr align="center" class="category">
			<td colspan="2" width="33%">积分 排行榜</td>
			<td colspan="2" width="33%">威望 排行榜</td>
			<td colspan="2" width="33%">金钱 排行榜</td>
		</tr>
		<!-- <%
				int rows81 = dtUserScoreRank==null?0:dtUserScoreRank.Rows.Count;
				int rows82 = dtUserPowerRank==null?0:dtUserPowerRank.Rows.Count;
				int rows83 = dtUserMoneyRank==null?0:dtUserMoneyRank.Rows.Count;

				int tmp = rows81 > rows82 ? rows81 : rows82;
				int max8 = tmp > rows83 ? tmp : rows83;
			%> -->
		<!--{for (int i = 0; i < max8; i++)}-->
		<!-- <%
				string UserNameS, userScore, UserNameP, UserPower, UserNameM, UserMoney;
				if (i > rows81 - 1)
				{
					UserNameS = "";
					userScore = "";
				}
				else
				{
					UserNameS = dtUserScoreRank.Rows[i]["UserName"] == null?"":dtUserScoreRank.Rows[i]["UserName"].ToString();
					userScore = dtUserScoreRank.Rows[i]["userScore"] == null?"":dtUserScoreRank.Rows[i]["userScore"].ToString();
					userScore = int.Parse(userScore)<0?"0":userScore;
				}
				if (i > rows82 - 1)
				{
					UserNameP = "";
					UserPower = "";
				}
				else
				{
					UserNameP = dtUserPowerRank.Rows[i]["UserName"] == null?"":dtUserPowerRank.Rows[i]["UserName"].ToString();
					UserPower = dtUserPowerRank.Rows[i]["UserPower"] == null?"":dtUserPowerRank.Rows[i]["UserPower"].ToString();
				}
				if (i > rows83 - 1)
				{
					UserNameM = "";
					UserMoney = "";
				}
				else
				{
					UserNameM = dtUserMoneyRank.Rows[i]["UserName"] == null?"":dtUserMoneyRank.Rows[i]["UserName"].ToString();
					UserMoney = dtUserMoneyRank.Rows[i]["UserMoney"] == null?"":dtUserMoneyRank.Rows[i]["UserMoney"].ToString();
				}
		%> -->
		<tr align="center">
			<td width="21%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameS)%>" target="_blank">
					<%=UserNameS%>
				</a>
			</td>
			<td width="10%">
				<%=userScore%>
			</td>
			<td width="21%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameP)%>" target="_blank">
					<%=UserNameP%>
				</a>
			</td>
			<td width="10%">
				<%=UserPower%>
			</td>
			<td width="21%">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserNameM)%>" target="_blank">
					<%=UserNameM%>
				</a>
			</td>
			<td width="10%">
				<%=UserMoney%>
			</td>
		</tr>
		<!--{endfor}-->
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "tradeRank"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="3" style="border-top:0px;background:#F3F6FA;">
				<a href="stats.aspx?type=tradeRank&tra=Amt" <!--{if(Get("tra") == "Amt" || Get("tra") == "")}-->style="font-weight:bold"<!--{endif}-->>交易额排行</a> | 
				<a href="stats.aspx?type=tradeRank&tra=Qty" <!--{if(Get("tra") == "Qty")}-->style="font-weight:bold"<!--{endif}-->>交易数排行</a>
			</td>
		</tr>
		<!--{if(Get("tra") == "Amt" || Get("tra") == "")}-->
		<tr class="title">
			<td colspan="3">交易额排行</td>
		</tr>
		<tr align="center">
			<td width="34%">商品名称</td>
			<td width="33%">卖家</td>
			<td width="33%">总金额(元)</td>
		</tr>
		<!--{for (int i = 0; i < dtTradeAmtRank.Rows.Count; i++)}-->
		<!-- <%
				string product = dtTradeAmtRank.Rows[i]["product"].ToString();
				string seller  = dtTradeAmtRank.Rows[i]["seller"].ToString();
				string Amt     = dtTradeAmtRank.Rows[i]["Amt"].ToString();
				string topicid = dtTradeAmtRank.Rows[i]["topicid"].ToString();
		%> -->
		<tr align="center">
			<td>
				<a href="topic.aspx?topicID=<%=topicid%>" target="_blank">
					<%=product%>
				</a>
			</td>
			<td>
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(seller)%>" target="_blank">
					<%=seller%>
				</a>
			</td>
			<td>
				<%=Amt%>
			</td>
		</tr>
		<!--{endfor}-->
		<!--{else if(Get("tra") == "Qty")}-->
		<tr class="title">
			<td colspan="3">交易数排行</td>
		</tr>
		<tr align="center">
			<td width="34%">商品名称</td>
			<td width="33%">卖家</td>
			<td width="33%">售出数量</td>
		</tr>
		<!--{for (int i = 0; i < dtTradeQtyRank.Rows.Count; i++)}-->
		<!-- <%
				string product  = dtTradeQtyRank.Rows[i]["product"].ToString();
				string seller   = dtTradeQtyRank.Rows[i]["seller"].ToString();
				string tradeQty = dtTradeQtyRank.Rows[i]["tradeQty"].ToString();
				string topicid  = dtTradeQtyRank.Rows[i]["topicid"].ToString();
		%> -->
		<tr align="center">
			<td>
				<a href="topic.aspx?topicID=<%=topicid%>" target="_blank">
					<%=product%>
				</a>
			</td>
			<td>
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(seller)%>" target="_blank">
					<%=seller%>
				</a>
			</td>
			<td>
				<%=tradeQty%>
			</td>
		</tr>
		<!--{endfor}-->
		<!--{endif}-->
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "team"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td colspan="7" style="border-top:0px;background:#F3F6FA;">管理团队 - 管理员和超级版主</td>
		</tr>
		<tr align="center" class="category">
			<td width="20%">用户名</td>
			<td width="15%">管理头衔</td>
			<td width="15%">上次访问</td>
			<td width="10%">离开天数</td>
			<td width="10%">积分</td>
			<td width="10%">帖子</td>
			<td width="20%">最近 30 天发帖</td>
		</tr>
		<!--{for (int i = 0; i < dtTeamPager.Rows.Count; i++)}-->
		<!-- <%
						string UserName      = dtTeamPager.Rows[i]["UserName"].ToString();
						string title         = dtTeamPager.Rows[i]["title"].ToString();
						DateTime LastLogin   = DateTime.Parse(dtTeamPager.Rows[i]["LastLogin"].ToString());
						string leaveDays     = dtTeamPager.Rows[i]["leaveDays"].ToString();
						string strategy      = dtTeamPager.Rows[i]["strategy"].ToString();
						strategy             = int.Parse(strategy)<0?"0":strategy;
						string UserTopic     = dtTeamPager.Rows[i]["UserTopic"].ToString();
						string postsIn30days = dtTeamPager.Rows[i]["postsIn30days"].ToString();
				%> -->
		<tr align="center">
			<td nowrap="nowrap">
				<a href="<%="user_info.aspx?name=" + Server.UrlEncode(UserName)%>"  target="_blank">
					<%=UserName%>
				</a>
			</td>
			<td>
				<%=title%>
			</td>
			<td>
				<%=((DateTime)LastLogin).ToString("g")%>
			</td>
			<td>
				<%=leaveDays%>
			</td>
			<td>
				<%=strategy%>
			</td>
			<td>
				<%=UserTopic%>
			</td>
			<td>
				<%=postsIn30days%>
			</td>
		</tr>
		<!--{endfor}-->
		<tr id="pagerrow">
			<td colspan="9"><!--#include file="_temppager.htm"--></td>
		</tr>
	</table>
</td>
<!-- {endif} -->
<!-- {if ((_type == "boardstat"))} -->
<br />
<td valign="top">
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<tr>
			<td><a href="stats.aspx?type=boardstat&action=today" <!--{if(_action=="today")}-->style='font-weight:bold'<!--{endif}-->>今日帖数图例</a></td>
			<td><a href="stats.aspx?type=boardstat&action=topicnum" <!--{if(_action=="topicnum")}-->style='font-weight:bold'<!--{endif}-->>主题数图例</a></td>
			<td><a href="stats.aspx?type=boardstat&action=bbsnum" <!--{if(_action=="bbsnum")}-->style='font-weight:bold'<!--{endif}-->>总帖子数图例</a></td>
			<td><a href="stats.aspx?type=boardstat&action=online" <!--{if(_action=="online")}-->style='font-weight:bold'<!--{endif}-->>在线图例</a></td>
			<td><a href="online.aspx">在线情况</a></td>
			<td><a href="stats.aspx?type=boardstat&action=onlineUserinfo" <!--{if(_action=="onlineUserinfo")}-->style='font-weight:bold'<!--{endif}-->>用户组在线图例</a></td>
		</tr>
		<tr>
			<td colspan="6" align="center"><%=_barmsg%>
			</td>
		</tr>
	</table>
	<br />
	<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
		<!-- <% 
			System.Data.DataTable dtstat = list.Tables.Count>0?list.Tables[0]:new System.Data.DataTable();
			int	c2 = dtstat.Rows.Count, i = 0;
		%>-->
		<!-- {if(_action == "today")} -->
		<tr>
			<td colspan="3" style="border-top:0px;background:#F3F6FA;">今日帖数图例</td>
		</tr>
		<tr>
			<td width="150" align="center">论坛名称</td>
			<td align="center">图形比例</td>
			<td width="100" align="center">今日帖数</td>
		</tr>
		<!--{for(; i < dtstat.Rows.Count; i++)}-->
				<!--<%int _i02 = (((int)dtstat.Rows[i]["TodayNum"])*100)/mCount;%>-->
				<tr>
					<td align="center"><a href="<%=Rewrite("board.aspx?boardid="+dtstat.Rows[i]["boardid"].ToString(), "board-" + dtstat.Rows[i]["boardid"].ToString() + Extension, "board/b" + dtstat.Rows[i]["boardid"].ToString())%>" target="_blank"><%=dtstat.Rows[i]["BoardType"]%></a></td>
					<td align="left"><img src="<%="templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic()+".gif"%>" width="<%=Convert.ToString(_i02)%>" height="10" border="0"></td>
					<td align="center"><%=dtstat.Rows[i]["TodayNum"]%></td>
				</tr>
		<!--{endfor}-->
		<!--{if(i == 0)}-->
		<tr>
			<td colspan="3" height="40" align="center">找不到论坛版面数据，点击这里<a href="javascript:history.back()">返回前页</a>。
			</td>
		</tr>
		<!--{endif}-->
		<!-- {endif} -->
		<!-- {if(_action == "topicnum")} -->
		<tr>
			<td colspan="3" style="border-top:0px;background:#F3F6FA;">主题数图例</td>
		</tr>
		<tr>
			<td width="150" align="center">论坛名称</td>
			<td align="center">图形比例</td>
			<td width="100" align="center">主题数</td>
		</tr>
		<!--{for(; i < dtstat.Rows.Count; i++)}-->
				<!--<%int _i02 = (((int)dtstat.Rows[i]["TopicNum"])*100)/mCount;%>-->
				<tr>
					<td align="center"><a href="<%=Rewrite("board.aspx?boardid=" + dtstat.Rows[i]["boardid"].ToString(), "board-" + dtstat.Rows[i]["boardid"].ToString() + Extension, "board/b" + dtstat.Rows[i]["boardid"].ToString())%>" target="_blank"><%=dtstat.Rows[i]["BoardType"]%></a></td>
					<td align="left"><img src="<%="templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic()+".gif"%>" width="<%=Convert.ToString(_i02)%>" height="10" border="0"></td>
					<td align="center"><%=dtstat.Rows[i]["TopicNum"]%></td>
				</tr>
		<!--{endfor}-->
		<!--{if(i == 0)}-->
		<tr>
			<td colspan="3" height="40" align="center">找不到论坛版面数据，点击这里<a href="javascript:history.back()">返回前页</a>。
			</td>
		</tr>
		<!--{endif}-->
		<!-- {endif} -->
		<!-- {if(_action == "bbsnum")} -->
		<tr class="title">
			<td colspan="3" style="border-top:0px;background:#F3F6FA;">总帖子数图例</td>
		</tr>
		<tr>
			<td width="150" align="center">论坛名称</td>
			<td align="center">图形比例</td>
			<td width="100" align="center">总帖子数</td>
		</tr>
		<!--{for(; i < dtstat.Rows.Count; i++)}-->
				<!--<%int _i02 = (((int)dtstat.Rows[i]["PostNum"])*100)/mCount;%>-->
				<tr>
					<td align="center"><a href="<%=Rewrite("board.aspx?boardid=" + dtstat.Rows[i]["boardid"].ToString(), "board-" + dtstat.Rows[i]["boardid"].ToString() + Extension, "board/b" + dtstat.Rows[i]["boardid"].ToString())%>" target="_blank"><%=dtstat.Rows[i]["BoardType"]%></a></td>
					<td align="left"><img src="<%="templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic()+".gif"%>" width="<%=Convert.ToString(_i02)%>" height="10" border="0"></td>
					<td align="center"><%=dtstat.Rows[i]["PostNum"]%></td>
				</tr>
		<!--{endfor}-->
		<!--{if(i == 0)}-->
		<tr>
			<td colspan="3" height="40" align="center">找不到论坛版面数据，点击这里<a href="javascript:history.back()">返回前页</a>。
			</td>
		</tr>
		<!--{endif}-->
		<!-- {endif} -->
		<!-- {if(_action == "online")} -->
		<tr>
			<td colspan="3" style="border-top:0px;background:#F3F6FA;">在线图例</td>
		</tr>
		<tr>
			<td width="150" align="center">论坛名称</td>
			<td align="center">图形比例</td>
			<td width="100" align="center">在线人数
			</td>
		</tr>
		<!--<%int _i03 =   (mOther*100)/mAllcount;%>-->
		<tr>
			<td align="center">论坛其它位置</td>
			<td align="left"><img src="<%="templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic() +".gif"%>" width="<%=Convert.ToString(_i03)%>" height="10" border="0"></td>
			<td align="center"><%=Convert.ToString(mOther)%></td>
		</tr>
		<!--{for(; i < dtstat.Rows.Count; i++)}-->
				<!--<%int _i02 = (((int)dtstat.Rows[i]["onlineNum"])*100)/mCount;%>-->
				<tr>
					<td align="center"><a href="<%=Rewrite("board.aspx?boardid=" + dtstat.Rows[i]["boardid"].ToString(), "board-" + dtstat.Rows[i]["boardid"].ToString() + Extension, "board/b" + dtstat.Rows[i]["boardid"].ToString())%>" target="_blank"><%=dtstat.Rows[i]["BoardType"]%></a></td>
					<td align="left"><img src="<%="templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic()+".gif"%>" width="<%=Convert.ToString(_i02)%>" height="10" border="0"></td>
					<td align="center"><%=dtstat.Rows[i]["onlineNum"]%></td>
				</tr>
		<!--{endfor}-->
		<!--{if(i == 0)}-->
		<tr>
			<td colspan="3" height="40" align="center">找不到论坛版面数据，点击这里<a href="javascript:history.back()">返回前页</a>。
			</td>
		</tr>
		<!--{endif}-->
		<!-- {endif} -->
		<!-- {if(_action == "onlineUserinfo")} -->
		<tr>
			<td colspan="3" style="border-top:0px;background:#F3F6FA;">用户组在线图例</td>
		</tr>
		<tr>
			<td width="150" align="center">用户组别</td>
			<td align="left">图形比例</td>
			<td width="100" align="center">在线人数</td>
		</tr>
		<!--{for(; i < dtstat.Rows.Count; i++)}-->
				<!--<%int _i02 = (((int)dtstat.Rows[i]["c"])*100)/mCount;%>-->
				<tr>
					<td align="center"><%=dtstat.Rows[i]["title"]%></td>
					<td align="left"><img src="<%="templates/" + Dvbbs.Utils.TemplateInfo.CurrentTemplateName + "/images/bar/bar"+ GetRandPic()+".gif"%>" width="<%=Convert.ToString(_i02)%>" height="10" border="0"></td>
					<td align="center"><%=dtstat.Rows[i]["c"]%></td>
				</tr>
		<!--{endfor}-->
		<!--{if(i == 0)}-->
		<tr>
			<td colspan="3" height="40" align="center">找不到论坛版面数据，点击这里<a href="javascript:history.back()">返回前页</a>。
			</td>
		</tr>
		<!--{endif}-->
		<!-- {endif} -->
	</table>
	</div>
</td>
<!-- {endif} -->
<!--{if(_type=="userlist")}-->

<table>
	<form method="post" action="stats.aspx?type=userlist" ID="Form4">
		<tr>
			<td>
				<select name="filter" id="filter">
					<option value="" selected>所有会员</option>
					<option value="admin">管理团队及贵宾</option>
					<option value="locked">被锁定的会员</option>
				</select>
				<select name="column" id="column">
					<option value="jointime" selected>按注册时间</option>
					<option value="post">按会员名称</option>
					<option value="name">按发帖数量</option>
					<option value="experience">按积分值</option>
					<option value="money">按金钱值</option>
					<option value="logins">按登录次数</option>
					<option value="lasttime">按最近登录</option>
				</select>
				<select name="sort" id="sort">
					<option value="desc" selected>倒序</option>
					<option value="asc">顺序</option>
				</select>
				&nbsp;关键字: <input name="keyname" id="keyname" maxlength="12" style="WIDTH:90px" onclick="this.value=''" onFocus="IEvent('focus',this);" onBlur="IEvent('blur',this);" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
				<input type="submit" value="筛 选" ID="Submit3" NAME="Submit3" class="button_off" onclick="document.frmLogin.submit();" onFocus="IEvent('focus',this)"	onBlur="IEvent('blur',this)" onMouseOver="IEvent('mouseover',this)" onMouseOut="IEvent('mouseout',this)">
		
			</td>
		</tr>
	</form>
</table>
<table class="mainbox tableborder" style="width:100%" cellspacing="0" cellpadding="0">
	<tr>
		<td colspan="10" style="border-top:0px;background:#F3F6FA;">会员列表</td>
	</tr>
	<tr align="center"  class="bg3">
		<td>会员名</td>
		<td width="7%">性别</td>
		<td width="15%">等级</td>
		<td width="7%">状态</td>
		<td width="7%">发帖</td>
		<td width="7%">积分</td>
		<td width="7%">金钱</td>
		<td width="7%">登录</td>
		<td width="14%">加入时间</td>
		<td class="row_no" width="14%">最后登录</td>
	</tr>
	<!--{for(int i=0;i<list.Tables[0].Rows.Count;i++)}-->
	<tr align="center">		
		<td><%=list.Tables[0].Rows[i]["name"].ToString()%></td>
		<td><%=list.Tables[0].Rows[i]["sex1"]%></td>
		<td><%=list.Tables[0].Rows[i]["levels"]%></td>
		<td><%=list.Tables[0].Rows[i]["status"]%></td>
		<td><%=list.Tables[0].Rows[i]["post"]%></td>
		<td><%=list.Tables[0].Rows[i]["experience"]%></td>
		<td><%=list.Tables[0].Rows[i]["moneys"]%></td>
		<td><%=list.Tables[0].Rows[i]["logins"]%></td>
		<td><%=list.Tables[0].Rows[i]["jointime"]%></td>
		<td><%=list.Tables[0].Rows[i]["lasttime"]%></td>
	<tr>
	<!--{endfor}-->
	<tr>
		<td colspan="10" class="row_no"><!--#include file="_temppager.htm"--></td>
	</tr>
</table>
<br />
</div>
<script>
var filter = document.getElementById("filter");
var column = document.getElementById("column");
var _sort = document.getElementById("sort");
var l = filter.length;
var i=0;
for(;i<l;i++){
	if(filter.options[i].value=='<%=filter%>'){
		filter.options[i].selected=true;break;
	}
}
 l = column.length;
 i=0;
for(;i<l;i++){
	if(column.options[i].value=='<%=column%>'){
		column.options[i].selected=true;break;
	}
}
 l = _sort.length;
 i=0;
for(;i<l;i++){
	if(_sort.options[i].value=='<%=sort%>'){
		_sort.options[i].selected=true;break;
	}
}
</script>
<!--{endif}-->
<!--#include file="_footer.html" -->