<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Showliuyan.aspx.cs" Inherits="_Default" validateRequest="false"%>

<%@ Register Src="include/Surveyonline.ascx" TagName="Surveyonline" TagPrefix="uc3" %>

<%@ Register Src="bottom.ascx" TagName="bottom" TagPrefix="uc2" %>

<%@ Register Src="Top.ascx" TagName="Top" 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="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body style="text-align: center" text="#000000" topmargin="0">


    <form id="form1" runat="server">
    <div>
        <table style="width: 991px">
            <tr>
                <td colspan="3" style="height: 136px">
                    <uc1:Top ID="Top1" runat="server" />
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <table width="100%" style="border-right: sandybrown 1px solid; border-top: sandybrown 1px solid; border-left: sandybrown 1px solid; border-bottom-width: 1px; border-bottom-color: sandybrown;">
                        <tr>
                            <td style="width: 211px; border-right: darkorange 1px solid; text-align: left; border-bottom: darkorange 1px solid;" rowspan="6" valign="top">
                                <table style="width: 218px">
                                    <tr>
                                        <td colspan="3" style="background-image: url(pics/diao.gif); width: 210px; height: 33px">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 82px; text-align: center;" valign="top" visible="true">
                                            <uc3:Surveyonline ID="Surveyonline1" runat="server" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="background-image: url(pics/fankui.gif); width: 210px; height: 31px;
                                            text-align: center" valign="top" visible="true">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="width: 210px; height: 82px; text-align: center" valign="top"
                                            visible="true">
                                            &nbsp;<br />
                                            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Showliuyan.aspx">察看留言</asp:HyperLink>
                                            <br />
                                            <br />
                                            <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="~/Inputliuyan.aspx">签写留言</asp:HyperLink></td>
                                    </tr>
                                </table>
                            </td>
                            <td style="width: 6px;" rowspan="6">
                            </td>
                            <td style="border-top-width: 1px; border-left: darkorange 1px solid; border-top-color: darkorange; border-right-width: 1px; border-right-color: darkorange; border-bottom: darkorange 1px solid;" rowspan="6" valign="top">
                                <table width="100%">
                                    <tr>
                                        <td colspan="3" style="border-bottom: darkorange thick double; height: 27px; text-align: left">
                                            <img src="pics/Liuyan.gif" /></td>
                                    </tr>
                                    <tr>
                                        <td colspan="3" style="height: 7px; text-align: center">
                                            <asp:GridView ID="MyGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                                                EnableViewState="False" OnPageIndexChanging="MyGridView_PageIndexChanging" 
                                                PageSize="3" ShowHeader="False" BorderWidth="0px" Width="100%">
                                                <PagerSettings FirstPageText="首页" LastPageText="尾页;" NextPageText="下页" PreviousPageText="上页" />
                                                <Columns>
                                                    <asp:TemplateField HeaderText="123">
                                                        <ItemTemplate>
                                                            <table id="Table3" boder="0" cellpadding="0" cellspacing="0" class="9" style="width: 706px;
                                                                height: 1px; text-align: left">
                                                                <tr align="left" valign="top">
                                                                    <td colspan="1" style="border-right: moccasin 1px solid; border-top: moccasin 1px solid; width: 189px; border-bottom: moccasin 1px solid;
                                                                        height: 104px; background-color: floralwhite; border-left-width: 1px; border-left-color: moccasin;">
                                                                        <table cellpadding="0" cellspacing="0" class="bg" style="width: 188px">
                                                                            <tr>
                                                                                <td colspan="5" rowspan="3" style="height: 23px; text-align: center">
                                                                                    <img src='headpic/<%#DataBinder.Eval(Container.DataItem,"Headpic") %>' />
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                        </table>
                                                                        <table cellpadding="0" cellspacing="0" style="width: 188px">
                                                                            <tr>
                                                                                <td colspan="5" rowspan="3" style="height: 23px">
                                                                                    姓名：<%#DataBinder.Eval(Container.DataItem,"Visitorname") %></td>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                        </table>
                                                                        <table cellpadding="0" cellspacing="0" style="width: 190px">
                                                                            <tr>
                                                                                <td colspan="5" rowspan="3" style="height: 28px">
                                                                                    来自：<%#DataBinder.Eval(Container.DataItem,"VisitorIP") %></td>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                        </table>
                                                                        <table cellpadding="0" cellspacing="0" style="width: 188px">
                                                                            <tr>
                                                                                <td colspan="5" rowspan="3" style="height: 23px; text-align: center">
                                                                                    &nbsp; &nbsp;&nbsp; <a href='tencent://message/?uin=<%#DataBinder.Eval(Container.DataItem,"Visitorqq") %>&Menu=yes'><img src="pics/QQ.bmp"  border="0"/></a>

                                                                                    &nbsp;<a href='mailto:<%#DataBinder.Eval(Container.DataItem,"Visitoremail") %>'><img
                                                                                        border="0" src="pics/web.gif" /></a>&nbsp; <a href='<%#DataBinder.Eval(Container.DataItem,"Visitorweb") %>' target="_blank">
                                                                                            <img border="0" src="pics/email.gif" /></a></td>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                        </table>
                                                                    </td>
                                                                    <td colspan="1" style="width: 30px; height: 104px">
                                                                    </td>
                                                                    <td colspan="1" style="border-right: papayawhip 1px solid; border-top: papayawhip 1px solid;
                                                                        border-left: papayawhip 1px solid; width: 355px; border-bottom: papayawhip 1px solid;
                                                                        height: 104px; text-align: left">
                                                                        <table style="width: 530px; height: 28px">
                                                                            <tr>
                                                                                <td colspan="5" rowspan="3" style="border-bottom: black 1px dotted; height: 23px;
                                                                                    background-color: floralwhite">
                                                                                    发表于：<%#DataBinder.Eval(Container.DataItem,"Createdate") %>
                                                                                    </td>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                        </table>
                                                                        <table class="bg" style="width: 530px; height: 76px;">
                                                                            <tr>
                                                                                <td colspan="5" rowspan="3" style="word-break: break-all; height: 73px; background-color: #ffffff;">
                                                                                    <asp:Label ID="lblContent" runat="server" Text='<%#Myleaveword((string)DataBinder.Eval(Container.DataItem,"Content"),(bool)DataBinder.Eval(Container.DataItem,"qqh"))%>'></asp:Label></td>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                            <tr>
                                                                            </tr>
                                                                        </table>
                                                                        <br />
                                                                        <asp:Panel ID="pnlReply" runat="server" Visible='<%#(bool)DataBinder.Eval(Container.DataItem,"Replyshow")%>'
                                                                            Width="125px">
                                                                            <br />
                                                                            <table id="TABLE1" class="bg" onclick="return TABLE1_onclick()" style="border-top: black 1px dotted;
                                                                                width: 530px; height: 30px; background-color: white">
                                                                                <tr>
                                                                                    <td class="txtbox1" colspan="5" rowspan="3" style="word-break: break-all; height: 23px;
                                                                                        text-align: left">
                                                                                        <span style="color: black"><span style="color: black"><strong style="background-color: #ffffff">
                                                                                            <asp:Image ID="Image1" runat="server" ImageUrl="~/pics/re.gif" />~~ &nbsp; &nbsp;
                                                                                            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                                                            &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                                                                            &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; 时间：<%#DataBinder.Eval(Container.DataItem,"Replydate") %></strong></span><br />
                                                                                        </span>
                                                                                        <asp:Label ID="lblReply" runat="server" ForeColor="OrangeRed" Text='<%# DataBinder.Eval(Container.DataItem,"Reply") %>'></asp:Label></td>
                                                                                </tr>
                                                                                <tr>
                                                                                </tr>
                                                                                <tr>
                                                                                </tr>
                                                                            </table>
                                                                        </asp:Panel>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerStyle BackColor="Info" Font-Bold="True" Font-Overline="False" Font-Size="14pt" Font-Underline="True" ForeColor="Red" />
                                            </asp:GridView>
                                            </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                        <tr>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="height: 21px" colspan="3">
                    <uc2:bottom ID="Bottom1" runat="server" />
                    
                </td>
            </tr>
        </table>
       </div>
    </form>
    

</body>
</html>
