<%@ Page Title="" Language="C#" MasterPageFile="/Default.Master" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="Maticsoft.Web.User.index" %>
<%@ Register Src="~/User/daohang.ascx" TagName="daohang" TagPrefix="ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="titleContent" runat="server">
    发起的项目
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <link href="../Images/5de86140d87bd2dbed2f7d202594aff3.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="backstage-wrap clearfix">
        <ascx:daohang ID="daohang" runat="server" />
        <div class="backstage-right" style="min-height: 500px;">
            <div class="backstage-right-con fill-2 clearfix">
                <div style="border-bottom: 1px solid #ccc; margin-bottom: 10px; padding-bottom: 20px; font-size: 20px;">
                    发起的项目</div>
                <ul class="promoters-pro-tab clearfix">
                    <li <%=string.IsNullOrEmpty(_q) ? "class='selected'" : ""%>"><a href="?">全部项目</a></li>
                    <li <%=_q == "1" ? "class='selected'" : ""%>><a href="?status=1">进行中</a></li>
                    <li <%=_q == "2" ? "class='selected'" : ""%>><a href="?status=2">已完成</a></li>
                    <li <%=_q == "3" ? "class='selected'" : ""%>><a href="?status=3">审核中</a></li>
                    <li <%=_q == "4" ? "class='selected'" : ""%>><a href="?status=4">已结束</a></li>
                </ul>
                <div class="promoters-pro-con">
                    <div class="promoters-pro-tit">
                        <ul>
                            <li class="wp34">项目名称</li>
                            <li class="wp10">发布日期</li>
                            <li class="wp14">截止日期</li>
                            <li class="wp10">目标/进度</li>
                            <li class="wp10">项目状态</li>
                            <li class="wp10">结算状态</li>
                            <li class="wp12">操作</li>
                        </ul>
                    </div>
                    <table>
                        <asp:Repeater ID="ListRP" runat="server"><ItemTemplate>
                            <tr>
                                <td style="width: 34%">
                                    <span class="con"><a href="/project.aspx?id=<%#Eval("id") %>" target="_blank">
                                                <img src="Image/<%#Eval("smallImg") %>" width="108" height="80"></a>
                                            <p>
                                                <%#Eval("LengName") %>
                                            </p></span>                                    
                                </td>
                                <td style="width: 10%">
                                    <span class="con"><%#Eval("addtime") %></span>
                                </td>
                                <td style="width: 14%">
                                    <span class="con"><%# DateTime.Parse(Eval("startTime").ToString()).AddDays(double.Parse(Eval("Duration").ToString())).ToShortDateString()%></span>
                                </td>
                                <td style="width: 10%">
                                    <span class="con"><%#Maticsoft.Web.Config.extend.money(Eval("id")) %>/<%#Eval("target")%><em><%# Maticsoft.Web.Config.extend.bfbText(Eval("target"),Eval("id"))%></em></span>
                                </td>
                                <td style="width: 10%; position: relative;" class="Js-tipwrap">
                                    <span class="con"><%#Eval("isPast").ToString() == "1" ? "众筹中" : "审核中" %></span>
                                </td>
                                <td style="width: 10">
                                    <span class="con"><%#Maticsoft.Web.Config.extend.bfbText(Eval("target"),Eval("id")).Contains("100") ? "请联系管理员提现":"不可申请"%> </span>
                                </td>
                                <td style="width: 12%">
                                    <span class="con"><%#url() %></span>
                                </td>
                            </tr>
                        </ItemTemplate></asp:Repeater>
                    </table>
                    <div class="pages">
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
