<%@ page language="C#" autoeventwireup="true" inherits="Platform_RenWuList, App_Web_js88pak2" %>
<%@ Register src="../Inc/Header1.ascx" tagname="Header1" tagprefix="uc1" %>
<%@ Register src="../Inc/Footer1.ascx" tagname="Footer1" tagprefix="uc2" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Register src="../Inc/Ads1.ascx" tagname="Ads1" tagprefix="uc4" %>
<%@ Register src="../Inc/YanZen.ascx" tagname="YanZen" tagprefix="uc3" %>
<%@ Register src="../Inc/Menu.ascx" tagname="Menu" tagprefix="uc5" %>

<!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><%=WebTitle%></title>
    <%=WebKeyWords%>
	<%=WebDescription%>
    <link href="../Inc/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <uc3:YanZen ID="YanZen1" runat="server" />
    <uc1:Header1 ID="Header11" runat="server" />
    <uc5:Menu ID="Menu1" runat="server" />
    
    <div class="PlatformBody">
        
        <div class="View1">
            <div class="Left1">
                <img src="/images/user-right-home.jpg" />
                当前位置：<a href="/User/">用户中心首页</a> &gt; 任务列表
            </div>
            <div class="Right1">
                <img src="/images/user-RT-icon1.jpg" />
                <a href="/Platform/Breach.aspx" target="_blank">购买发布点</a>
                <img src="/images/user-RT-icon2.jpg" style="margin-left:5px;"/>
                <a href="/User/ChongZhi.aspx" target="_blank">账户充值</a>
                <img src="/images/user-RT-icon3.jpg" style="margin-left:5px;"/>
                <a href="/User/TuiGuan.aspx" target="_blank">推广中心</a>
                <img src="/images/user-RT-icon4.jpg" style="margin-left:5px;"/>
                <a href="/Help/" target="_blank">帮助中心</a>
            </div>
            <div class="clear"></div>
        </div>
            
        <div class="RenWuList">
            <table cellpadding="3" cellspacing="5" style="width:100%;">
                <tr style="background-color:#efefef; height:38px;">
                    <td style="padding-left: 6px">
                        <asp:RadioButtonList ID="KindList" runat="server" 
                            RepeatDirection="Horizontal" AutoPostBack="True" 
                            onselectedindexchanged="KindList_SelectedIndexChanged">
                            <asp:ListItem Selected="True">我发布的任务</asp:ListItem>
                            <asp:ListItem>我承接的任务</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr style="background-color:#ffffff;">
                    <td>
                        <asp:GridView ID="GridView1" runat="server" Width="100%" 
                            AutoGenerateColumns="False" BorderStyle="None" 
                            BorderColor="White" BorderWidth="0px" 
                            onrowdeleting="GridView1_RowDeleting" GridLines="None" CellSpacing="1">
                            <RowStyle Height="38px" HorizontalAlign="Center" />
                            <Columns>
                                <asp:BoundField DataField="RenWuCode" HeaderText="任务编号" >
                                    <ItemStyle Width="100px" />
                                </asp:BoundField>
                                <asp:HyperLinkField DataTextField="LoginID" HeaderText="发布人" 
                                    DataNavigateUrlFields="LoginID" 
                                    DataNavigateUrlFormatString="/Platform/UserInfo.aspx?login={0}" 
                                    Target="_blank" />
                                <asp:BoundField DataField="FaBuDate" DataFormatString="[{0:MM-dd}]" 
                                    HeaderText="发布日期" >
                                    <ItemStyle Width="100px" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="保证金">
                                    <ItemTemplate>
                                        <A title="此任务发布方已缴纳全额保证金，买家可放心购买！" href=""><img src="/images/ptdb.gif" border="0" />
								        <asp:Label id="Label5" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Money") %>'>
								        </asp:Label></A>
                                    </ItemTemplate>
                                    <ItemStyle Width="100px" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="FBD" HeaderText="发布点" >
                                    <ItemStyle Width="100px" />
                                </asp:BoundField>
                                <asp:TemplateField HeaderText="任务类型">
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Bind("RenWuType") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="100px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="承接方">
                                    <ItemTemplate>
                                        <%# DataBinder.Eval(Container, "DataItem.JieLoginID") %>
                                    </ItemTemplate>
                                    <ItemStyle Width="130px" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="任务状态">
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" Text='<%# Bind("StateText") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle Width="100px" />
                                </asp:TemplateField>
                                <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定要取消任务吗？')&quot;&gt;取消&lt;/div&gt;" 
                                    HeaderText="操作" ShowDeleteButton="True" Visible="False">
                                    <ItemStyle Width="40px" ForeColor="#999999" />
                                </asp:CommandField>
                                <asp:HyperLinkField DataNavigateUrlFields="RenWuCode" 
                                    DataNavigateUrlFormatString="/Platform/RenWuView.aspx?rwc={0}" 
                                    Target="_blank" Text="[任务操作]">
                                    <ItemStyle HorizontalAlign="Center" Width="100px" Wrap="True" />
                                </asp:HyperLinkField>
                            </Columns>
                            <HeaderStyle BackColor="#DADADA" Height="40px" HorizontalAlign="Center" />
                            <AlternatingRowStyle BackColor="#EFEFEF" />
                        </asp:GridView>
                        <asp:Label ID="NoDataLabel" runat="server" Text=" 没有数据！"></asp:Label>
                    </td>
                </tr>
                <tr style="background-color:#cccccc;">
                    <td style="height:40px;">
                        <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="16" 
                            AlwaysShow="True">
                        </webdiyer:AspNetPager>
                    </td>
                </tr>
            </table>
        </div>
        <div style="height:10px;"></div>
            
    </div>
    
    <uc4:Ads1 ID="Ads11" runat="server" />
    <uc2:Footer1 ID="Footer11" runat="server" />
    </form>
</body>
</html>
