<%@ Page Language="C#" AutoEventWireup="true" CodeFile="XiaoXi_FaSong.aspx.cs" Inherits="Admin_LunTan_XiaoXi_FaSong" %>

<!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 rel="Stylesheet" href="../Images/Admin.css" type="text/css" />
    <script type="text/javascript" src="../Images/Admin.js"></script>
    <script type="text/javascript">
        function XuanZheYongHuLeiXing(LeiXing)
        {
            switch(LeiXing)
            {
                case "所有会员":
                    document.getElementById("TR_MB").style.display="none";
                    break;
                case "在线会员":
                    document.getElementById("TR_MB").style.display="none";
                    break;
                case "指定会员":
                    document.getElementById("TR_MB").style.display="block";
                    break;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server" onkeydown="if(event.ctrlKey&&event.keyCode==13){this.submit();}">
    <div>
    位置：<a href="XiaoXiGuanLi.aspx">消息管理</a> &gt; 发送消息
    <div style="height:5px"></div>
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
        <table class="tab2" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td class="tab2_bt">
            发送消息
            </td>
        </tr>
        <tr>
            <td>
            <table class="tab3" border="0" cellpadding="0" cellspacing="1">
            <tr>
                <td style="width:200px">
                    &nbsp; &nbsp; 用户类型</td>
                <td>
                    <asp:DropDownList ID="YongHuLeiXing" runat="server" onchange="XuanZheYongHuLeiXing(this.value)">
                        <asp:ListItem>所有会员</asp:ListItem>
                        <asp:ListItem>在线会员</asp:ListItem>
                        <asp:ListItem>指定会员</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
                <tr id="TR_MB" style="display:none">
                    <td style="width: 200px">
                        &nbsp; &nbsp; 目标用户</td>
                    <td>
                        <asp:TextBox ID="MuBiaoYongHuID" runat="server">0</asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 200px">
                        &nbsp; &nbsp; 消息内容</td>
                    <td>
                        <asp:TextBox ID="XiaoXiNeiRong" runat="server" Height="130px" MaxLength="255" TextMode="MultiLine" Width="400px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 200px">
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="发送消息" />
                        <input type="reset" value="重新填写" />
                        </td>
                </tr>
            </table>
            </td>
        </tr>
        </table>
        </td>
    </tr>
    </table>
    </div>
    </form>
</body>
</html>
