<!--#include file="_header.html" -->
<link rel="stylesheet" href="templates/default/scripts/thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="templates/default/scripts/jquery.js"></script>
<script type="text/javascript" src="templates/default/scripts/thickbox.js"></script>
<script type="text/javascript" language="javascript" src="templates/scripts/dvajax.js"></script>
<script type="text/javascript" language="javascript">
<!--
function showVerify(obj)
{
	var l = getOffsetLeft(obj);
	var t = getOffsetTop(obj) - 80;	
	$("verifyCode").innerHTML= "<img src='<%=Fetch.ValidateCodeFileName%>?time="+ new Date()+"' alt='看不清图片请点空白处' border='1' style='cursor:hand; margin-top:-1px'>";
	$("verifyCode").style.left = l + "px";
	$("verifyCode").style.top = t + "px";
	$("verifyCode").style.display = 'block';
}
function hiddenVerify()
{	
	$("verifyCode").innerHTML="";
}
//-->
</script>
<br />
<div class="mainbox">
	<div class="notice">
		<span>
			<!--#include file="_nav.html"--></span>&nbsp;
	</div>
</div>
<br />
<div class="mainbox">
	<div class="notice">
		<span>
		<a href="quan.aspx" class="page">圈子聚合首页</a>
		<a href="my_group_list.aspx?GroupId=<%=GroupId%>" class="page">圈子首页</a>
		<a href="my_group_index.aspx?GroupId=<%=GroupId%>" class="page">交流区</a>
		<a href="my_group_gplist.aspx?GroupId=<%=GroupId%>" class="page">推荐阅读</a>
		<a href="my_group_user.aspx?GroupId=<%=GroupId%>" class="page">成员列表</a>
		<a href="my_group_manage.aspx?GroupID=<%=GroupId%>&amp;Action=ManageGroup" class="page">圈子管理</a>
		</span>&nbsp;
	</div>
