<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="ProjectList.aspx.cs" Inherits="zhongchou.ProjectList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="titleContent" runat="server">
    <%=Request.QueryString["n"] %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content="<%=Request.QueryString["n"] %>|<%=pGlobla["key"] %>" />
    <meta name="description" content="<%=Request.QueryString["n"] %>|<%=pGlobla["des"] %>" />
    <link href="Images/26238307520063c1bed12d636680a99c.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="wrap m-box ">
        <div class="type-list clearfix">
            <ul>
                <li class="li-font">分类排序：</li>
                <%foreach (Maticsoft.Web.Config.extend.dhClass d in fenlei) {%>
                <li><a class="<%=d.ID == q("class") ? "selected" : ""%>" href="?type=<%=q("type") %>&class=<%=d.ID %>&n=<%=q("n") %>&order=<%=q("order") %>&jc=<%=q("jc") %>">
                    <%=d.Name %></a></li>
                <%} %>
            </ul>
        </div>
        <div class="type-list clearfix">
            <ul>
                <li class="li-font">项目进程：</li>
                <%foreach (Maticsoft.Web.Config.extend.dhClass d in dhJC) {%>
                <li><a class="<%=d.ID == q("jc") ? "selected" : ""%>" href="?type=<%=q("type") %>&class=<%=q("class") %>&n=<%=q("n") %>&order=<%=q("order") %>&jc=<%=d.ID %>">
                    <%=d.Name %></a></li>
                <%} %>
            </ul>
        </div>
        <div class="type-list clearfix">
            <ul>
                <li class="li-font">其他类别：</li>
                <%foreach (Maticsoft.Web.Config.extend.dhClass d in dhOther) {%>
                <li><a class="<%=d.ID == q("order") ? "selected" : ""%>" href="?type=<%=q("type") %>&class=<%=q("class") %>&n=<%=q("n") %>&order=<%=d.ID %>&jc=<%=q("jc") %>">
                    <%=d.Name %></a></li>
                <%} %>
            </ul>
        </div>
        <div class="focus-box">
            <ul class="focus-con clearfix"                
                <!-- deal_card - widget -->
                <asp:Repeater ID="ProjectListRP" runat="server">
                    <ItemTemplate>
                        <li>
                            <div class="list-item" style="background: #FFF">
                                <div class="z-type"><%#Eval("ProjectType").ToString() == "1" ? "<span class='gq'>股权型</span>" : "<span class='hb'>回报型</span>"%></div>
                                <a target="_blank" href="project.aspx?id=<%#Eval("id") %>">
                                    <img src="/user/image/<%#Eval("smallImg") %>" alt="<%#Eval("seoName") %>" title="<%#Eval("seoName") %>" /></a>
                                <div class="z-lump ">
                                    <h2>
                                        <a target="_blank" href="project.aspx?id=<%#Eval("id") %>">
                                            <%#Eval("LengName") %></a>
                                    </h2>
                                    <!-- 众筹中 -->
                                    <p class="z-raising clearfix">
                                        <span class="z-document">已筹资<i><%#Maticsoft.Web.Config.extend.money(Eval("id")).ToString("C")%></i></span>
                                        <%#int.Parse(Maticsoft.Web.Config.extend.bfb(Eval("target").ToString(), Eval("id").ToString()).Split('.')[0]) >= 100 ? "<span class='z-document01 z-document01-red fb'>已成功</span>" : ""%>
                                    </p>
                                    <%#progress() %>
                                    <div class="item-rate clearfix">
                                        <span class="rate1">
                                            <%#Maticsoft.Web.Config.extend.bfb(Eval("target"),Eval("id")) %></span> <span class="rate2">剩余<%#Maticsoft.Web.Config.extend.Duration(Eval("startTime"), Eval("duration"))%>天</span>
                                    </div>
                                    <!-- 已成功 -->
                                </div>
                                <p class="z-assist clearfix">
                                    <a class="assist1" target="_blank" title="点击数" href="project.aspx?id=<%#Eval("id") %>">
                                        <%#Eval("lookcount")%></a> <a class="assist2" target="_blank" title="支持者" href="project.aspx?id=<%#Eval("id") %>">
                                            <%#Maticsoft.Web.Config.extend.zhichi(Eval("id"))%></a>
                                </p>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <%=paging%>
    </div>
    <div class="protop">
    </div>
    <div class="wrap">
        <div class="procon clearfix myproject" style="padding-top: 0px; width: 997px" id="list">
        </div>
    </div>
</asp:Content>
