<%@ page language="C#" autoeventwireup="true" inherits="Admin_News_ManageMessage, Huibo.Net" enableviewstatemac="false" enableEventValidation="false" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 id="Head1" runat="server">
    <title>查看修改商品</title>
    <link href="../style/StyleSheet.css" type="text/css" rel="stylesheet" />
    <link href="../style/workplace-merge.css" rel="stylesheet" />
    <link href="../style/index-new-merge.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: 99%; text-align: center;">
            <div class="mod-wp-win">
                <div class="win-head-wrap">
                    <div class="win-head" id="mod-info-center-head">
                        <p>
                            留言管理</p>
                    </div>
                </div>
                <div class="mod-info-center clr">
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td bgcolor="#FFFFFF" align="center">
                                <div class="DLBoder">
                                    <asp:DataList ID="Message" runat="server" Width="100%" OnItemDataBound="Message_ItemDataBound">
                                        <HeaderTemplate>
                                            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                        </HeaderTemplate>
                                        <ItemTemplate>
                                            <tr class="DLBoder">
                                                <td class="DLBodertd" style="width: 15%;">
                                                    <div style="height: 25px; vertical-align: middle;">
                                                        <asp:Label ID="Label1" Text='<%# DataBinder.Eval(Container, "DataItem.name")%>' runat="server"></asp:Label>
                                                    </div>
                                                    <div>
                                                        <asp:Image ID="ImageHead" Width="72px" ImageUrl='<%# DataBinder.Eval(Container, "DataItem.sex")%>'
                                                            runat="server" /></div>
                                                </td>
                                                <td class="DLBodertd" align="left" valign="top">
                                                    <div style="vertical-align: top; width: 100%; height: 25px;">
                                                        <table border="0" cellpadding="0" width="100%" cellspacing="0">
                                                            <tr>
                                                                <td class="DLBodertd" style="width: 40%;">
                                                                    时间：<asp:Label ID="Label3" Text='<%# DataBinder.Eval(Container, "DataItem.date")%>'
                                                                        runat="server"></asp:Label>
                                                                </td>
                                                                <td class="DLBodertd" style="width: 60%; text-align: center; vertical-align: bottom;">
                                                                    <asp:CheckBox ID="CheckBox1" runat="server" />
                                                                    <asp:Image ID="Image1" ToolTip='<%# DataBinder.Eval(Container, "DataItem.name")+"来自"+ DataBinder.Eval(Container, "DataItem.city")%>'
                                                                        ImageUrl="~/Admin/images/MessageImage/city.gif" runat="server" />
                                                                    <a href="mailto:<%# DataBinder.Eval(Container, "DataItem.email")%>">
                                                                        <asp:Image ID="Image2" ToolTip='<%# "给"+ DataBinder.Eval(Container, "DataItem.name") +"写信"%>'
                                                                            ImageUrl="~/Admin/images/MessageImage/email.gif" runat="server" /></a>
                                                                    <asp:Image ID="Image3" ToolTip='<%# DataBinder.Eval(Container, "DataItem.name")+"的QQ号码是"+ DataBinder.Eval(Container, "DataItem.qq")%>'
                                                                        ImageUrl="~/Admin/images/MessageImage/qq.gif" runat="server" />
                                                                    <a href="<%# DataBinder.Eval(Container, "DataItem.web")%>" target="_blank">
                                                                        <asp:Image ID="Image6" ToolTip='<%#"去" + DataBinder.Eval(Container, "DataItem.name")+"的主页看看"%>'
                                                                            ImageUrl="~/Admin/images/MessageImage/web.gif" runat="server" /></a>
                                                                    <%--<asp:Image ID="Image4" ToolTip='<%# DataBinder.Eval(Container, "DataItem.name")+"的uc号码是"+ DataBinder.Eval(Container, "DataItem.uc")%>' ImageUrl="~/Admin/images/MessageImage/web.gif" runat="server" />
                                                            --%>
                                                                    <asp:Image ID="Image5" ToolTip='<%# DataBinder.Eval(Container, "DataItem.name")+"的IP地址为"+ DataBinder.Eval(Container, "DataItem.ip")%>'
                                                                        ImageUrl="~/Admin/images/MessageImage/ip.gif" runat="server" />
                                                                    <a href="Message_Reply.aspx?action=Delete&id=<%# DataBinder.Eval(Container, "DataItem.id")%>">
                                                                        <asp:Image ID="Image7" ToolTip="删除" ImageUrl="~/Admin/images/MessageImage/Delete.gif"
                                                                            runat="server" /></a> <a href="Message_Reply.aspx?action=Edit&id=<%# DataBinder.Eval(Container, "DataItem.id")%>">
                                                                                <asp:Image ID="Image8" ToolTip="回复" ImageUrl="~/Admin/images/MessageImage/reply.gif"
                                                                                    runat="server" /></a>
                                                                    <asp:HyperLink ID="HyperLink1" NavigateUrl='<%# "Message_Reply.aspx?action=Lock&id=" + DataBinder.Eval(Container, "DataItem.ip")%>'
                                                                        runat="server">封IP</asp:HyperLink>
                                                                    <asp:HyperLink ID="HyperLink2" NavigateUrl='<%# "Message_Reply.aspx?action=UnLock&id=" + DataBinder.Eval(Container, "DataItem.ip")%>'
                                                                        runat="server">解IP</asp:HyperLink>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </div>
                                                    <div>
                                                        <div style="text-align: left; height:25px;">
                                                            [<asp:Label ID="title" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.title")%>'></asp:Label>]</div><br />
                                                        <div style="text-align: left; word-break:break-all; width:800px; overflow:auto; padding-top:0px;">
                                                            <asp:Label ID="Label2" Text='<%# DataBinder.Eval(Container, "DataItem.word")%>' runat="server"></asp:Label></div>
                                                    </div>
                                                </td>
                                            </tr>
                                        </ItemTemplate>
                                        <FooterTemplate>
                                            </table>
                                        </FooterTemplate>
                                    </asp:DataList>
                                    <table style="width: 100%;" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td style="text-decoration: none; height: 30px; vertical-align: middle;" align="right">
                                                <asp:TextBox ID="PageCount" runat="server" Text="1" Visible="False"></asp:TextBox>
                                                <asp:Button ID="SelectAll" runat="server" Text="全选" Height="20px" Width="50px" OnClick="SelectAll_Click" />&nbsp;
                                                <asp:Button ID="DeletePro" runat="server" Text="删除" Height="20px" Width="50px" ForeColor="Black"
                                                    OnClick="DeletePro_Click" />
                                                <asp:Label ID="PageEnd" runat="server" Width="58px" Visible="False"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                    </table>
                    <table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td style="height: 20px;">
                            </td>
                        </tr>
                        <tr>
                            <td style="text-decoration: none;" align="center">
                                <webdiyer:AspNetPager ID="Pager" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
                                    PrevPageText="上一页" runat="server" HorizontalAlign="Center" OnPageChanged="Pager_PageChanged"
                                    Width="100%" SubmitButtonText="跳转" ShowBoxThreshold="1" AlwaysShow="True">
                                </webdiyer:AspNetPager>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