</div>
<!--圈子主体开始-->
<table class="mainbox" cellspacing="0" cellpadding="0">
	<tr>
		<td width="20%" valign="top">
			<!--左边部分-->
			<table border="0" class="border" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td>
						<h3 class="titlebig">圈子介绍</h3>
					</td>
				</tr>
				<tr>
					<td height="30" align="left">&nbsp;&nbsp;圈子名称：<%=__mGroupInfos__[0]%>
					</td>
				</tr>
				<tr>
					<td align="center">
						<a href="my_group_index.aspx?GroupId=<%=GroupId%>" target="_self"><img width="80" height="80"  style="border:1px solid #fff" src="<%=(null == mGroupInfos.CircleLogo ? "templates/" + CurrentTemplateName +"/images/group.gif" : Dvbbs.Utils.Config.uploadfiles + mGroupInfos.CircleLogo.ToString())%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" /></a>
					</td>
				</tr>
				<tr>
					<td align="left">
						&nbsp;&nbsp;成员：<%=mGroupInfos.UserNum%>人
					</td>
				</tr>
				<tr>
					<td height="5" align="left">
						&nbsp;&nbsp;说明：<%=(3 == __mGroupInfos__.Length ? "当前栏目：" + Text.Left(__mGroupInfos__[2], 110, true) + "<br />" : Text.Left(__mGroupInfos__[1], 110, true))%>
					</td>
				</tr>
				<tr>
					<td height="5" align="left">
						&nbsp;&nbsp;标签：<%=mGroupInfos.GroupType%></td>
				</tr>
				<tr>
					<td height="5" align="left">
						&nbsp;&nbsp;加入：<%=mGroupInfos.GroupNameStat[0]%>
					</td>
				</tr>
				<tr>
					<td height="26" align="center">
						<a href="my_group_list.aspx?Action=AddGroupMe&amp;GroupId=<%=GroupId%>"><img src="templates/<%=CurrentTemplateName%>/images/jiaru.gif" border="0" /></a>
						<a href="message_send.aspx?TB_iframe=true&height=335&width=530&groupid=<%=GroupId%>" title="发送短信" id="msgwrite" class="thickbox">
							<img src="templates/<%=CurrentTemplateName%>/images/yaoqing.gif" border="0" /></a><br /><br />
					</td>
				</tr>
			</table>
			<br />
			<table border="0" class="border" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td><h3 class="titlebig">本圈栏目</h3>
					</td>
				</tr>
				<!-- {foreach (System.Data.DataRow mBList in mBoardList.Rows)} -->
				<!--<%
					string[] mLastPost= (null !=mBList["LastPost"] ? mBList["LastPost"].ToString().Split('$'):new string[]{"","","",""});
					if(mLastPost.Length<4){
						mLastPost = new string[]{"","","",""};
					}
				%>-->
				<tr>
					<td height="15" align="left">
						&nbsp;&nbsp;<a href="my_group_index.aspx?GBoardId=<%=mBList["ID"]%>"><%=mBList["BoardName"]%></a>&nbsp;&nbsp;&nbsp;&nbsp;<%=mBList["TodayNum"]%>
						/<%=mBList["TopicNum"]%>/<%=mBList["PostNum"]%>
					</td>
				</tr>
				<!--{endforeach}-->
			</table>
			<br />
			<table border="0" cellspacing="0" class="border" cellpadding="0" width="100%">
				<tr>
					<td><h3 class="titlebig">数据统计</h3>
					</td>
				</tr>
				<tr>
					<td height="15" align="left">&nbsp;&nbsp;昨日帖子数：<%=mGroupInfos.YesterdayNum%></td>
				</tr>
				<tr>
					<td height="15" align="left">&nbsp;&nbsp;成员：<%=mGroupInfos.UserNum%></td>
				</tr>
				<tr>
					<td height="30" align="left">&nbsp;&nbsp;创建时间：<%=mGroupInfos.AppDate%></td>
				</tr>
			</table>
			<br />
			<table border="0" class="border" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td colspan="2"><h3 class="titlebig">最新成员</h3>
					</td>
				</tr>
				<!--{if(null!=mGetGroupNewUsers)}-->
				<!-- {for(int i=0;i<mGetGroupNewUsers.Rows.Count;i++)} -->
				<tr>
					<td width="80" height="5" align="center">
						<table border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td width="48" align="center"><!--{if(i<mGetGroupNewUsers.Rows.Count)}-->
									<img src="<%=(null == mGetGroupNewUsers.Rows[i]["UserFace"] ? "hdimage/images/2_13.gif" : Dvbbs.Utils.Config.uploadfaces + mGetGroupNewUsers.Rows[i]["UserFace"])%>" alt="<%=mGetGroupNewUsers.Rows[i]["UserFace"]%>" title="<%=mGetGroupNewUsers.Rows[i]["UserFace"]%>" width="48" height="48" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')"/>
									<!--{else}-->
									<img src="files/uploadfaces/userface/noface.gif" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" width="48" height="48" /> 
									<!--{endif}-->
								</td>
							</tr>
							<tr>
								<td height="27" align="center"><!--{if(i<mGetGroupNewUsers.Rows.Count)}-->
									<a href="user_info.aspx?name=<%=mGetGroupNewUsers.Rows[i]["UserName"]%>">
										<%=mGetGroupNewUsers.Rows[i]["UserName"]%>
									</a>
									<!--{else}-->
									... 
									<!--{endif}-->
								</td>
							</tr>
						</table>
						<!--<% i++; %>-->
					</td>
					<td width="80" align="center"><table border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td width="48" align="center"><!--{if(i<mGetGroupNewUsers.Rows.Count)}-->
									<img src="<%=(null == mGetGroupNewUsers.Rows[i]["UserFace"] ? "hdimage/images/2_13.gif" : Dvbbs.Utils.Config.uploadfaces + mGetGroupNewUsers.Rows[i]["UserFace"])%>" width="48" height="48" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" />
									<!--{else}-->
									<img  src="files/uploadfaces/userface/noface.gif" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" width="48" height="48" /> 
									<!--{endif}-->
								</td>
							</tr>
							<tr>
								<td height="27" align="center"><!--{if(i<mGetGroupNewUsers.Rows.Count)}-->
									<a href="user_info.aspx?name=<%=mGetGroupNewUsers.Rows[i]["UserName"]%>">
										<%=mGetGroupNewUsers.Rows[i]["UserName"]%>
									</a>
									<!--{else}-->
									... 
									<!--{endif}-->
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<!--{endfor}-->
				<!--{endif}-->
			</table>
			<!--end 左边部分-->
		</td>
		<td width="60%" valign="top">
			<!--中间部分-->
			<table class="border" cellspacing="0" cellpadding="0" width="98%">
				<tr>
					<td><h3 class="titlebig">圈内讨论</h3></td>
				</tr>
				<tr>
					<td align="center" valign="top">
						<table width="100%" cellspacing="0" cellpadding="0">
							<tr>
								<td width="19%" height="20" align="center">话题</td>
								<td width="50%" align="right">&nbsp;</td>
								<td width="20%" align="center">作者</td>
								<td width="11%" align="center">回复/点击</td>
							</tr>
						</table>
						<!-- {foreach (System.Data.DataRow mTopList in mGetIndexTopPost.Rows)} -->
						<!--<%
	string[] mLastPost= (null !=mTopList["LastPost"] ? mTopList["LastPost"].ToString().Split('$'):new string[]{"","","",""});
	if(mLastPost.Length<4){
		mLastPost = new string[]{"","","",""};
	} 
