<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Comment.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Common.Comment"
    EnableViewState="true" %>

<%@ Register Assembly="TopWinCMS.WebControls" Namespace="TopWinCMS.WebControls" TagPrefix="cc1" %>
<%@ Register Src="../UC_AjaxLoading.ascx" TagName="UC_AjaxLoading" 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 id="Head1" runat="server">
    <title>评论管理</title>
    <meta http-equiv="Pragma" content="No-cach" />
    <link href="../Style.css" type="text/css" rel="stylesheet" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <script language="javascript" type="text/javascript" src="../../Images/skysoft.js"></script>

    <style type="text/css">
        .NR
        {
            table-layout: fixed;
            word-break: break-all;
            word-wrap: break-word;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <table cellspacing="0" cellpadding="4" width="100%" border="0" id="NavigationPath">
                <tr>
                    <td>
                        <img src="../../Images/arrow.gif" alt="" />
                        您现在的位置：&nbsp;
                        <asp:Label ID="LB_Path" runat="server"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
            <asp:GridView ID="GV_List" runat="server" AutoGenerateColumns="False" DataKeyNames="ID">
                <Columns>
                    <asp:TemplateField HeaderText="选择">
                        <ItemTemplate>
                            <asp:CheckBox ID="CheckBox1" runat="server" />
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" Width="30px" />
                    </asp:TemplateField>
                    <asp:BoundField DataField="Name" HeaderText="网名">
                        <ItemStyle Width="100px" CssClass="NR" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Content" HeaderText="评论内容">
                        <ItemStyle CssClass="NR"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="WriteTime" HeaderText="发表时间" DataFormatString="{0:yy-MM-dd}"
                        HtmlEncode="False">
                        <ItemStyle Width="60px" HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Score" HeaderText="得分">
                        <ItemStyle HorizontalAlign="Center" Width="40px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="IP" HeaderText="IP">
                        <ItemStyle Width="60px" />
                    </asp:BoundField>
                </Columns>
                <HeaderStyle CssClass="HeaderStyle" />
            </asp:GridView>
            <table width="100%" border="0">
                <tr>
                    <td width="7%">
                        &nbsp;<input type="checkbox" name="chkHeader" value="chkHeader" onclick="javascript:SelectAll(this);" />全选
                    </td>
                    <td width="93%">
                        <cc1:ButtonX ID="BTX_Delete" runat="server" CssClass="btn" Text="删除选定" ToDo="ClickOnce"
                            OnClick="BTX_Delete_Click" />
                        &nbsp; |
                        <cc1:ButtonX ID="BT_Pass" runat="server" CssClass="btn" Text="审核选定" ToDo="ClickOnce"
                            OnClick="BT_Pass_Click" />&nbsp; |&nbsp; ＩＰ：<asp:TextBox ID="TB_IP" runat="server"></asp:TextBox>
                        <cc1:ButtonX ID="BTX_DeleteIP" runat="server" CssClass="btn" Text="删除" ToDo="ClickOnce"
                            OnClick="BTX_DeleteIP_Click" />
                    </td>
                </tr>
            </table>
            <div class="pagefield">
                <cc1:PageNavigation ID="PageNavigation1" runat="server" 
                    OnPageChanging="PageNavigation1_PageChanging" SubmitButtonClass="btn">
                </cc1:PageNavigation>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
