<%@ Page Language="c#" Inherits="Web.User.MessageBoardDetail" CodeBehind="MessageBoardDetail.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>留言信息显示</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link type="text/css" rel="stylesheet" href="../Css/public.css" />
    <link type="text/css" rel="stylesheet" href="../user/css/userfunc.css" />
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <div class="edit-func-box func-box">
            <div class="hd">
                留言信息显示
            </div>
            <div class="bd">
                <table class="edit-table" style="table-layout: fixed;">
                    <asp:Panel ID="ShowPanel" runat="server">
                        <tr>
                            <th style="width: 95px">姓名：
                            </th>
                            <td>
                                <asp:Label ID="NameLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="mSex" runat="server">
                            <th>性别：
                            </th>
                            <td>
                                <asp:Label ID="SexLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="contact" runat="server">
                            <th>联系方式：
                            </th>
                            <td>
                                <asp:Label ID="TelLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="email" runat="server">
                            <th>电子邮箱：
                            </th>
                            <td>
                                <asp:Label ID="EmailLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr id="homepage" runat="server" style="display: none">
                            <th>主页：
                            </th>
                            <td>
                                <asp:Label ID="HomepageLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <th>标题：
                            </th>
                            <td>
                                <asp:Label ID="TitleLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <th>留言内容：
                            </th>
                            <td>
                                <asp:Label ID="ContentLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <th>留言时间：
                            </th>
                            <td>
                                <asp:Label ID="TimeLabel" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <asp:Panel ID="ReplyPanelMessage" runat="server" Visible="false">
                            <tr>
                                <th>回复内容：
                                </th>
                                <td>
                                    <asp:Label ID="ReContentLabelMessage" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </asp:Panel>
                        <asp:Panel ID="ReplyPanel" runat="server">
                            <tr>
                                <th>回复内容：
                                </th>
                                <td>
                                    <asp:Label ID="ReContentLabel" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <th>回复时间：
                                </th>
                                <td>
                                    <asp:Label ID="ReTimeLabel" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr id="replyuser" runat="server" style="display: none;">
                                <th>回复人：
                                </th>
                                <td>
                                    <asp:Label ID="ReUserLabel" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr id="redept" runat="server">
                                <th>回复部门：
                                </th>
                                <td>
                                    <asp:Label ID="lbredept" MaxLength="40" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </asp:Panel>
                        <asp:Panel ID="IpPanel" runat="server">
                            <tr>
                                <th>留言者IP：
                                </th>
                                <td>
                                    <asp:Label ID="IpLabel" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </asp:Panel>
                        <tr>
                            <th>&nbsp;
                            </th>
                            <td valign="middle" align="right">
                                <asp:HyperLink ID="BeforeHyperLink" runat="server">上一条</asp:HyperLink>&nbsp;
                            <asp:HyperLink ID="AfterHyperLink" runat="server">下一条</asp:HyperLink>&nbsp;&nbsp;
                            </td>
                        </tr>
                    </asp:Panel>
                    <asp:Panel ID="AddPanel" runat="server">
                        <tr>
                            <th style="width: 95px">回复内容：
                            </th>
                            <td>
                                <asp:TextBox ID="ReContentTextBox" runat="server" TextMode="MultiLine" Width="90%"
                                    Height="300px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                    ControlToValidate="ReContentTextBox"></asp:RequiredFieldValidator>
                                <br />
                                <asp:CheckBox ID="IsEmail" runat="server" Text="Email邮件通知"></asp:CheckBox>
                            </td>
                        </tr>
                        <tr>
                            <th>回复部门：
                            </th>
                            <td>
                                <asp:TextBox ID="txtRedept" runat="server" CssClass="input-txt" MaxLength="40"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                                    ControlToValidate="txtRedept"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                    </asp:Panel>
                    <tr>
                        <td colspan="2" align="center">
                            <asp:Button ID="AddButton" class="btn" runat="server" Text="保存" Visible="False" OnClick="AddButton_Click"></asp:Button>&nbsp;&nbsp;
                    <asp:Button ID="ReplyButton" class="btn" runat="server" Text="回复" CausesValidation="False" OnClick="ReplyButton_Click"></asp:Button>&nbsp;&nbsp;
                    <input type="button" class="btn" name="Submit" value="关闭" onclick="javascript: window.close()" />
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
