<%@ 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/adminCss.htm" -->
    <script type="text/javascript" src="../Editor/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript">
        jQuery(function ($) {

            /*列表高度*/
            $('.function-bd').height($(window).innerHeight() - 100);
            $(window).resize(function () {
                $('.function-bd').height($(window).innerHeight() - 100);
            });
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="list-func-box func-box">
            <div class="hd">
                您的位置：用户管理设置 &gt; 网站发文统计
            </div>
            <div class="bd">
                <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div class="function-hd">
                            <div class="search-box fr">
                            </div>
                            <!--/search-box-->
                            <div class="action-field">
                                发文时间：<asp:TextBox ID="txtBegintime" runat="server" CssClass="input-txt" MaxLength="19"
                                    onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>&nbsp;至&nbsp;<asp:TextBox ID="txtEndtime" runat="server" CssClass="input-txt" MaxLength="19"
                                    onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                                &nbsp;
                    <asp:CheckBox ID="ckbBigclass" runat="server" Text="栏目：" />
                    <asp:DropDownList ID="ddlbigclass" runat="server" CssClass="drop-txt" DataTextField="name" DataValueField="bigclassId">
                    </asp:DropDownList>
                                &nbsp;审核状态：<asp:DropDownList ID="ddlPassed" runat="server"  CssClass="drop-txt" Width="70">
                                    <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="drop-txt" Width="70"  DataTextField="name" DataValueField="pkId">
                                </asp:DropDownList>
                                模式：<asp:DropDownList ID="ddlMode" CssClass="drop-txt" Width="100" runat="server" AutoPostBack="true" OnTextChanged="ddlMode_TextChanged">
                                    <asp:ListItem Text="按用户统计" Value="1"></asp:ListItem>
                                    <asp:ListItem Text="按栏目统计" Value="2"></asp:ListItem>
                                </asp:DropDownList>
                                &nbsp;&nbsp;
                    <asp:Button ID="btnQuery" class="btn" runat="server" Text="查询" OnClick="Btn_Click" />
                                &nbsp;&nbsp;
                    <asp:Button ID="btnExp" class="btn" runat="server" Text="导出" OnClick="Btn_Click" />
                            </div>
                            <!--/action-field-->
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <div class="function-bd" style=" overflow: auto;">
                    <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                    <asp:GridView ID="gvResult" runat="server" class="list-table" AutoGenerateColumns="false" AllowPaging="false" AllowSorting="true" OnSorting="gvResult_Sorting">
                        <%-- <Columns>
                        <asp:BoundField HeaderText="部门" DataField="deptname" SortExpression="deptname" />
                        <asp:BoundField HeaderText="用户账号" DataField="username" SortExpression="username" />
                        <asp:BoundField HeaderText="用户名称" DataField="fullname" SortExpression="fullname" />
                        <asp:BoundField HeaderText="栏目" DataField="name" SortExpression="name" />
                        <asp:BoundField HeaderText="发文数" DataField="fbcount" SortExpression="fbcount" />
                        <asp:BoundField HeaderText="审核通过数" DataField="passedcount" SortExpression="passedcount" />
                        <asp:BoundField HeaderText="总点击量" DataField="clicksum" SortExpression="clicksum" />
                    </Columns>--%>
                    </asp:GridView>
                    <!--[if lte IE 7]></div><![endif]-->
                </div>
                <!--/function-bd-->
            </div>
        </div>
    </form>
</body>
</html>