<!--#include file="_header.html" -->
<script>
var preid = 'chengyuan';
function dispartile(artid){
	if(artid == preid) return ;
	if(preid!=artid){
		try{
			document.getElementById(preid).style.display='none';
		}catch(e){}
	}
	preid = artid;
	var artid = document.getElementById(artid);
	if(artid.style.display=='none'){
		artid.style.display='block';
	}else{
		artid.style.display='none';
	}
 return ;
}
</script>
<br />
<div class="mainbox">
	<div class="notice">
		<span>
			<!--#include file="_nav.html"--></span>&nbsp;
	</div>
</div>
<br />
<table class="mainbox" border="0" cellspacing="0" cellpadding="0" ID="Table1">
	<tr>
		<td width="20%" valign="top">
			<table width="100%" class="border" cellspacing="0" cellpadding="0" ID="Table2">
				<tr>
					<td>
						<h3 class="titlebig">按分类浏览</h3>
					</td>
		</td>
	</tr>
	<tr>
		<td align="center">
			<!--{if(null!=mGetGroupType)}-->
			<!-- {for(int i=0;i<mGetGroupType.Rows.Count;i++)} -->
			<!--{if((i)%2==0)}-->
			<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" ID="Table8">
				<tr>
					<!--{endif}-->
					<td height="24" align="left">·<a href="quan_1.aspx?typeid=<%=mGetGroupType.Rows[i]["typeid"]%>"><%=mGetGroupType.Rows[i]["typetitle"]%></a> <em class="green">(<%=mGetGroupType.Rows[i]["groupcount"]%>)</em></td>
					<!--{if((i+1)%2==0 || i == mGetGroupType.Rows.Count-1)}-->
				</tr>
			</table>
			<!--{endif}-->
			<!--{endfor}-->
			<!--{endif}-->
		</td>
	</tr>
</table>
<table width="100%" class="border" cellspacing="0" cellpadding="0" ID="Table9">
	<tr>
		<td><h3 style="margin-bottom:0px;"><a href="javascript:dispartile('chengyuan')">&nbsp;按成员数浏览</a></h3>
		<div id="chengyuan" name="chengyuan" style="display:block">
				<!--{if(null!=mGetUserOrderGroup)}-->
				<!-- {for(int i=0;i<mGetUserOrderGroup.Rows.Count;i++)} -->
				<table width="98%" height="24" border="0" align="center" cellpadding="0" cellspacing="0"
					ID="Table12">
					<tr>
						<td width="30" align="center"><img src="templates/<%=CurrentTemplateName%>/images/2_<%=(i+1)%>.gif" /></td>
						<td align="left"><a href="my_group_list.aspx?GroupId=<%=mGetUserOrderGroup.Rows[i]["id"]%>"><%=mGetUserOrderGroup.Rows[i]["groupname"]%></a></td><td width="40" class="font10">( <%=mGetUserOrderGroup.Rows[i]["UserNum"]%> )</td>
					</tr>
				</table>
				<!--{endfor}-->
				<!--{endif}--></div>
		</td>
	</tr>
	<tr>
		<td><h3 style="margin-bottom:0px;"><a href="javascript:dispartile('visiteid')">&nbsp;按访问量浏览</a></h3>
		<div id="visiteid" name="visiteid" style="display:none">
				<!--{if(null!=mGetHitsGroup)}-->
				<!-- {for(int i=0;i<mGetHitsGroup.Rows.Count;i++)} -->
				<table width="98%" height="24" border="0" align="center" cellpadding="0" cellspacing="0"
					ID="Table15">
					<tr>
						<td width="30" align="center"><img src="templates/<%=CurrentTemplateName%>/images/2_<%=(i+1)%>.gif" /></td>
						<td align="left"><a href="my_group_list.aspx?GroupId=<%=mGetUserOrderGroup.Rows[i]["id"]%>"><%=mGetHitsGroup.Rows[i]["groupname"]%></a></td><td width="40" class="font10">( <%=mGetHitsGroup.Rows[i]["UserNum"]%> )</td>
					</tr>
				</table>
				<!--{endfor}-->
				<!--{endif}--></div>
		</td>
	</tr>
	<tr>
		<td><h3 style="margin-bottom:0px;"><a href="javascript:dispartile('createid')">&nbsp;按创建时间浏览</a></h3>
		<div id="createid" name="createid" style="display:none">
				<!--{if(null!=mGetCreateDateGroup)}-->
				<!-- {for(int i=0;i<mGetCreateDateGroup.Rows.Count;i++)} -->
				<table width="98%" height="24" border="0" align="center" cellpadding="0" cellspacing="0"
					ID="Table18">
					<tr>
						<td width="30" align="center"><img src="templates/<%=CurrentTemplateName%>/images/2_<%=(i+1)%>.gif" /></td>
						<td align="left"><a href="my_group_list.aspx?GroupId=<%=mGetUserOrderGroup.Rows[i]["id"]%>"><%=mGetCreateDateGroup.Rows[i]["groupname"]%></a></td><td width="40" class="font10">( <%=mGetCreateDateGroup.Rows[i]["UserNum"]%> )</td>
					</tr>
				</table>
				<!--{endfor}-->
				<!--{endif}--></div>
		</td>
	</tr>
	<br />
