<%@ Page Language="c#" Inherits="Web.User.AuditingReviews" CodeBehind="AuditingReviews.aspx.cs" %>

<%@ Register Src="~/Module/pageNavi.ascx" TagPrefix="uc1" TagName="pageNavi" %>
<%@ Register Src="~/User/AuditingNav.ascx" TagPrefix="uc1" TagName="AuditingNav" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>审核评论列表</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
</head>
<body>
    <div class="page-content">
        <div class="row">
            <div class="col-xs-12">
                <div class="list-func-box func-box">
                <form id="Form1" method="post" runat="server">
                        <%--<ul class="inbox-tabs nav nav-tabs tab-size-bigger tab-space-1" id="inbox-tabs">
                            <!-- #section:pages/inbox.compose-btn -->

                            <li class="dropdown active">
                                <a class="dropdown-toggle" href="#" data-toggle="dropdown">
                                    <i class="pink ace-icon fa fa-tags bigger-130">
                                        
                                    </i>
                                    
                                    <span class="bigger-110">待审信息
														
                                    <i class="ace-icon fa fa-caret-down"></i>
                                        <span class="badge badge-danger" id="addred" runat="server"><%= add %></span>
                                    </span>
                                    
                                </a>

                                <ul class="dropdown-menu dropdown-light-blue dropdown-125">
                                    <li id="none" runat="server" visible="False">
                                        <a href="AuditingNews.aspx" data-toggle="tab">
                                            <span>没有需要审核的内容</span>
                                        </a>
                                    </li>

                                    <li id="newsHyper" runat="server" visible="False">
                                        <a href="AuditingNews.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>新闻待审</span>
                                            <span class="badge badge-danger"><%= newsCount %></span>
                                        </a>
                                    </li>

                                    <li id="reviewHyper" runat="server" visible="False" class="active">
                                        <a href="AuditingReviews.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>评论待审</span>
                                            <span class="badge badge-danger"><%= reviewsCount %></span>
                                        </a>
                                    </li>

                                    <li id="messageHyper" runat="server" visible="False">
                                        <a href="AuditingMessageBoard.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>留言待审</span>
                                            <span class="badge badge-danger"><%= messageCount %></span>
                                        </a>
                                    </li>

                                    <li id="hyLink" runat="server" visible="False">
                                        <a href="AuditingLink.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>链接待审</span>
                                            <span class="badge badge-danger"><%= linkCount %></span>
                                        </a>
                                    </li>

                                    <li id="hyLinkGang" runat="server" visible="False">
                                        <a href="AuditingLinkGang.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>链接组待审</span>
                                            <span class="badge badge-danger"><%= linkGangCount %></span>
                                        </a>
                                    </li>

                                    <li id="hyPeople" runat="server" visible="False">
                                        <a href="AuditingPeople.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>人事物信息待审</span>
                                            <span class="badge badge-danger"><%= peopleCount %></span>
                                        </a>
                                    </li>

                                    <li id="hyBoard" runat="server" visible="False">
                                        <a href="AuditingBoard.aspx" data-toggle="tab">
                                            <span class="mail-tag badge badge-info"></span>
                                            <span>公告待审</span>
                                            <span class="badge badge-danger"><%= boardCount %></span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                            <!-- /.dropdown -->
                            <li>
                                <a href="infoSearch.aspx" data-toggle="tab" data-target="write">
                                    <i class="pink ace-icon fa fa-envelope bigger-130"></i>
                                    <span class="bigger-110">我的发布</span>
                                </a>
                            </li>
                            <!-- /.li-new-mail -->

                            <!-- /section:pages/inbox.compose-btn -->
                            <li>
                                <a href="myDraft.aspx" data-toggle="tab" data-target="inbox">
                                    <i class="blue ace-icon fa fa-inbox bigger-130"></i>
                                    <span class="bigger-110">我的草稿</span>
                                </a>
                            </li>

                            <li>
                                <a href="search.aspx" data-toggle="tab" data-target="sent">
                                    <i class="orange ace-icon fa fa-location-arrow bigger-130"></i>
                                    <span class="bigger-110">站内搜索</span>
                                </a>
                            </li>
                        </ul>--%>
                    <uc1:AuditingNav runat="server" id="AuditingNav" />
                    <div class="bd tab-content">
                        <div class="page-header clearfix">
                            <div class="action-field col-xs-6">
                                请点击[<i class="ace-icon fa fa-edit bigger-120 blue"></i>]进行审核操作
                            </div>
                        </div>
                        <div class="function-bd">
                            <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                            <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover table-sorting" OnRowDataBound="GridView1_RowDataBound">
                                <Columns>
                                    <asp:BoundField Visible="false" DataField="pkId" HeaderText="ID号" ></asp:BoundField>
                                    <asp:TemplateField HeaderText="文章标题" >
                                        <ItemTemplate>
                                            <asp:Label ID="IsListTitle" Visible="false" runat="server" Text="[链接]" ForeColor="Red"></asp:Label>
                                            <span  data-placement="right" data-rel="popover" data-content="<%# Eval("intactTitle") %>" data-trigger="hover">
                                            <asp:HyperLink ID="intactTitle" runat="server" Text='<%# Eval("intactTitle") %>'
                                                Target="_blank" NavigateUrl='<%# Eval("pkId", "../newsInfo.aspx?pkId={0}") %>'>
                                            </asp:HyperLink>
                                                </span>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="所属栏目">
                                        <ItemTemplate>
                                            <asp:Label ID="menuLabel" runat="server" Text='<%# Eval("menuName") %>'></asp:Label>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="发布人">
                                        <ItemTemplate>
                                            <span  data-placement="right" data-rel="popover" data-content="<%# "发布IP："+Eval("updateIp") %>" data-trigger="hover">
                                                <%# Eval("fullName") %></span>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="发布时间">
                                        <ItemTemplate>
                                            <span data-placement="right" data-rel="popover" data-content="<%# Eval("updateTime") %>" data-trigger="hover">
                                                <asp:Label ID="lbtime" runat="server" Text='<%# Eval("updateTime", "{0:yyyy-M-d}") %>'></asp:Label>
                                            </span>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField DataField="click" HeaderText="点击量" ></asp:BoundField>
                                    <asp:TemplateField HeaderText="管理" ItemStyle-Width="60px">
                                        <ItemTemplate>
                                            <div class="action-buttons">
                                            <a href='manageReview.aspx?newsId=<%# Eval("pkId")%>' target="_blank" data-toggle="tooltip" data-placement="bottom" title="评论"><i class="ace-icon fa fa-edit bigger-120 blue" ></i></a>
                                        </div>
                                                </ItemTemplate>
                                    </asp:TemplateField>
                                    <asp:BoundField Visible="False" DataField="useListTitle" HeaderText="useListTitle"></asp:BoundField>
                                    <%--<asp:BoundField Visible="False" DataField="grade" HeaderText="等级"></asp:BoundField>
                                    <asp:BoundField Visible="False" DataField="listTitle" HeaderText="listTitle"></asp:BoundField>
                                    <asp:BoundField Visible="False" DataField="menuId" HeaderText="menuId"></asp:BoundField>--%>
                                </Columns>
                            </asp:GridView>
                            <div class="grid-pager">
                                <uc1:pageNavi runat="server" id="pageNavi" dataCtlName="GridView1" />
                            </div>
                            <!--[if lte IE 7]></div><![endif]-->
                        </div>
                        <!--/function-bd-->
                    </div>
                </form>
                <!--/bd-->
               <%-- <div class="ft">
                    <div class="pagination">
                        <asp:Label ID="showPage" runat="server">Label</asp:Label>
                    </div>
                </div>--%>
                    </div>
            </div>
        </div>
    </div>
    <!--#include file = "../Css/foot.htm" -->
    <script type="text/javascript">
        jQuery(function ($) {
            $('#AuditingNav_reviewHyper').addClass('active');
        })
    </script>
</body>
</html>
