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

<%@ Register Src="BBSFooter.ascx" TagName="BBSFooter" TagPrefix="uc1" %>
<%@ Register Src="BBSMenu.ascx" TagName="BBSMenu" TagPrefix="uc2" %>
<%@ Register Src="BBSHeader.ascx" TagName="BBSHeader" TagPrefix="uc3" %>
<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="width: 755px; height: 138px;" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 755px; height: 138px;" >
                                <uc3:BBSHeader id="BBSHeader1" runat="server">
                                </uc3:BBSHeader></td>
                        </tr>
                    </table> 
        <table align="center" style="width: 755px; height: 363px;" cellpadding="0" cellspacing="0">
            <tr>
                <td style="width: 176px; vertical-align: top; text-align: center; background-image: url(Image/左1.jpg); height: 142px;">
                    <br />
                    <uc2:BBSMenu ID="BBSMenu1" runat="server" />
                </td>
                <td style="width: 579px; text-align: left; vertical-align: top; background-image: url(Image/背景.jpg); height: 142px;">
                <table style="width: 478px" align="center" cellpadding="0" cellspacing="0">
                 <tr>
                   <td style="background-image: url(Image/标头.jpg); width: 478px; height: 26px; text-indent: 3pt;">
                    <asp:Label ID="Label3" runat="server" Font-Size="9pt" Text="帖子ID："></asp:Label><asp:Label ID="labCardID" runat="server" Font-Size="9pt"></asp:Label>&nbsp;&nbsp;
                       <asp:Label ID="labCardTitle" runat="server" Font-Size="9pt"></asp:Label>
                           </td>
                        </tr>
                        <tr>
                            <td style="background-image: url(Image/3.jpg); width: 478px; height: 21px; text-indent: 4pt;">
                                <asp:Label ID="Label4" runat="server"
                        Font-Size="9pt" Text="帖子内容："></asp:Label></td>
                        </tr>
                        <tr>
                            <td style="background-image: url(Image/文本.jpg); vertical-align: top; width: 478px; direction: ltr; text-indent: 8pt; height: 54px; text-align: left">
                     <asp:Label ID="labCardContent" runat="server" Font-Size="9pt" 
                        Width="409px"></asp:Label></td>
                        </tr>
                         <tr>
                            <td style="background-image: url(Image/时间.jpg); width: 478px; height: 22px; text-align: right;">
                    <asp:Label ID="labCardDate" runat="server" Width="180px" Font-Size="9pt"></asp:Label>&nbsp;</td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="width: 176px; background-image: url(Image/左4.jpg); height: 363px;">
                </td>
                <td style="width: 579px; background-image: url(Image/背景.jpg); vertical-align: top; text-align: center; height: 363px;">
                    <asp:DataList ID="dlRevertCard" runat="server" Width="549px" Height="1px">
                        <ItemTemplate>
                        <table style="width: 478px" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td style="width: 478px; background-image: url(Image/标头.jpg); text-indent: 2pt; height: 22px;" align="left">
                            &nbsp;<asp:Label ID="Label6" runat="server" Font-Size="9pt" Text="回帖内容"></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 478px; background-image: url(Image/文本.jpg); vertical-align: top; text-indent: 8pt; height: 54px;" align="left">
                            &nbsp;&nbsp;<asp:Label ID="labRevert" runat="server" Enabled="True" Font-Size="9pt"
                                 Width="387px"　Text='<%# DataBinder.Eval(Container.DataItem,"RevertCardContent") %>'></asp:Label></td>
                                </tr>
                                <tr>
                                    <td style="width: 478px; background-image: url(Image/时间.jpg); height: 22px;" align="right">
                                     <asp:Label ID="Label8" runat="server" Font-Size="9pt" Text="回帖日期："></asp:Label>
                                     <asp:Label ID="labRevertCardDate" runat="server" Font-Size="9pt"　Text='<%# DataBinder.Eval(Container.DataItem,"RevertCardDate") %>'></asp:Label>&nbsp;</td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </asp:DataList>
                    <asp:Label ID="Label5" runat="server" Font-Size="9pt" ForeColor="Red" Text="快速回复"></asp:Label><br />
                    <asp:TextBox ID="txtRevertContent" runat="server" Height="65px" Width="480px" TextMode="MultiLine"></asp:TextBox>
                    <br />
                    <asp:Button ID="btnRevert" runat="server" Font-Size="9pt" OnClick="btnRevert_Click"
                        Text="回复" />
                    &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:Button ID="btnCancel" runat="server" Font-Size="9pt" OnClick="btnCancel_Click"
                        Text="取消" />
                        <table cellpadding="0" cellspacing="0" style="width: 579px">
                        <tr>
                            <td style="font-size: 9pt; width: 579px; text-align: right">
                                <asp:Label ID="Label7" runat="server" Text="当前页码为："></asp:Label>
                                [
                                <asp:Label ID="labPage" runat="server" Text="1"></asp:Label>
                                &nbsp;]
                                <asp:Label ID="Label6" runat="server" Text="总页码为："></asp:Label>
                                [
                                <asp:Label ID="labBackPage" runat="server"></asp:Label>
                                &nbsp;]<asp:LinkButton ID="lnkbtnOne" runat="server" Font-Underline="False" ForeColor="Red"
                                    OnClick="lnkbtnOne_Click">第一页</asp:LinkButton>
                                <asp:LinkButton ID="lnkbtnUp" runat="server" Font-Underline="False" ForeColor="Red"
                                    OnClick="lnkbtnUp_Click">上一页</asp:LinkButton>
                                <asp:LinkButton ID="lnkbtnNext" runat="server" Font-Underline="False" ForeColor="Red"
                                    OnClick="lnkbtnNext_Click">下一页</asp:LinkButton>&nbsp;
                                <asp:LinkButton ID="lnkbtnBack" runat="server" Font-Underline="False" ForeColor="Red"
                                    OnClick="lnkbtnBack_Click">最后一页</asp:LinkButton>
                                &nbsp;</td>
                        </tr>
                    </table></td>
            </tr>
        </table>
        <table style="width: 755px; height: 74px;" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="width: 755px; height: 74px;">
                                <uc1:BBSFooter ID="BBSFooter1" runat="server" />
                            </td>
                        </tr>
                    </table>
    </div>
    </form>
</body>
</html>