</table>
<br />
<table width="100%" class="border" cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" ID="Table21">
				<tr>
					<td><h3 class="titlebig">人气最旺圈子</h3>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td align="center">
			<!--{if(null!=mGetHostGroup)}-->
			<!-- {for(int i=0;i<mGetHostGroup.Rows.Count;i++)} -->
			<table width="98%" height="24" border="0" align="center" cellpadding="0" cellspacing="0"
				ID="Table22">
				<tr>
					<td width="30" align="center"><img src="templates/<%=CurrentTemplateName%>/images/2_<%=(i+1)%>.gif" /></td>
					<td align="left"><a href="my_group_list.aspx?GroupId=<%=mGetUserOrderGroup.Rows[i]["id"]%>"><%=mGetHostGroup.Rows[i]["groupname"]%></a></td><td width="40" align="left" class="font10">( <%=mGetHostGroup.Rows[i]["UserNum"]%> )</td>
				</tr>
			</table>
			<!--{endfor}-->
			<!--{endif}-->
		</td>
	</tr>
</table>
</td>
<td width="2%"></td>
<td height="10" width="75%" valign="top">
	<table width="100%" class="border padding" style="background:#fffff7" border="0" cellpadding="0"
		cellspacing="0" ID="Table27">
		<tr>
			<td><span style="margin-left:5px;">共找到<%=_TplPager.Total%>个圈子，当前页显示<%=_TplPager.Per%>个。</span></td>
		</tr>
	</table>
	<!-- {foreach (System.Data.DataRow mBList in mBoardList.Rows)} -->
	<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-bottom:1px dashed #dddddd;"
		ID="Table28">
		<tr>
			<td width="155" rowspan="2" align="center"><div><table width="116" border="0" cellpadding="0" cellspacing="0" ID="Table29">
						<tr>
							<td align="center"><a href="my_group_list.aspx?GroupId=<%=mBList["id"]%>" title="<%=mBList["GroupInfo"]%>"><img src="<%=("" == mBList["CircleLogo"].ToString() ? "templates/"+ CurrentTemplateName +"/images/group.gif" : Dvbbs.Utils.Config.uploadfiles + mBList["CircleLogo"].ToString())%>" width="80" height="80" border="0" /></a></td>
						</tr>
					</table>
				</div>
			</td>
			<td width="478" height="30"><div align="left"><a href="my_group_list.aspx?GroupId=<%=mBList["id"]%>" title="<%=mBList["GroupInfo"]%>"><b><%=mBList["groupname"]%></b></a><span>
						<em>( <strong class="yellow">
								<%=(""== mBList["UserNum"] ? "0" : mBList["UserNum"])%>
							</strong>人 )</em></span></div>
			</td>
			<td width="177" height="30" style="text-align:left">
				<!-- {if ("0" == mBList["oldStats"].ToString())} -->
				&nbsp;圈子状态：<font color="green">待审圈子</font> 
				<!-- {else} -->
				&nbsp;加入状态： 
				<!-- {if (base.user.IsGuest)} -->
				<font class="fon3">未登录</font> 
				<!-- {else} -->
				<!-- {if ("0" == mBList["isjoin"].ToString())} -->
				<font color="blue">已加入,待审</font> 
				<!--{else if("1"==mBList["isjoin"].ToString() || mBList["isjoin"].ToString()=="2")}-->
				<font color="blue">已经加入</font> 
				<!-- {else} -->
				<a href="my_group_list.aspx?Action=AddGroupMe&GroupId=<%=mBList["id"]%>" target="hiddenframe" >
					<img src="templates/<%=CurrentTemplateName%>/images/list2.gif" width="9" height="9" border="0" />加入本圈</a>
				<!-- {endif} -->
				<!-- {endif} -->
				<!-- {endif} -->
			</td>
		</tr>
		<tr>
			<td height="80" colspan="2" valign="top"><div align="left"><span><%=Text.Left(mBList["GroupInfo"].ToString(),160,true)%>
					</span>
					<br />
					<br />
					<a href="user_info.aspx?name=<%=mBList["AppUserName"]%>">
						<%=mBList["AppUserName"]%>
					</a>&nbsp;帖子：<%=mBList["PostNum"]%>
					主题：<%=mBList["TopicNum"]%>
					<span>创建时间：<em>
							<%=mBList["AppDate"]%>
						</em></span></div>
			</td>
		</tr>
	</table>
	<!--{endforeach}--><br />
	<table width="97%" border="0" cellspacing="0" cellpadding="0" ID="Table30">
		<tr>
			<td><!--#include file="_temppager.htm"--></td>
		</tr>
	</table>
</td>
</tr></table> 
<!--#include file="_footer.html" -->