<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="my.aspx.cs" Inherits="JuSNS.Web.home.Group.my" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title id="ptitle" runat="server">群组</title>
<link href="../../template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css" id="skinpath" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="../../js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="../../js/public.js"></script>
</head>
<body>
 <!--头部-->
<%=this.GetHtmlShort()%> 
<div id="divhead">
    <%=this.GetHtmlHead()%>
</div>

<div id="divbody">
    <div id="body_first">
        <div class="body_menu"> 
        <%=this.GetHtmlLeft()%>
        </div>
    </div>
      
    <div id="body_sec">
            <div id="body_mid"> 
                <div class="body_frame"> 
                    <div class="body_frame_otherinfo">
	                        <div class="title">
                                <div class="l"><img src="../../template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/group.gif" align="absmiddle" /> <span class="shenlan bold font14 ocolor" id="isMyDiv" runat="server">群组管理</span></div>
                                <div class="r">
                                    <form id="form1"> 
                                    <input type="text" class="f-text" id="myKey" />
                                    <input type="button" class="f-button" value="搜索群组" onclick="self.location='list.aspx?GroupName='+escape(document.getElementById('myKey').value);" />
                                     </form>
                                </div>
                                <div class="c"></div>
                            </div>
            		       
                            <div class="nav-menu">
                                <ul>
                                    <li><a href="../group">最新主题</a></li>
                                    <li id="myJoin" runat="server"><a href="../group/my.aspx?r=<%=r %>&a=join"><%=JoinStr %>群组</a></li>
                                    <li id="myCreat" runat="server"><a href="../group/my.aspx?r=<%=r %>&a=creat"><%=CreatStr %>群组</a></li>
                                    <li><a href="../group/list.aspx">好友群组</a></li>
                                    <li><a href="../group/list.aspx?r=all">随便看看</a></li>
                                </ul>
                            </div>        
                     </div>   
                     
                     <div class="body_sec_all">
                        <div  class="recordnumber nl" id="P_Result" runat="server">
                                <span class="nl w610"><span  id="span_MyGroupCount" class="bold" runat="server"></span>个群组&nbsp;&nbsp;</span><span id="Newgroup" class="nr"><a href="Creat_base.aspx" class="shortcut-link">创建新群组</a></span>                       
                        </div>
                        <div class="content">
                        <asp:Repeater runat="server" ID="Rpt_MyGroup">
                                    <HeaderTemplate>
                                        <ul id="ilgroups">
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <li class="nl border-top paddings10 margins5 s98">
                                       <div class="group-left nl">
                                            <a href="group.aspx?groupID=<%# DataBinder.Eval(Container.DataItem, "GroupID")%>"><img src="<%# this.GetGroupHead(DataBinder.Eval(Container.DataItem, "Portrait"))%>" alt="<%# DataBinder.Eval(Container.DataItem, "GroupName")%>" /></a>
                                       </div> 
                                       <div class="group-right nr">
                                            <div class="nl w530">
                                                <div class="bold font14">
                                                    <a href="group.aspx?GroupID=<%# DataBinder.Eval(Container.DataItem, "GroupID")%>"><%# DataBinder.Eval(Container.DataItem, "GroupName")%></a>                                            
                                                </div>
                                                <div class="c"></div>
                                                <div class="cpstr">
                                                        <div class="cpstr">
                                                           <a href="member.aspx?groupID=<%# DataBinder.Eval(Container.DataItem, "GroupID")%>"><%# DataBinder.Eval(Container.DataItem, "Members")%>名成员</a> 
                                                           <span class="pike"> |</span> <a href="group.aspx?groupID=<%# DataBinder.Eval(Container.DataItem, "GroupID")%>"><%# DataBinder.Eval(Container.DataItem, "Cnt")%>个主题</a>                                                    
                                                         </div>
                                                        <div class="cpstr">
                                                            <%# getBulletin(DataBinder.Eval(Container.DataItem, "Bulletin"))%>
                                                       </div>
                                                </div>
                                            </div>
                                            <div class="nr">
                                                <ul class="acbg">
                                                <%# getOp(DataBinder.Eval(Container.DataItem, "GroupID"))%>
                                               </ul> 
                                            </div>
                                       </div>
                                        </li>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ul>
                                    </FooterTemplate>
                                </asp:Repeater>
                                <div class="pagination" runat="server" id="DivPage"></div>
                        </div>
                        
                     </div>
                 </div>
                   <!--底部-->
                 <div class="divbottom">
                  <%=this.GetHtmlFoot()%>
                  </div>                         
             </div>
         </div>
    
 </div>
</body>
</html>
