<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TaskWhereMaxList.ascx.cs" Inherits="TaskList" %>
<asp:GridView ID="TaskGridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
    Width="100%" OnRowDataBound="TaskGridView2_RowDataBound" ShowHeader="False" OnPageIndexChanging="TaskGridView2_PageIndexChanging" PageSize="11">
    <Columns>
        <asp:TemplateField>
            <ItemTemplate>
                <table width="100%">
                    <tr>
                        <td rowspan="2" style="width: 10%">
                            <asp:HyperLink ID="TaskViewHyperLink2" runat="server" CssClass='<%# CategoryMoneyBK(Eval("money").ToString()) %>'
                                NavigateUrl='<%# TASKVIEWURL(Eval("id").ToString()) %>' Text='<%# CategoryMoneyText(Eval("cid").ToString(),Eval("money").ToString()) %>'
                                Width="80px"></asp:HyperLink></td>
                        <td rowspan="2" style="width: 10%">
                            <table style="background-image: url(../../images/task/TaskTimeOut.gif); width: 89px; height: 43px" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="center" rowspan="2" style="width: 144px; height: 43px">
                                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# TASKVIEWURL(Eval("id").ToString()) %>'
                                            Text='<%# ViewTimeOut(Eval("sdt").ToString(),Eval("edt").ToString()) %>'></asp:HyperLink></td>
                                </tr>
                                <tr>
                                </tr>
                            </table>
                            </td>
                        <td rowspan="2" style="width: 5%">
                        </td>
                        <td style="width: 80%" align="left">
                            <asp:HyperLink ID="Subject" runat="server" Text='<%# SUBJECT(Eval("id").ToString(),Eval("subject").ToString(),Eval("sdt").ToString(),Eval("edt").ToString()) %>' NavigateUrl='<%# TASKVIEWURL(Eval("id").ToString()) %>'></asp:HyperLink></td>
                        <td rowspan="2" style="width: 10%">
                            &nbsp;<asp:HyperLink ID="HyperLink4" runat="server" ImageUrl="<%# AddPlanKeyImg() %>" NavigateUrl='<%# TASKVIEWURL(Eval("id").ToString()) %>'
                                Target="_blank">我要参于</asp:HyperLink></td>
                    </tr>
                    <tr>
                        <td style="width: 80%" align="left">
                            <span
                                style="color: darkgray">&nbsp;剩余(</span><asp:Label ID="Label2" runat="server" Text='<%# SURPLUS(Eval("sdt").ToString(),Eval("edt").ToString()) %>' ForeColor="#C00000"></asp:Label><span
                                        style="color: darkgray">)
                            | 浏览:</span><asp:Label ID="Label3" runat="server" Text='<%# Bind("CallNum") %>' ForeColor="#404040"></asp:Label><span style="color: darkgray">
                            | 投稿数: </span>
                            <asp:Label ID="Label4" runat="server" Text='<%# PLANNUM(Eval("id").ToString()) %>' ForeColor="#404040"></asp:Label><span
                                style="color: darkgray">
                            | (</span><asp:Label ID="Label5" runat="server" Text='<%# STATE(Eval("finish").ToString()) %>' ForeColor="#FF8000"></asp:Label><span style="color: darkgray">)
                                        </span>
                            </td>
                    </tr>
                </table>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <PagerSettings FirstPageText="第一页" LastPageText="尾页" Mode="NumericFirstLast" />
    <HeaderStyle Height="0px" />
</asp:GridView>
