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

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>发文搜索</title>
    <!--#include file = "../Css/adminCssEdit.htm" -->

    <script language="javascript" type="text/javascript" src="../Editor/My97DatePicker/WdatePicker.js"></script>

    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="list-func-box func-box">
        <div class="hd b">
            用户发文搜索</div>
        <div class="bd">
            <div class="function-hd">
                <div class="search-box fr">
                </div>
                <!--/search-box-->
                <div class="action-field">
                    起始日期：<asp:TextBox ID="txtStartDate" runat="server" CssClass="input-txt" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtStartDate"
                        ErrorMessage="起始日期格式不正确！" ValidationExpression="^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|([1-2][0-9])))))|(\d{2}(([02468][1235679])|([13579][01345789]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\s(((0?[1-9])|(1[0-2]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$">*</asp:RegularExpressionValidator>&nbsp;
                    截止日期：<asp:TextBox ID="txtEndDate" runat="server" CssClass="input-txt" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtEndDate"
                        ErrorMessage="截止日期格式不正确！" ValidationExpression="^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|([1-2][0-9])))))|(\d{2}(([02468][1235679])|([13579][01345789]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\s(((0?[1-9])|(1[0-2]))\:([0-5][0-9])((\s)|(\:([0-5][0-9])\s))([AM|PM|am|pm]{2,2})))?$">*</asp:RegularExpressionValidator>
                    <asp:Button ID="btnSearch" class="btn1 btn" runat="server" Text="搜 索" OnClick="btnSearch_Click" />
                </div>
                <!--/action-field-->
            </div>
            <asp:Label ID="lbInfo" runat="server"></asp:Label>
            <asp:GridView ID="gvNews" runat="server" AutoGenerateColumns="False" CssClass="list-table">
                <Columns>
                    <asp:BoundField DataField="pkId" HeaderText="编号" HeaderStyle-CssClass="title">
                        <ItemStyle Width="50px" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="信息标题" HeaderStyle-CssClass="title">
                        <ItemTemplate>
                            <asp:Label ID="lbStatus" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
                            <asp:HyperLink ID="hyTitle" runat="server" Text='<%# Eval("intactTitle") %>' NavigateUrl='<%# "../newsInfo.aspx?pkId=" + Eval("pkId") %>'
                                Target="_blank"></asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="fullname" HeaderText="发布人" HeaderStyle-CssClass="title">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="bigclassname" HeaderText="所属栏目" HeaderStyle-CssClass="title">
                        <ItemStyle Width="100px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="updateTime" HeaderText="发布时间" HeaderStyle-CssClass="title">
                        <ItemStyle Width="150px" />
                    </asp:BoundField>
                </Columns>
            </asp:GridView>
        </div>
        <div class="ft">
            <div class="pagination">
                <asp:Label ID="ShowPage" runat="server"></asp:Label>
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                    ShowSummary="False" />
            </div>
            <!--/action-field-->
        </div>
    </div>
    </form>
</body>
</html>
