<%@ page language="C#" autoeventwireup="true" inherits="Admin_UserManagement_MessageList, ShopWe" validaterequest="false" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />

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

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
            <tr>
                <td>
                    <h4>
                        给不同级别的会员发送消息：</h4>
                    <asp:DropDownList ID="UserGroup" runat="server" Width="150px" Height="22px" CssClass="input_tle">
                    </asp:DropDownList>
                    <asp:Button ID="SendButton" runat="server" Text="发送消息" OnClick="SendButton_Click"
                        class="butt_tle" Height="22px" Width="70px" />
                </td>
            </tr>
        </table>
        <div id="all">
            <div class="k_all3">
                <table width="100%" cellpadding="0" cellspacing="0" id="bk">
                    <thead>
                        <tr>
                            <th style="width: 30px">
                                <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterTable')" />
                            </th>
                            <th style="width: 120px">
                                会员名
                            </th>
                            <th>
                                注册日期
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <asp:Repeater ID="RepeaterTable" runat="server">
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%# Eval("UserGuid") %>'
                                            BorderStyle="None" BorderWidth="0px" />
                                    </td>
                                    <td>
                                        <%# Eval("UserName") %>
                                    </td>
                                    <td>
                                        <%# Eval("JoinDate") %>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                </table>
            </div>
            <div class="k_all3">
                <div id="bk_line">
                    <div class="txte">
                        <img src="../Themes/Default/Images/bj.png" />
                        <asp:Literal ID="CountItem" runat="server"></asp:Literal>
                    </div>
                    <webdiyer:AspNetPager ID="AspNetPagerItem" runat="server" AlwaysShow="True" CssClass="yahoo2"
                        OnPageChanged="AspNetPagerItem_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
            </div>
            <div class="come_title">
                <h2>
                    给选中用户发消息</h2>
                <div class="title_help">
                    <a href="http://www.shopwe.cn/bbs/" target="_blank">
                        <img src="../Themes/Default/Images/help_1.jpg" alt="shopwe论坛" width="50" height="20" /></a>
                    <a href="http://help.shopwe.cn/video/order_demo/order_demo.htm" target="_blank">
                        <img src="../Themes/Default/Images/video_help.jpg" alt="shopwe视频教程" width="50" height="20" /></a>
                    <a href="http://help.shopwe.cn/help/Show.asp?id=33" target="_blank">
                        <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
            </div>
            <div class="k_all6">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="bg_1" style="text-align: right; width: 90px; height: 50px">
                            发送消息标题：
                        </td>
                        <td>
                            <input id="Title" runat="server" style="width: 220px" class="input" /><h4>
                                <img src="../css/images/help.png" />
                                <span style="color: #999999">填写消息的标题和内容。</span></h4>
                        </td>
                    </tr>
                </table>
                <FCKeditorV2:FCKeditor ID="MessageBody" runat="server">
                </FCKeditorV2:FCKeditor>
            </div>
            <div class="sub">
                <asp:Button ID="Submit" runat="server" Text="发送给选定会员" OnClick="Submit_Click" CssClass="but_add" />
            </div>
        </div>
    </form>
</body>
</html>
