<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_Message_Operate, V5Shop.Member" 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 id="Head1" runat="server">
    <title>短信详细</title>
    <link href="css/css.css" rel="stylesheet" type="text/css">
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="Js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>
</head>
<body>
    <form id="form1" runat="server">

    <div>
          <table border="0" cellpadding="5" cellspacing="0" class="membertable">
            <tr>
              <td height="20" colspan="2" background="../images/user/tbj10.gif" bgcolor="#65697A"><font color="FFFFFF"><strong>
                                                    <asp:Label ID="Label15" runat="server">- 发送 / 编辑 短信 -</asp:Label></strong></font></td>
                                        </tr>
            <tr>
                <td align="right" bgcolor="#FFFFFF" style="height: 30px">
                  <asp:Label ID="lblName" runat="server" Text="标题："></asp:Label>              </td>
                <td bgcolor="#FFFFFF" align=left>
                    <asp:Label ID="lblViewTitle" runat="server" Visible="false"></asp:Label>
                    <asp:TextBox ID="txtTitle" runat="server" Width="200px" CssClass="input2"></asp:TextBox>
                    <span class="NeedMsg" style="color:green">*</span>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtTitle" runat="server" ErrorMessage="不能为空" ForeColor="Green"></asp:RequiredFieldValidator>                </td>
            </tr>
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FAFAFA">
                <asp:Label ID="lblContent" runat="server" Text="内容："></asp:Label>                </td>
                <td bgcolor="#FAFAFA" align=left>
                    <asp:Label ID="lblViewContent" runat="server" Visible="false"></asp:Label>
                    <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Width="300px" Height="60px"></asp:TextBox> 
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtContent" ErrorMessage="内容不能为空" Display="Dynamic" ForeColor="Green"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtContent"
                        Display="Dynamic" ErrorMessage="不能超过200个字符" ValidationExpression="^[\s\S]{0,200}$" ForeColor="Green"></asp:RegularExpressionValidator></td>
            </tr>
            <asp:Panel ID="HiddenField" runat="server" Visible="false">
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FAFAFA">
                <asp:Label ID="Label1" runat="server" Text="发送人："></asp:Label>                </td>
                <td bgcolor="#FAFAFA" align=left>
                    <asp:Label ID="lblViewSendName" runat="server"></asp:Label>
                </td>
            </tr>
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FAFAFA">
                <asp:Label ID="Label3" runat="server" Text="发送时间："></asp:Label>                </td>
                <td bgcolor="#FAFAFA" align=left>
                    <asp:Label ID="lblViewSendDate" runat="server"></asp:Label>
                </td>
            </tr>
            </asp:Panel>
            <tr>
                <td width="20%" height="30" align="right" bgcolor="#FFFFFF"></td>
                <td bgcolor="#FFFFFF" align=left>
                    <asp:Button ID="btnAdd" runat="server" Text="确定" CssClass="input" OnClick="btnAdd_Click" />
                    <asp:Button ID="btnEdit" runat="server" Text="更新" CssClass="input" OnClick="btnEdit_Click" Visible="False" />
                    <input id="iptReset" type="button" class="input" value="返回列表" onclick="window.location.href='User_Message_Manage.aspx?s=<%=str %>'" />                </td>
            </tr>
        </table>
    </div>
    
    </form>
</body>
</html>
