<%
    //-----------------------------------------------------------
    // 文件名称: User_GBook_Operate.aspx
    // 页面名称: 留言添加/编辑
    //
    // 描    述:
    //
    // 创建标识: Add By 吴建春 2008-06-10
    //-----------------------------------------------------------
%>

<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.User_GBook_Operate, V5Shop.Shop.User" culture="auto" uiculture="auto" meta:resourcekey="PageResource1" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc2" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!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/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                &nbsp;<asp:Label ID="lblPageTitle" runat="server" Text="【会员留言回复】" />
                <a href='User_GBook_Manage.aspx' title="返回文章分类管理">返回列表</a>
            </div>
        </div>
        <div style="text-align:center;">
            <asp:Panel runat="server" ID="PanelShow" Width="100%">
                <div>
                    <table id="OperateTable" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td width="20%"  align="right" valign="middle" style="height: 30px"><asp:Label ID="Label1" runat="server" Text="留言人："/></td>
                            <td width="80%" align="left" valign="middle" style="height: 30px"><asp:Label ID="txtUserName" runat="server"/></td>
                        </tr>
                        <tr>
                            <td width="20%"  align="right" valign="middle" style="height: 30px"><asp:Label ID="Label2" runat="server" Text="电话："/></td>
                            <td width="80%" align="left" valign="middle" style="height: 30px"><asp:Label ID="txtTelephone" runat="server"/></td>
                        </tr>
                        <tr>
                            <td width="20%"  align="right" valign="middle" style="height: 30px"><asp:Label ID="Label3" runat="server" Text="标题："/></td>
                            <td width="80%" align="left" valign="middle" style="height: 30px"><asp:Label ID="txtTitle" runat="server"/></td>
                        </tr>
                        <tr>
                            <td width="20%"  align="right" valign="middle" style="height: 30px"><asp:Label ID="Label4" runat="server" Text="类型："/></td>
                            <td width="80%" align="left" valign="middle" style="height: 30px"><asp:Label ID="txtMenuName" runat="server"/></td>
                        </tr>
                        <tr>
                            <td width="20%" height="30"  align="right" valign="middle"><asp:Label ID="Label5" runat="server" Text="留言时间："/></td>
                            <td width="80%" align="left" valign="middle"><asp:Label ID="txtDate" runat="server"/></td>
                        </tr>
                        <tr>
                            <td width="20%"  align="right" valign="middle" style="height: 106px"><asp:Label ID="Label6" runat="server" Text="留言内容："/></td>
                            <td width="80%" align="left" valign="middle" style="height: 106px"><asp:TextBox ID="txtContent" runat="server" Height="100px" TextMode="MultiLine" Width="350px" ReadOnly="True"/></td>
                        </tr>
                        <tr>
                            <td width="20%" height="30"  align="right" valign="middle"><asp:Label ID="Label7" runat="server" Text="回复状态："/></td>
                            <td width="80%" align="left" valign="middle"><asp:Label ID="txtIsRemark" runat="server"/></td>
                        </tr>
                        <tr>
                            <td width="20%" height="30"  align="right" valign="middle"><asp:Label ID="Label8" runat="server" Text="Email："/></td>
                            <td width="80%" align="left" valign="middle"><asp:Label ID="txtEmail" runat="server"/>&nbsp;
                                <asp:CheckBox ID="CheckBox2" runat="server" CssClass="input3" Text="是否把回复内容以邮件形式通知留言人" /></td>
                        </tr>
                        <tr>
                            <td width="20%" height="30"  align="right" valign="middle"><asp:Label ID="Label9" runat="server" Text="回复内容："/></td>
                            <td width="80%" align="left" valign="middle"><asp:TextBox ID="txtRemark" runat="server" Height="100px" TextMode="MultiLine" Width="350px"/>
                                <asp:RegularExpressionValidator ID="revRemark" runat="server" ControlToValidate="txtRemark" Display="Dynamic" ErrorMessage="长度必须在250以内" ValidationExpression="[\s\S]{0,250}$"></asp:RegularExpressionValidator></td>
                        </tr>
                        <tr>
                            <td align="center" style="text-align: center;" colspan="2">
                                <br />
                                <asp:Button ID="btnAddSubmit" runat="server" meta:resourcekey="btnAddResource1" OnClick="btnAddSubmit_Click" Text="确定" CssClass="button" />
                                <input id="iptReset" runat="server" type="reset" value="重置" class="button" />
                                <asp:Button id="btnReturn" onclick="btnReturn_Click" runat="server" Text="返回列表" CssClass="button" CausesValidation="false" />
                                <br />
                            </td>
                        </tr>
                    </table>
                </div>
            </asp:Panel>
            <uc2:PageBottom ID="PageBottom1" runat="server" />
        </div>
        <div id="hiddenfield">
            <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
            <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
            <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
            <uc1:HiddenField ID="Alert" runat="server" />
        </div>
    </form>  
    <script type="text/javascript">
    //加TABLE样式
    InitTrClass();
    </script>
</body>
</html>
