<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="manageNewsCount.aspx.cs" Inherits="Web.Wpdcc.manageNewsCount" EnableEventValidation="false" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>website count</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
</head>
<body>
    <div class="main-content-inner">
        <!-- #section:basics/content.breadcrumbs -->
        <div class="breadcrumbs" id="breadcrumbs">
            <%-- <script type="text/javascript" language="javascript">
                jQuery(function ($) {
                    $("#btnImg").click(function () {
                        return true;
                    }).fancybox({
                        'width': 1200,
                        'height': 620,
                        autoSize: false,
                        'hideOnOverlayClick': false,
                        'type': 'iframe',
                        'href': 'manageNewsImg.aspx',
                        'padding': '0'
                    });
                })
            </script>--%>
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa  fa-desktop"></i>
                    <a href="welcome.aspx">主页</a>
                </li>
                <li><a href="manageNewsCount1.aspx">网站数据分析</a>
                </li>
                <li class="active">部门发文统计</li>
            </ul>
            <!-- /.breadcrumb -->

            <!-- /section:basics/content.searchbox -->
        </div>
        <!-- /section:basics/content.breadcrumbs -->
        <div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <!-- PAGE CONTENT BEGINS -->
                    <form id="form1" runat="server">
                        <div class="list-func-box func-box">
                            <div class="action-field">
                                <div class="tabbable">
                                    <ul class="nav nav-tabs " id="myTab4">
                                        <li>
                                            <a aria-expanded="true" href="manageNewsCount1.aspx" data-toggle="tab">栏目发文统计</a>
                                        </li>
                                        <li class="active">
                                            <a aria-expanded="false" href="manageNewsCount.aspx" data-toggle="tab">部门发文统计</a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <div class="bd tab-content">
                                <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                    <ContentTemplate>
                                        <div class="page-header clearfix">
                                            <div class="action-field">
                                                <div class="function-hd">
                                                    <div class="search-box fr">
                                                    </div>
                                                    <!--/search-box-->
                                                    <div class="action-field col-xs-12">
                                                        <div class="col-sm-5">
                                                            <span class="pull-left">发文时间：</span>
                                                            <div class="input-daterange input-group pull-left">
                                                                <input id="txtBegintime" runat="server" class="input-sm form-control" type="text">
                                                                <span class="input-group-addon">
                                                                    <i class="fa fa-exchange"></i>
                                                                </span>
                                                                <input id="txtEndtime" runat="server" class="input-sm form-control" type="text">
                                                            </div>

                                                            <!-- /section:plugins/date-time.datepicker -->
                                                        </div>
                                                        <div class="pull-right">
                                                            <label>
                                                                栏目：
                                                        <input class="ace" type="checkbox" id="ckbBigclass" runat="server" />
                                                                <span class="lbl"></span>
                                                            </label>
                                                            <asp:DropDownList ID="ddlbigclass" runat="server" CssClass="input-sm" DataTextField="name" DataValueField="bigclassId">
                                                            </asp:DropDownList>
                                                            &emsp;审核状态：
                                                    <asp:DropDownList ID="ddlPassed" runat="server" CssClass="input-sm">
                                                        <asp:ListItem Text="<全部>" Value="2"></asp:ListItem>
                                                        <asp:ListItem Text="通过" Value="1"></asp:ListItem>
                                                        <asp:ListItem Text="待审" Value="0"></asp:ListItem>
                                                    </asp:DropDownList>
                                                            <asp:DropDownList ID="ddlGrade" runat="server" Visible="false" CssClass="input-md" Width="70" DataTextField="name" DataValueField="pkId">
                                                            </asp:DropDownList>
                                                            <asp:DropDownList ID="ddlMode" Visible="false" CssClass="input-md" Width="100" runat="server" AutoPostBack="true" OnTextChanged="ddlMode_TextChanged">
                                                                <asp:ListItem Text="按用户统计" Value="1"></asp:ListItem>
                                                            </asp:DropDownList>
                                                            &emsp;
                                                    <asp:Button ID="btnQuery" class="btn btn-sm btn-primary" runat="server" Text="查询" OnClick="Btn_Click" />
                                                            &emsp;
                                                    <asp:Button ID="btnExp" class="btn btn-sm btn-primary" runat="server" Text="导出" OnClick="Btn_Click" />
                                                        </div>
                                                    </div>
                                                    <!--/action-field-->
                                                </div>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                <div class="function-bd">
                                    <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                                    <asp:GridView ID="gvResult" runat="server" class="table table-striped table-bordered table-hover" AutoGenerateColumns="false" AllowPaging="false" AllowSorting="true" OnSorting="gvResult_Sorting">
                                    </asp:GridView>
                                    <!--[if lte IE 7]></div><![endif]-->

                                </div>
                                <!--/function-bd-->
                            </div>
                        </div>
                    </form>
                    <!-- PAGE CONTENT ENDS -->
                </div>
            </div>
        </div>
        <!-- /.page-content -->
    </div>
    <!--#include file = "../Css/foot.htm" -->
    <script type="text/javascript">

        jQuery(function ($) {
            $('[data-rel=popover]').popover({ container: 'body' });
        })

            </script>
    <script type="text/javascript">
        jQuery(function ($) {

            //datepicker plugin
            //link
            $('.date-picker').datepicker({
                autoclose: true,
                todayHighlight: true
            })
            //show datepicker when clicking on the icon
            .next().on(ace.click_event, function () {
                $(this).prev().focus();
            });

            //or change it into a date range picker
            $('.input-daterange').datepicker({ autoclose: true });
        });
    </script>
</body>
</html>
