<%@ page language="C#" autoeventwireup="true" inherits="user_Friend_FriendGroupList, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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 runat="server">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../Welcome.aspx">后台首页</a> >> <a href="FriendList.aspx">好友管理</a>
                >> 分组列表
            </td>
        </tr>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table align="center" cellpadding="2" cellspacing="1" width="99%" class="border">
                <tr class="title">
                    <td width="25">
                        Id
                    </td>
                    <td>
                        好友组名
                    </td>
                    <td>
                        成员数量
                    </td>
                    <td>
                        操作
                    </td>
                </tr>
                <asp:Repeater ID="RepFriendGroup" runat="server" OnItemCommand="RepFriendGroup_ItemCommand"
                    OnItemDataBound="RepFriendGroup_ItemDataBound">
                    <ItemTemplate>
                        <tr class="tdMoveTr" onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className='tdMoveTr'">
                            <td>
                                <%#Eval("Id") %>
                            </td>
                            <td>
                                <%#Eval("Name")%>
                            </td>
                            <td>
                               <%#GetFriendNum(Eval("Id","{0}")) %>
                            </td>
                            <td align="center">
                                <asp:HyperLink ID="HyperLink1" runat="server">修改</asp:HyperLink>
                                ┊
                                <asp:LinkButton ID="lnkDelete" runat="server" Text="删除" CommandName="Delete" CommandArgument='<%#Eval("Id") %>' OnClientClick="return confirm('确定移除该条记录吗?')"></asp:LinkButton>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
