<!--#include file="_header.html" -->
<style>/*
.photo_box { border:0px solid #9CC3D9;width:98%; height:100%;margin-top:10px;}
.photo_box  h1 { margin:0px; margin-bottom:10px; padding:0px; width:100%; float:left;}
.photo_box li {float:left;width:160px; height:auto; background: url("images/lock_bg.gif") center top no-repeat; text-align:center; margin:3px 5px; color:#858d92; }
.photo_box li span { display:block; width:160px; height:160px; line-height:160px; }
.photo_box .img {display:block; text-align:center; margin:auto; padding-top:10px; }
.photo_box h1 .txt { font-weight:normal; color:Gray; font-size:12px;}*/
</style>
<br />
<div class="mainbox">
	<div class="notice">
		<span><!--#include file="_nav.html"--></span>
	</div>
</div>
<br />
<div class="mainbox">
	<!---##########################右边样式部分##########################--->
	<div class="page_right">
		<div class="border" style="padding-top:10px;padding-left:10px;">
			<table width="94%" ID="Table1">
				<tr>
					<td>
						<span class="username">您正在浏览的是</span>
						<span>
							<%=__mGroupInfos__[0]%>
						</span>
						<br />
						<span style="line-height:20px">
				圈子名称：<%=__mGroupInfos__[0]%><br />
				<%=(3 == __mGroupInfos__.Length ? "当前栏目：" + __mGroupInfos__[1] + "<br />" : "")%>
				圈子状态：<%=mGroupInfos.GroupNameStat[0]%><br />
				管理员：
				<!--{for(int i=0;i<mGroupManagers.Length;i++)}-->
				<%=mGroupManagers[i]%>
				<%=(i==mGroupManagers.Length-1 ? "" : ", ")%>
				<!--{endfor}--><br />
				<div style="color:#999999">
								<font style="color:#000">说明：</font>
								<%=(3 == __mGroupInfos__.Length ? "当前栏目：" + Text.Left(__mGroupInfos__[2], 110, true) + "<br />" : Text.Left(__mGroupInfos__[1], 110, true))%>
							</div>
			</span>
						<div style="clear:left"></div>
					</td>
				</tr>
			</table>
		</div>
		<br />
		<br />
		<div class="usersigned border">
			<h3 class="titlebig">热门圈子</h3>
			<!-- {foreach (System.Data.DataRow mBList in mGetHostGroup.Rows)} -->
			<div class="nav_group">
				<ul>
					<li>
						<div>
							<a href="my_group_index.aspx?GroupId=<%=mBList["id"]%>" target="_self"><img src="<%=("" == mBList["CircleLogo"].ToString() ? "templates/" + CurrentTemplateName +"/images/group.gif" : Dvbbs.Utils.Config.uploadfiles + mBList["CircleLogo"])%>" onerror="ImageOnError(this,'templates/<%=CurrentTemplateName%>/images/group.gif')" width="50" height="50" />
							</a>
						</div>
						<a href="my_group_index.aspx?GroupId=<%=mBList["id"]%>" target="_self">
						<%=Text.Left(Text.StripHtml(mBList["GroupName"].ToString()),10,true)%></a><br />
						话题：<small>( <%=mBList["PostNum"]%> )</small><br />
						成员：<small>( <%=mBList["UserNum"]%> )</small>
						</a>
					</li>
				</ul>
			</div>
			<!-- {endforeach} -->
		</div>
	</div>
	<!---########################## end 右边样式部分##########################--->
	<!---##########################左边样式部分##########################--->
	<!--{if(null == GBoardId)} -->
	<div class="page_left border">
		<div>		
			<h3 class="titlebig">
				<!-- {if (IsUseManagerBar)} -->
				<span style="float:right;font-weight:normal"><A href="my_group_manage.aspx?GroupID=<%=Request.QueryString["GroupID"]%>&amp;Action=AddChild">添加栏目</A>&nbsp;|&nbsp;
				<A href="my_group_manage.aspx?GroupID=<%=Request.QueryString["GroupID"]%>&amp;Action=ManageUser">成员管理</A>&nbsp;|&nbsp;
				<A href="my_group_manage.aspx?GroupID=<%=Request.QueryString["GroupID"]%>&amp;Action=ManageGroup">圈子管理</A></span>
				<!-- {endif} -->
				圈子栏目
			</h3>
			<ul>
				<!-- {if (0 == mBoardList.Rows.Count)} -->
				<p align="center">没有找到相关内容</p>
				<!--{else}-->
				<!-- {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[]{"","","",""};}
				%>-->
				<li style="margin:10px;padding:5px;">
					<div>
						<strong><a href="my_group_index.aspx?GBoardId=<%=mBList["ID"]%>" style="float:left"><%=mBList["BoardName"]%></a></strong>
						<span style="float:right;">[<small>&nbsp;<%=mBList["TodayNum"]%>&nbsp;|&nbsp;<%=mBList["TopicNum"]%>&nbsp;|&nbsp;<%=mBList["PostNum"]%>&nbsp;</small>]</span>
					</div>
					<div style="clear:left"></div>
					<div>
						<div style="float:left;">
							<%=(mBList["indeximg"].ToString().Length>0? "<img src=\"" + Dvbbs.Utils.Config.uploadfiles + mBList["indeximg"].ToString() + "\" width='30px' height='30px'/>" : "")%>
						</div>
						<div style="font-weight:100;font-size:12px; ">
							<%=mBList["BoardInfo"]%>
						</div>
					</div>
				</li>
				<!-- {endforeach} -->				
				<!--{endif}-->
			</ul>
		</div></div><br />
	<!--{endif}-->
		<div class="page_left border">
		<div>
		<!--{if(null == GBoardId)} -->
			<h3 class="titlebig">讨论区主题列表</h3>
			<table width="98%" class="heightd tableborder" style="border:0px;" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td style="border-top:0px;" >发表的主题</td>
					<td style="border-top:0px;" class="list4">作者</td>
					<td style="border-top:0px;" class="list3">回复 / 人气</td>
					<td style="border-top:0px;" class="list3">最后更新</td>
				</tr>
				<!-- {if (0 == mGetIndexTopPost.Rows.Count)} -->
				<tr>
					<td colspan="4">
						<p align="center">没有找到相关内容</p>
					</td>
				</tr>
				<!-- {else} -->
				<!-- {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[]{"","","",""};
					} 
				%>-->
				<tr onmouseover="this.className='tablebox'" onmouseout="this.className='tableboxout'">
					<td>
						<img src="templates/<%=CurrentTemplateName%>/images/posts/new_post.gif" alt="普通"> <a href="my_group_topic.aspx?TopicID=<%=mTopList["TopicID"]%>" target="_blank"><%=mTopList["title"]%></a>
					</td>
					<td>
						<a href="user_info.aspx?name=<%=mTopList["PostUserName"]%>" target="_self">
							<%=mTopList["PostUserName"]%>
						</a>
					</td>
					<td>
						<span><%=mTopList["RepNum"]%> / <%=mTopList["hits"]%></span>
					</td>
					<td class="list5">
						<%=System.DateTime.Parse(mTopList["LastPostTime"].ToString()).ToString("g")%>
					</td>
				</tr>
				<!-- {endforeach} -->				
				<!--{endif}-->
			</table>
			<!--{else}-->
			<h3 class="titlebig">主题列表</h3>
			<table width="98%" class="heightd tableborder" style="border:0px;" border="0" cellspacing="0" cellpadding="0" ID="Table2">
				<form method="post" id="batch" name="batch">				
					<tr>
						<td style="border-top:0px;" class="list1">状态</td>
						<td style="border-top:0px;" class="list2">主题</td>
						<td style="border-top:0px;" class="list3">作者</td>
						<td style="border-top:0px;" align="center" class="list3">回复/人气</td>
						<td style="border-top:0px;" align="right" class="list5">最后更新</td>
					</tr>
					<!-- {if (0 == mTopicList.Rows.Count)} -->
					<tr>
						<td colspan="10">
							<p align="center">没有找到相关内容</p>
						</td>
					</tr>
					<!--{else}-->					
					<!-- {foreach (System.Data.DataRow mTopList in mTopicList.Rows)} -->
					<!--<%
						string[] mLastPost= (null !=mTopList["LastPost"] ? mTopList["LastPost"].ToString().Split('$'):new string[]{"","","",""});
						if(mLastPost.Length<4)
						{
							mLastPost = new string[]{"","","",""};
						} 
					%>-->
					<tr>
						<td align="center" class="list1">
							<!-- {if (IsUseManagerBar)} -->
							<input type="checkbox" name="_TopicID_" value="<%=mTopList["TopicID"]%>" class="checkbox" ID="_TopicID_"/>
							<!--{else}-->
							<a href="my_group_topic.aspx?TopicID=<%=mTopList["TopicID"]%>" target="_blank"><img src="templates/<%=CurrentTemplateName%>/images/posts/new_post.gif" alt="普通">
							</a>
							<!--{endif}-->
						</td>
						<td><a href="my_group_topic.aspx?TopicID=<%=mTopList["TopicID"]%>" target="_self">
								<%=mTopList["Title"]%>
							</a>
						</td>
						<td class="list3">
								<a href="user_info.aspx?userid=<%=mTopList["PostUserID"]%>" target="_blank">
									<%=mTopList["PostUserName"]%>
								</a>
						</td class="list3">
						<td align="center" class="list3"><span><%=mTopList["RepNum"]%> / <%=mTopList["hits"]%></span></td>
						<td nowrap align="right" class="list5"><em><%=mTopList["LastPostTime"]%></em><br /><a href="user_info.aspx?name=<%=mLastPost[0]%>" target="_blank"><%=mLastPost[0]%></a>
						</td>
					</tr>
					<!-- {endforeach} -->
					<!--{endif}-->
					
					<tr>
						<td colspan="5"><!-- {if (IsUseManagerBar)}-->
							<input type="hidden" value="1" name="groupboardid" ID="Hidden1" />
							<input type="checkbox" name="chkall" value="on" onclick="CheckAll(this.form);" class="checkbox"	ID="Checkbox1" />全选 / 取消&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="radio" name="OPA" value="dele" class="radio" ID="Radio1" />批量删除&nbsp;&nbsp;&nbsp;&nbsp;
							<input class="radio" type="radio" name="OPA" value="isbest" ID="Radio2" />批量设置/取消精华&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="radio" name="OPA" value="lock" class="radio" ID="Radio3" />批量设置/解除锁定&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="submit" name="Submit" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" value="执  行" class="button_off" onclick="return clicksubmit(this.form);" ID="Submit1" />
							<script type="text/javascript" language="javascript">
								function CheckAll(form)
								{
									for (var i=0;i<form.elements.length;i++)
									{
										var e = form.elements[i];
										if (e.name == '_TopicID_')
											e.checked = form.chkall.checked;
									}
								}
								function clicksubmit(form)
								{
									if(confirm('您确定执行的操作吗?'))
									{
										this.document.batch.submit();
										return true;
									}
									else
									{
										return false;
									} 
								}
							</script><!--{endif}-->
							<!--{if(!user.IsGuest)}--><!--{endif}-->
							<input type="button" name="Submit" onmouseover="this.className='button_on'" onmouseout="this.className='button_off'" value="发表新帖" class="button_off" onclick="location.href='my_group_post.aspx?GBoardid=<%=GBoardId%>'"  ID="Submit2" />
						</td>
					</tr>
					
				</form>
			</table>
			<!--{endif}-->
		</div>
	</div>
<div style="clear:both"></div>
<!---########################## end 左边样式部分##########################--->
</div>
<!--#include file="_footer.html" -->