<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pushRecord.aspx.cs" Inherits="Web.User.pushRecord" %>

<!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="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>
            <div class="hd b">
                微信推送历史记录查看
            </div>
            <!-- /.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 -->
                    <div class="list-func-box func-box">
                        <form id="form1" runat="server">
                            <div class="bd">
                                <div class="function-hd">
                                    <div class="search-box pull-right">
                                    </div>
                                    <!--/search-box-->
                                    <div class="action-field">
                                        <div class="col-xs-8 col-sm-12">
                                            <div>
                                                <span>&nbsp;标题：</span><asp:TextBox ID="txtTitle" runat="server" CssClass="input-md" ToolTip="标题支持模糊查询"></asp:TextBox>
                                                <span class="pull-left">推送时间：</span>
                                                <div class="input-daterange input-group pull-left">
                                                    <input id="txdStart" runat="server" class="input-md form-control" type="text">
                                                    <span class="input-group-addon">
                                                        <i class="fa fa-exchange"></i>
                                                    </span>
                                                    <input id="txdEnd" runat="server" class="input-md form-control" type="text">
                                                </div>
                                            </div>
                                            <asp:Button ID="btnQuery" class="btn btn-sm btn-primary" runat="server" Text="查询" OnClick="Btn_Click" />
                                        </div>
                                    </div>

                                </div>
                                <!--/action-field-->
                            </div>
                            <div class="function-bd">
                                <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                                <asp:GridView ID="GridView1" runat="server" class="table table-striped table-bordered table-hover" AutoGenerateColumns="false" EmptyDataText="暂无数据">

                                    <Columns>
                                        <asp:TemplateField HeaderText="标题" HeaderStyle-CssClass="title">
                                            <ItemTemplate>
                                                <asp:HyperLink ID="hyTitle" runat="server" Text='<%# Eval("intactTitle") %>' NavigateUrl='<%# "../newsInfo.aspx?pkId=" + Eval("newsid") %>'
                                                    Target="_blank"></asp:HyperLink>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField HeaderText="推送时间" DataField="pushTime" />
                                        <asp:BoundField HeaderText="推送状态" DataField="state" />
                                    </Columns>
                                </asp:GridView>
                                <!--[if lte IE 7]></div><![endif]-->
                            </div>
                            <!--/function-bd-->
                        </form>
                    </div>
                    <!-- 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>