%>-->
						<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="heightd tableborder" style="border:0px;" >
							<tr>
								<td width="375" height="25" align="left">&nbsp;&nbsp;<a href="my_group_topic.aspx?TopicID=<%=mTopList["TopicID"]%>" target="_self"><%=mTopList["Title"]%></a>
								</td>
								<td width="112" height="20" align="center"><a href="user_info.aspx?name=<%=mTopList["PostUserName"]%>" target="_self"><%=mTopList["PostUserName"]%></a></td>
								<td width="60" align="center"><span><%=mTopList["RepNum"]%> / <%=mTopList["hits"]%></span></td>
							</tr>
						</table>
						<!-- {endforeach} -->
					</td>
				</tr>
			</table>
			<br />
			<table class="border" cellspacing="0" cellpadding="0" width="98%">
				<tr>
					<td><h3 class="titlebig">圈内成员推荐阅读</h3>
					</td>
				</tr>
				<tr>
					<td align="center">
						<!-- {foreach (System.Data.DataRow mTopList in mGetIndexTopPostIsGood.Rows)} -->
						<!--<%
		string[] mLastPost= (null !=mTopList["LastPost"] ? mTopList["LastPost"].ToString().Split('$'):new string[]{"","","",""});
		if(mLastPost.Length<4){
			mLastPost = new string[]{"","","",""};
		} 
	%>-->
						<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="heightd tableborder" style="border:0px;">
							<tr>
								<td width="450" height="26" align="left">&nbsp;&nbsp;<a href="my_group_topic.aspx?TopicID=<%=mTopList["TopicID"]%>" target="_self"><%=mTopList["Title"]%></a></td>
								<td width="97" height="20" align="center"><a href="user_info.aspx?name=<%=mTopList["PostUserName"]%>" target="_self"><%=mTopList["PostUserName"]%></a></td>
							</tr>
						</table>
						<!-- {endforeach} -->
					</td>
				</tr>
			</table>
			<!--中间部分结束-->
		</td>
		<td width="20%" valign="top">
			<!--右边部分-->
			<table class="border" border="0" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td><h3 class="titlebig">圈主介绍</h3>
					</td>
				</tr>
				<tr>
					<td align="center"><img src="<%=Dvbbs.Utils.Config.uploadfaces+Server.UrlDecode(GroupUserId)+".jpg"%>" width="75" height="75" alt="<%=GroupUserName%>"  style="border:1px solid #fff" onerror="ImageOnError(this,'files/uploadfaces/userface/noface.gif')" /></td>
				</tr>
				<tr>
					<td align="center"><%=GroupUserName%></td>
				</tr>
				<tr>
					<td align="center">
						<a onclick="AddFrend('additem.aspx','item=friend&style=new_style&uid=1&name=<%=GroupUserName%>')" style="cursor:hand">
							加为好友</a> <a  href="message_send.aspx?recipient=<%=GroupUserName%>&TB_iframe=true&height=335&width=530" id="msgsend1" class="thickbox" title="发送短消息">
							发送短信</a>
					</td>
				</tr>
				<tr>
					<td height="60" align="left" valign="top">
						<!--{if(userSign=="")}-->
						&nbsp;&nbsp;这个人很懒，还没有写签名... 
						<!--{else}-->
						&nbsp;&nbsp;<%=GrouupUserSinged%>
						<!--{endif}-->
					</td>
				</tr>
			</table>
			<br />
			<table class="border" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td><h3 class="titlebig">本周热门圈子</h3>
					</td>
				</tr>
				<tr>
					<td align="left">
						<!--{if(null!=mGetHostGroup)}-->
						<!-- {for(int i=0;i<mGetHostGroup.Rows.Count;i++)} -->
						<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td width="76" height="5" align="center">
									<table border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td width="48" align="center"><img src="<%=("" == mGetHostGroup.Rows[i]["CircleLogo"].ToString() ? "templates/"+CurrentTemplateName+"/images/group.gif" : Dvbbs.Utils.Config.uploadfiles + mGetHostGroup.Rows[i]["CircleLogo"])%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" width="48" height="48" /></td>
										</tr>
										<tr>
											<td height="27" align="center">
												<a href="my_group_index.aspx?GroupId=<%=mGetHostGroup.Rows[i]["id"]%>" target="_self" title="<%=Text.Left(Text.StripHtml(mGetHostGroup.Rows[i]["GroupName"].ToString()),4,true)%>">
												<%=Text.Left(mGetHostGroup.Rows[i]["GroupName"].ToString(), 8, true)%></a>
											</td>
										</tr>
									</table>
								</td>
								<td width="60" align="center">
									<!--<%
		i++;
	%>-->
									<table border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td width="48" align="center"><!--{if(i<mGetHostGroup.Rows.Count)}-->
												<img src="<%=("" == mGetHostGroup.Rows[i]["CircleLogo"].ToString() ? "templates/"+CurrentTemplateName+"/images/group.gif" : Dvbbs.Utils.Config.uploadfiles + mGetHostGroup.Rows[i]["CircleLogo"])%>" width="48" height="48" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" />
												<!--{else}-->
												<img src="templates/<%=CurrentTemplateName%>/images/group.gif" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" width="48" height="48" /> 
												<!--{endif}-->
											</td>
										</tr>
										<tr>
											<td height="27" align="center"><!--{if(i<mGetHostGroup.Rows.Count)}-->
												<a href="my_group_index.aspx?GroupId=<%=mGetHostGroup.Rows[i]["id"]%>" target="_self" title="<%=mGetHostGroup.Rows[i]["GroupName"]%>">
													<%=Text.Left(mGetHostGroup.Rows[i]["GroupName"].ToString(), 8, true)%>
												</a>
												<!--{else}-->
												... 
												<!--{endif}-->
											</td>
										</tr>
									</table>
								</td>
								<!--<%
		i++;
	%>-->
								<td width="60" align="center"><table border="0" align="center" cellpadding="0" cellspacing="0">
										<tr>
											<td width="48" align="center">
												<!--{if(i<mGetHostGroup.Rows.Count)}-->
												<img src="<%=("" == mGetHostGroup.Rows[i]["CircleLogo"].ToString() ?"templates/"+CurrentTemplateName+"/images/group.gif" : Dvbbs.Utils.Config.uploadfiles + mGetHostGroup.Rows[i]["CircleLogo"])%>" width="48" height="48" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" />
												<!--{else}-->
												<img src="templates/<%=CurrentTemplateName%>/images/group.gif" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" width="48" height="48" /> 
												<!--{endif}-->
											</td>
										</tr>
										<tr>
											<td height="27" align="center"><!--{if(i<mGetHostGroup.Rows.Count)}-->
												<a href="my_group_index.aspx?GroupId=<%=mGetHostGroup.Rows[i]["id"]%>" target="_self">
													<%=mGetHostGroup.Rows[i]["GroupName"]%>
												</a>
												<!--{else}-->
												... 
												<!--{endif}-->
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
						<!-- {endfor} -->
						<!--{endif}-->
					</td>
				</tr>
			</table>
			<br />
			<table class="border" cellspacing="0" cellpadding="0" width="100%">
				<tr>
					<td colspan="2"><h3 class="titlebig">人气圈子总排行</h3>
					</td>
				</tr>
				<tr>
					<td width="76%" align="left">&nbsp;&nbsp;圈子名称</td>
					<td width="24%" align="center">用户数</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<!-- {foreach (System.Data.DataRow mBList in mGetMaxUserNumGroup.Rows)} -->
						<table width="90%" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td width="76%" height="25" align="left">
									<a href="my_group_index.aspx?GroupId=<%=mBList["id"]%>" target="_self" title="<%=mBList["GroupName"]%>">
										<%=Text.Left(mBList["GroupName"].ToString(), 20, true)%>
									</a>
								</td>
								<td width="24%" align="center"><%=mBList["UserNum"]%></td>
							</tr>
						</table>
						<!-- {endforeach} -->
					</td>
				</tr>
			</table>
			<!--右边部分结束-->
		</td>
	</tr>
</table>
<!--#include file="_footer.html" -->
