<%@ page validaterequest="false" language="C#" autoeventwireup="true" inherits="user_Bati_Post_Article, App_Web_tpx-ykv2" %>
<%@ Register Src="BanMian_Top.ascx"TagName="BanMian_Top" TagPrefix="Bati_Top" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
<%@ Register Src="~/bottom.ascx" TagName="bottom" TagPrefix="Bati_Bottom" %>
<!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>Bati-回复帖子</title>
    <link href="MyBati/images/mybati.css" rel="stylesheet" type="text/css">
</head>
<body>
    <form id="form1" runat="server">
<center>
<Bati_Top:BanMian_Top ID="BanMian_Top2" runat="server" />
</center>
        <center>
            <table border="0" cellpadding="0" cellspacing="0" style="border-right: #947131 2px solid;
                border-top: #947131 2px solid; border-left: #947131 2px solid; width: 958px;
                border-bottom: #947131 2px solid">
                <tr>
                    <td style="width: 188px; height: 17px" valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td style="background-image: url(Bati_image/bg_hotsearch.gif); width: 100%; height: 11px"
                                    valign="top">
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                        <tr>
                                            <td style="width: 100%; height: 5px">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="background-image: url(Bati_image/tit_hotsearch.gif); width: 113%; height: 34px">
                                                <asp:Label ID="Label1" runat="server" Font-Bold="True" ForeColor="Black" Text="Label"
                                                    Width="127px"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td align="left" style="width: 100%; height: 5px" valign="bottom">
                                                <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" BackColor="White"
                                                    BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1"
                                                    GridLines="Vertical" Height="50px" Visible="False" Width="97%">
                                                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                                    <EditRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                                                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                                    <Fields>
                                                        <asp:BoundField DataField="UserChengWei" HeaderText="您的称谓" SortExpression="UserChengWei" />
                                                        <asp:BoundField DataField="UserJF" HeaderText="现积分" SortExpression="UserJF" />
                                                        <asp:BoundField DataField="UserMoney" HeaderText="金钱" SortExpression="UserMoney" />
                                                        <asp:BoundField DataField="UserZhuangTai" HeaderText="目前状态" SortExpression="UserZhuangTai" />
                                                        <asp:BoundField DataField="VipEndTime" HeaderText="VIP结束时间" SortExpression="VipEndTime" />
                                                        <asp:BoundField DataField="UserTeam" HeaderText="所在家族" SortExpression="UserTeam" />
                                                        <asp:BoundField DataField="article_count" HeaderText="文章数" SortExpression="article_count" />
                                                    </Fields>
                                                    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                                                    <AlternatingRowStyle BackColor="Gainsboro" />
                                                </asp:DetailsView>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 100%">
                                                </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 100%">
                                    &nbsp;</td>
                            </tr>
                        </table>
                    </td>
                    <td align="left" style="height: 17px" valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td style="width: 100%; height: 25px">
                                    &nbsp;→<asp:Label ID="Label14" runat="server" Text="Label" Width="89px"></asp:Label>回复帖子：</td>
                            </tr>
                            <tr>
                                <td style="width: 100%" valign="top">
                                    &nbsp;<table border="0" cellpadding="0" cellspacing="0" style="border-right: #4a6984 1px solid;
                                        border-top: #4a6984 1px solid; border-left: #4a6984 1px solid; width: 100%; border-bottom: #4a6984 1px solid">
                                        <tr>
                                            <td style="width: 52%; height: 28px">
                                                &nbsp;<asp:Label ID="Label3" runat="server" Font-Bold="True" ForeColor="DarkGray"
                                                    Text="回复话题" Width="88px"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td style="width: 52%">
                                                <table border="0" cellpadding="0" cellspacing="0" style="width: 100%">
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid; height: 27px;">
                                                            &nbsp;<asp:Label ID="LabelUser" runat="server" Text="用户名：" Width="56px"></asp:Label>
                                                            <asp:Label ID="LabelUser2" runat="server" Text="用户名：" Width="56px"></asp:Label></td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid; height: 27px;">
                                                            <asp:TextBox ID="TextBoxUser" runat="server" Width="117px"></asp:TextBox>
                                                            <asp:LinkButton ID="LinkButtonOut" runat="server" OnClick="LinkButtonOut_Click">[退出]</asp:LinkButton>
                                                            <asp:TextBox ID="TextBoxUser2" runat="server" Width="117px"></asp:TextBox>
                                                            <asp:Label ID="LabelNoReg" runat="server" Text="<a href=reg/read.aspx>没有注册？</a>" Width="81px"></asp:Label></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid; height: 26px;">
                                                            &nbsp;<asp:Label ID="LabelPass" runat="server" Text="密码：" Width="55px"></asp:Label>
                                                        </td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid; height: 26px;">
                                                            <asp:TextBox ID="TextBoxPass" runat="server" Width="117px" TextMode="Password"></asp:TextBox>
                                                            <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">登  录</asp:LinkButton>
                                                            <asp:Label ID="LabelForPass" runat="server" Text="<a href=user_login/Password.aspx>忘记密码？</a>" Width="81px"></asp:Label></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid; height: 27px;" valign="top">
                                                            &nbsp;<asp:Label ID="Label4" runat="server" Text="标     题   ：" Width="102px"></asp:Label></td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid; height: 27px;">
                                                            <asp:TextBox ID="TextBoxTitle" runat="server" Width="220px"></asp:TextBox>&nbsp;<asp:Label
                                                                ID="Label15" runat="server" ForeColor="Red" Text="Label" Visible="False" Width="265px"></asp:Label></td>
                                                    </tr>


                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 26px">
                                                        </td>
                                                        <td id="tutd" runat="server" align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 26px">
                                                            </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 26px">
                                                            &nbsp;自定义文章表情：</td>
                                                        <td id="tdicon" runat="server" align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 26px">
                                                            <asp:DropDownList ID="DropDownList3" runat="server" Width="97px" AutoPostBack="True" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged">
                                                            </asp:DropDownList>
                                                            &nbsp; &nbsp;
                                                            <asp:Label ID="Label16" runat="server" Text="<a href=User/IconUp.aspx target=_search>上传文章表情</a>"
                                                                Width="97px"></asp:Label>
                                                            &nbsp; 显示在您帖子内的小图标</td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid; height: 26px;">
                                                            &nbsp;<asp:Label ID="Label8" runat="server" Text="内容：" Width="99px"></asp:Label></td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid; height: 26px;">
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="2" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; border-bottom: #d6e3ef 1px solid">
                                                            
        <CE:Editor ID="iContent" runat="server">
            <FrameStyle BackColor="White" BorderColor="#DDDDDD" BorderStyle="Solid" BorderWidth="1px"
                CssClass="CuteEditorFrame" Height="100%" Width="100%" />
        </CE:Editor>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid; height: 25px;">
                                                            &nbsp;<asp:Label ID="Label10" runat="server" Text="上传图片：" Width="99px"></asp:Label></td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid; height: 25px;">
                                                            <asp:FileUpload ID="FileUpload1" runat="server" Width="255px" />&nbsp;
                                                            <asp:LinkButton ID="LinkButton3" runat="server" OnClick="LinkButton3_Click">上  传</asp:LinkButton></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 25px">
                                                            &nbsp;<asp:Label ID="Label5" runat="server" Text="标题表情：" Width="100px"></asp:Label></td>
                                                        <td id="tdface" runat="server"  align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 25px">
                                                        </td>
                                                    </tr>

                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 26px">
                                                            &nbsp;<asp:Label ID="Label9" runat="server" Text="背景图片：" Width="103px" Visible="False"></asp:Label></td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 26px">
                                                            <asp:DropDownList ID="DropDownList2" runat="server" Width="99px" Visible="False">
                                                            </asp:DropDownList>
                                                            &nbsp; &nbsp;
                                                            <asp:LinkButton ID="LinkButton2" runat="server" Width="8px" Visible="False"><a href=User/BgImgUp.aspx target=_search>上传背景图片</a></asp:LinkButton>
                                                            &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 28px">
                                                        </td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 28px">
                                                            <table id="bgimgtest" runat="server"  border="0" cellpadding="0" cellspacing="0" width="100%">
                                                                <tr>
                                                                    <td style="width: 100%; height: 24px;" align="center">
                                                                        <asp:Label ID="Label17" runat="server" Text="Label" Visible="False" Width="74px"></asp:Label></td>
                                                                </tr>
                                                                <tr>
                                                                    <td style="width: 100%; height: 32px;" valign="top">
                                                                        <asp:Label ID="Label18" runat="server" Text="Label" Visible="False" Width="558px"></asp:Label></td>
                                                                </tr>
  
                                                            </table>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 28px">
                                                        </td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 28px">
                                                            <asp:Button ID="Button1" runat="server" Font-Bold="True" Height="25px" OnClick="Button1_Click"
                                                                Text="发  表" Width="66px" />
                                                            &nbsp;&nbsp;
                                                            <asp:Button ID="Button2" runat="server" Font-Bold="True" Height="25px" OnClick="Button2_Click"
                                                                Text="预  览" Width="67px" /></td>
                                                    </tr>
                                                    <tr>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 7%; border-bottom: #d6e3ef 1px solid;
                                                            height: 25px">
                                                        </td>
                                                        <td align="left" style="border-right: #d6e3ef 1px solid; border-top: #d6e3ef 1px solid;
                                                            border-left: #d6e3ef 1px solid; width: 20%; border-bottom: #d6e3ef 1px solid;
                                                            height: 25px">
                                                            <asp:Label ID="Label11" runat="server" Text="Label" Width="107px" ForeColor="Red" Visible="False"></asp:Label></td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 52%">
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <Bati_Bottom:bottom ID="bottom1" runat="server" />
        </center>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Mir3WebConnectionString %>"
            SelectCommand="SELECT [UserChengWei], [UserJF], [UserMoney], [UserZhuangTai], [VipEndTime], [UserTeam], [article_count], [UserName] FROM [UserInfo] WHERE ([UserName] = @UserName)">
            <SelectParameters>
                <asp:SessionParameter Name="UserName" SessionField="BatiUser" Type="String" />
            </SelectParameters>
        </asp:SqlDataSource>
        &nbsp;
    </form>

</body>
</html>
