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

<!DOCTYPE html>

<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">
                try { ace.settings.check('breadcrumbs', 'fixed') } catch (e) { }
            </script>
            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa  fa-desktop"></i>
                    <a href="welcome.aspx">主页</a>
                </li>
                <li>网站数据分析
                </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="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">
                                                        <div class="col-xs-8 col-sm-6">
                                                            <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">
                                                            &nbsp;
                                                        <asp:Button ID="btnQuery" class="btn btn-sm btn-primary" runat="server" Text="查询" OnClick="Btn_Click" />
                                                            &nbsp;&nbsp;
                                                        <asp:Button ID="btnExp" class="btn btn-sm btn-primary" runat="server" Text="导出" OnClick="Btn_Click" />
                                                            &nbsp;&nbsp;
                                                <a href="manageStatChart.aspx" class="btn btn-primary btn-sm ">
                                                    <i class="ace-icon glyphicon glyphicon-align-left align-top bigger-125"></i>
                                                    统计图模式</a>
                                                        </div>
                                                    </div>
                                                    <!--/action-field-->
                                                </div>
                                            </div>
                                        </div>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                                <div class="function-bd">
                                    <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                                    <asp:GridView ID="gvResult" EmptyDataText="此时间段没有访问记录 >_<~~~~" 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 ($) {

            //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>
