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

<!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/adminCss.htm" -->
    <script type="text/javascript" src="../Editor/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript">
        jQuery(function ($) {
            /*列表高度*/
            $('.function-bd').height($(window).innerHeight() - 170);

            $(window).resize(function () {
                $('.function-bd').height($(window).innerHeight() - 170);
            });
        });
    </script>
</head>
<body>
    <div class="list-func-box func-box">
        <div class="hd">
            您的位置：用户管理设置 &gt; 用户发文明细
        </div>
        <form id="form1" runat="server">
            <div class="bd">
                <div class="function-hd">
                    <div class="search-box fr">
                    </div>
                    <!--/search-box-->
                    <div class="action-field">
                        <p style="line-height: 26px;">
                            发文时间：<asp:TextBox ID="txtStartDate" runat="server" CssClass="input-txt" MaxLength="19"
                                onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>&nbsp;至&nbsp;<asp:TextBox ID="txtEndDate" runat="server" CssClass="input-txt" MaxLength="19"
                                    onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})"></asp:TextBox>
                            &nbsp;&nbsp;所属栏目：<asp:DropDownList ID="ddlbigclass" runat="server" DataTextField="name" DataValueField="pkId" CssClass="drop-txt">
                            </asp:DropDownList>
                            &nbsp;&nbsp;文章标题：<asp:TextBox ID="txtTitle" runat="server" CssClass="input-txt" ToolTip="标题支持模糊查询"></asp:TextBox>
                        </p>
                        <p style="line-height: 26px;">
                            审核状态：<asp:DropDownList ID="ddlPassed" runat="server" CssClass="drop-txt" Width="98">
                                <asp:ListItem Text="<全部>" Value="2"></asp:ListItem>
                                <asp:ListItem Text="通过" Value="1"></asp:ListItem>
                                <asp:ListItem Text="待审" Value="0"></asp:ListItem>
                            </asp:DropDownList>
                            &nbsp;发布人：<asp:DropDownList ID="ddlUserId" runat="server" DataTextField="fullname" DataValueField="pkid" CssClass="drop-txt"></asp:DropDownList>
                            &nbsp;&nbsp;审核人员：<asp:DropDownList ID="ddlAudituserId" runat="server" DataTextField="fullname" DataValueField="pkid" CssClass="drop-txt"></asp:DropDownList>
                            &nbsp;&nbsp;发布部门：<asp:DropDownList ID="ddlDept" runat="server" DataTextField="name" DataValueField="pkId" CssClass="drop-txt"></asp:DropDownList>
                            &nbsp;&nbsp;
                    <%--  等级:<asp:DropDownList ID="ddlGrade" runat="server" DataTextField="name" DataValueField="pkId">
                    </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" />
                        </p>
                    </div>
                    <!--/action-field-->
                </div>
                <div class="function-bd" style="overflow: auto;">
                    <!--[if lte IE 7]><div style="zoom:1"><![endif]-->
                    <asp:GridView ID="GridView1" runat="server" class="list-table" AutoGenerateColumns="false">
                        <Columns>
                            <asp:BoundField HeaderText="编号" DataField="pkId" />
                            <asp:TemplateField HeaderText="标题" HeaderStyle-CssClass="title">
                                <ItemTemplate>
                                    <asp:Label ID="lbStatus" runat="server" Font-Bold="True" ForeColor="Red" Text='<%# Eval("isduplicated").ToString()=="1"?"[抄送]":"" %>'></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 HeaderText="所属栏目" DataField="bigclassname" />
                            <asp:BoundField HeaderText="发布部门" DataField="deptname" />
                            <asp:BoundField HeaderText="发布人" DataField="fullname" />
                            <asp:BoundField HeaderText="发布时间" DataField="updateTime" />
                            <asp:BoundField HeaderText="审核人" DataField="auditUser" />
                        </Columns>
                    </asp:GridView>
                    <asp:Label ID="lbInfo" runat="server"></asp:Label>
                    <!--[if lte IE 7]></div><![endif]-->
                </div>
                <!--/function-bd-->
            </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>
        </form>
    </div>
</body>
</html>
