<%@ Page Language="C#" MasterPageFile="~/User/UserCenter/UserView.Master"  AutoEventWireup="true"  Codebehind="SendMessageToAdmin.aspx.cs" Inherits="PPFOR.User.UserCenter.SendMessageToAdmin" Title="给管理员发送消息" %>
<%@ Register Src="~/Admin/Ascx/PageBar.ascx" TagName="PageBar" TagPrefix="page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PPFOR_userViewContent" runat="server"> 
    <div class="tableco">
        <h1><%=languageMessage.GetMessage("userSendMsgToAdmin", "给管理员发送消息")%></h1>   
        <form runat="server" id="form1">
        <table width="100%" cellpadding="5px" cellspacing="3px" border="0" > 
            <tr>
                <th><%=languageMessage.GetMessage("userSendMsgTo", "发送给：")%></th>
                <td align="left"><asp:TextBox runat="server" MaxLength="20" ID="PPFOR_messageMemberName" Width="300px"></asp:TextBox>                   
                    <asp:Label runat="server" Enabled="false" Visible="false" ID="PPFOR_messageID"></asp:Label>
                </td>
            </tr>
            <tr>
                <th><%=languageMessage.GetMessage("userMsgTitle", "消息标题：")%></th>
                <td align="left"><asp:TextBox runat="server" MaxLength="50" ID="PPFOR_messageTitle" Width="300px"></asp:TextBox>                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="PPFOR_messageTitle" Display="Dynamic" SetFocusOnError="true"><br /><%=languageMessage.GetMessage("userMsgTitleEmptyError", "消息标题必须填写")%></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th><%=languageMessage.GetMessage("userMsgContent", "消息内容：")%></th>
                <td align="left"><asp:TextBox runat="server" MaxLength="500" ID="PPFOR_messageContent" TextMode="MultiLine" Width="400px" Height="200px"></asp:TextBox>                    
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="PPFOR_messageContent" Display="Dynamic" SetFocusOnError="true"><br /><%=languageMessage.GetMessage("userMsgContentEmptyError", "消息内容必须填写")%></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>&nbsp;</th>
                <td align="left"> 
                    <asp:Button ID="PPFOR_sendMessage" runat="server" CssClass="blueinput" OnClick="PPFOR_sendMessageClick" />
                    <asp:Button ID="PPFOR_saveMessage" runat="server" CssClass="blueinput" OnClick="PPFOR_saveMessageClick" />
                    <input type="reset" class="blueinput" id="reset1" value="<%=languageMessage.GetMessage("userResetButton", "重置")%>" />
                </td>
            </tr>
        </table>
        </form>
    </div>
</asp:Content>
