<%@ page language="C#" autoeventwireup="true" inherits="admin_message_SetMessage, 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>
    <asp:Literal ID="LitJs" runat="server"></asp:Literal>

</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="../info.aspx">后台管理</a> >> <a href="MessageList.aspx">站内短信列表</a>
                >> 发送站内短信
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
        <tr>
            <td class="bqleft">
                收件人：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadAllUser" runat="server" Checked="true" GroupName="Receiver" Text="所有用户" />
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadUserGroup" runat="server" GroupName="Receiver" Text="指定用户组" />
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2"><asp:DataList ID="dlGroupIdStr" runat="server" RepeatColumns="7" RepeatDirection="Horizontal">
                                <ItemTemplate>
                                    <asp:HiddenField ID="hidGroupId" runat="server" Value='<%# Eval("UserGroupId") %>' />
                                    <asp:CheckBox ID="CheckBox1" runat="server" /><asp:Label ID="Label1" runat="server"
                                        Text='<%# Eval("GroupName") %>'></asp:Label>
                                </ItemTemplate>
                            </asp:DataList></td>
                    </tr>
                    <tr>
                        <td>
                            <asp:RadioButton ID="RadUserName" runat="server" GroupName="Receiver" Text="指定用户名" />
                        </td>
                        <td>
                            <asp:TextBox ID="txtUserName" runat="server" style="width:400px" CssClass="in1"></asp:TextBox> 多个用户请用,隔开
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                主题：
            </td>
            <td class="bqright"><asp:TextBox ID="FilePicPath" runat="server" Style="display: none">user|0</asp:TextBox>
                <asp:TextBox ID="txtTitle" runat="server" MaxLength="30" style="width:400px" CssClass="in1"></asp:TextBox><font
                    color="#ff0066">*</font>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                内容：
            </td>
            <td class="bqright">
            <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine"></asp:TextBox><asp:Literal ID="LitContent"
                        runat="server"></asp:Literal>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button1" runat="server" Text=" 确认 " CssClass="btn radius30 pad_0_30" 
                    onclick="Button1_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
