<%@ page language="C#" autoeventwireup="true" inherits="Admin_xx_renwulist, App_Web_ouxoyg5o" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Register src="YanZen.ascx" tagname="YanZen" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="Admin_Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <uc1:YanZen ID="YanZen1" runat="server" />
    <div id="tab1">
        <table cellpadding="4" cellspacing="1" style="width: 100%;">
            <tr>
                <td>
                    <img src="images/start3.gif" />
                    <b>任务列表</b>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="SearchText" runat="server" Height="20px" Width="200px"></asp:TextBox>
                    <asp:Button ID="SearchBtn" runat="server" Height="26px" Text="任务号查询" 
                        Width="90px" onclick="SearchBtn_Click" />
&nbsp;任务总数 <asp:Label ID="AllLabel" runat="server" Font-Bold="True" ForeColor="#003300"></asp:Label>
                    条 其中等待接手 <asp:Label ID="Count0Label" runat="server" Font-Bold="True" 
                        ForeColor="Red"></asp:Label>
                    条 已接手 <asp:Label ID="Count1Label" runat="server" Font-Bold="True" 
                        ForeColor="Red"></asp:Label>
                    条 已拍宝贝并付款 <asp:Label ID="Count2Label" runat="server" Font-Bold="True" 
                        ForeColor="Red"></asp:Label>
                    条 已发货 <asp:Label ID="Count3Label" runat="server" Font-Bold="True" 
                        ForeColor="Red"></asp:Label>
                    条 已收货并评价 <asp:Label ID="Count4Label" runat="server" Font-Bold="True" 
                        ForeColor="Red"></asp:Label>
                    条 已完结 
                    <asp:Label ID="Count5Label" runat="server" Font-Bold="True" 
                        ForeColor="Red"></asp:Label>
                    条 已关闭 <asp:Label ID="DelCountLabel" runat="server" Font-Bold="True"></asp:Label>
                    条</td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                        CellPadding="3" ForeColor="Black" GridLines="Vertical" Width="100%">
                        <RowStyle HorizontalAlign="Center" />
                        <Columns>
                            <asp:BoundField DataField="RenWuCode" HeaderText="任务CODE" />
                            <asp:BoundField DataField="LoginID" HeaderText="发布人" />
                            <asp:TemplateField HeaderText="任务链接">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container, "DataItem.link")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="Money" HeaderText="保证金" />
                            <asp:BoundField DataField="FBD" HeaderText="发布点" />
                            <asp:TemplateField HeaderText="任务类型">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container, "DataItem.RenWuType")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="任务状态">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container, "DataItem.StateText")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="JieLoginID" HeaderText="接手人" />
                            <asp:BoundField DataField="FaBuDate" HeaderText="发布时间" 
                                DataFormatString="{0:yyyy-MM-dd}" />
                            <asp:BoundField DataField="JieDate" HeaderText="接手时间" 
                                DataFormatString="{0:yyyy-MM-dd}" />
                            <asp:BoundField DataField="FaHuoDate" HeaderText="发货时间" 
                                DataFormatString="{0:yyyy-MM-dd}" />
                            <asp:BoundField DataField="ShouHuoDate" HeaderText="收货时间" 
                                DataFormatString="{0:yyyy-MM-dd}" />
                            <asp:BoundField DataField="EndDate" HeaderText="完结时间" 
                                DataFormatString="{0:yyyy-MM-dd}" />
                            <asp:TemplateField HeaderText="回收站">
                                <ItemTemplate>
                                    <%# DataBinder.Eval(Container, "DataItem.VisibleText")%>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="#CCCCCC" />
                        <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                        <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="#CCCCCC" />
                    </asp:GridView>
                    <asp:Label ID="NoDataLabel" runat="server" Text="没有数据"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanging="AspNetPager1_PageChanging"
                        FirstPageText="首页" LastPageText="末页" NextPageText="下一页" NumericButtonCount="30"
                        PrevPageText="上一页" HorizontalAlign="Center" Font-Bold="False" Font-Italic="False"
                        Font-Size="15px" LayoutType="Div" Width="100%" PageSize="20" 
                        AlwaysShow="True">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
            <tr>
                <td>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
