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

<asp:Content ID="title" ContentPlaceHolderID="titleContent" runat="server">
    <%=pGlobla.title %>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content="<%=pGlobla.key %>" />
    <meta name="description" content="<%=pGlobla.des %>" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!--main static-->
    <!--banner static-->
    <div class="m-bannerimg">
        <ul id="slider" class="z-bimg clearfix">
            <asp:Repeater ID="bannerRP" runat="server">
                <ItemTemplate>
                    <li><a target="_blank" href="project.aspx?id=<%#Eval("id") %>">
                        <img src="user/image/<%#Eval("bigImg") %>" /></a></li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
        <div class="m-mesh">
            <span class="z-meshl"></span>
            <span class="z-meshr"></span>
        </div>
    </div>
    <!--banner end-->
    <!--统计数据-->
    <div class="indexDataBox">
        <div class="mainInnerBox clearfix">
            <div class="indexDataItem" style="margin-left: 85px;">
                <p class="dataText"><%=Maticsoft.Web.Config.extend.ProjectCount() %></p>
                <div class="xmzs">项目总数</div>
            </div>
            <div class="indexDataItem" style="margin-left: 239px;">
                <p class="dataText people"><%=Maticsoft.Web.Config.extend.MoneyListManCount() %></p>
                <div class="ljzcr">累计支持人</div>
            </div>
            <div class="indexDataItem" style="margin-left: 210px;">
                <p class="dataText money"><%=Maticsoft.Web.Config.extend.MoneyListCount().ToString("#,###") %></p>
                <div class="ljzzje">累计筹资金额</div>
            </div>
        </div>
    </div>
    <!--subnav static-->
    <!-- 浮动导航 id=nav就会显示下拉后的置顶功能 -->
    <div class="m-subnav" id="nav1" style="display:none">
        <div class="wrap">
            <div class="subnav-left Js-cata">
                <a id="cate_all" href="images/browse">全部</a>
                <asp:Repeater ID="fenlei" runat="server">
                    <ItemTemplate>
                        <a href="ProjectList.aspx?class=<%#Eval("id") %>&n=<%#Eval("name") %>">
                            <%#Eval("name") %></a>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <div class="subnav-right Js-cata">
                <i class="tel-icon"></i><span><a href="/about.aspx?id=10">商业合作可联系我们</a></span>
            </div>
        </div>
    </div>
    <!--subnav end-->
    <div class="wrap m-box">
        <div class="m-headline clearfix">
            <div class="project-title">
                <a href="#" target="_blank">热门项目</a>
            </div>
        </div>
        <!--focus static-->
        <div class="focus-box">
            <ul class="focus-con clearfix">
                <asp:Repeater ID="hotRP" 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>
                                    <div class="jianjie"><%#Maticsoft.Common.StringPlus.delAllHTML(Eval("jianjie").ToString()) %></div>
                                    <!-- 众筹中 -->
                                    <p class="z-raising clearfix">
                                        <%--<span class="z-document">已筹资</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>" : ""%>--%>
                                        <div class="siteCardRatio">
                                            <div class="siteCardRatioInner" style="width: <%#Maticsoft.Web.Config.extend.bfb(Eval("target"), Eval("id")).Split('.')[0]%>%;"></div>
                                        </div>
                                        <div class="siteCardFData">
                                            <div class="ftDiv">
                                                <p class="ftP"><%#Maticsoft.Web.Config.extend.money(Eval("id")).ToString("C")%></p>
                                                <p class="scP">已筹款</p>
                                            </div>
                                            <div class="scDiv">
                                                <p class="ftP"><%# Maticsoft.Web.Config.extend.zhichi(Eval("id")) %></p>
                                                <p class="scP">支持数</p>
                                            </div>
                                            <div class="thDiv">
                                                <p class="ftP"><%# Maticsoft.Web.Config.extend.bfbText(Eval("target"), Eval("id")) %></p>
                                                <p class="scP">筹款进度</p>
                                            </div>
                                        </div>
                                    </p>
                                    <!-- 已成功 -->
                                </div>
                            </div>
                        </li>
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
            <a class="z-browse" href="ProjectList.aspx?type=0">浏览全部</a>
        </div>
        <!--focus end-->
    </div>

    <!--technology static-->
    <asp:Repeater ID="fenleiListRP" runat="server" OnItemDataBound="fenleiListRP_ItemDataBound">
        <ItemTemplate>
            <div class="wrap m-box">
                <div class="m-headline clearfix">
                    <div class="project-title">
                        <a href="ProjectList.aspx?type=<%#Eval("id") %>" target="_blank"><%#Eval("name") %></a>
                    </div>
                </div>
                <!--focus static-->
                <div class="focus-box">
                    <ul class="focus-con clearfix">
                        <asp:Repeater ID="RPlist" 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>
                                            <div class="jianjie"><%#Maticsoft.Common.StringPlus.delAllHTML(Eval("jianjie").ToString()) %></div>
                                            <!-- 众筹中 -->
                                            <p class="z-raising clearfix">
                                                <%--<span class="z-document">已筹资</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>" : ""%>--%>
                                                <div class="siteCardRatio">
                                                    <div class="siteCardRatioInner" style="width: <%#Maticsoft.Web.Config.extend.bfb(Eval("target"), Eval("id")).Split('.')[0]%>%;"></div>
                                                </div>
                                                <div class="siteCardFData">
                                                    <div class="ftDiv">
                                                        <p class="ftP"><%#Maticsoft.Web.Config.extend.money(Eval("id")).ToString("C")%></p>
                                                        <p class="scP">已筹款</p>
                                                    </div>
                                                    <div class="scDiv">
                                                        <p class="ftP"><%# Maticsoft.Web.Config.extend.zhichi(Eval("id")) %></p>
                                                        <p class="scP">支持数</p>
                                                    </div>
                                                    <div class="thDiv">
                                                        <p class="ftP"><%# Maticsoft.Web.Config.extend.bfbText(Eval("target"), Eval("id")) %></p>
                                                        <p class="scP">筹款进度</p>
                                                    </div>
                                                </div>
                                            </p>
                                            <!-- 已成功 -->
                                        </div>
                                    </div>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <a class="z-browse" href="ProjectList.aspx?type=<%#Eval("id") %>">浏览全部</a>
                </div>
                <!--focus end-->
            </div>
        </ItemTemplate>
    </asp:Repeater>
    <!--technology end-->

    <div class="index_sucBox">
        <div class="mainInnerBox">
            <div class="index_sucHeader clearfix">
                <h3>成功案例<span>他们已经成功了，你还在等什么... </span></h3>
            </div>
            <asp:Repeater ID="chenggongRP" runat="server">
                <ItemTemplate>
                    <div class="index_sucItem">
                        <div class="indSucL clearfix">
                            <div class="indSucLImgBox">
                                <a href="javascript:;">
                                    <img src="User/Image/<%#Eval("headimg") %>"></a>
                            </div>
                            <div class="indSucText">
                                <h3 class="indSucText_h3">
                                    <a href="javascript:;" class="geren" style="cursor: default; text-decoration: initial;" target="_blank">刘杰文</a>
                                    <a href="project.aspx?id=<%#Eval("id") %>" class="xiangmu" target="_blank"><%#Eval("LengName") %></a>
                                </h3>
                                <p class="indSucText_p"><%#Eval("ganyan") %></p>
                            </div>
                        </div>
                        <div class="indSucR">
                            <div>
                                <p class="ftP"><%#Eval("target") %></p>
                                <p class="scP">已筹资</p>
                            </div>
                            <div class="geban"></div>
                            <div>
                                <p class="ftP"><%# Maticsoft.Web.Config.extend.zhichi(Eval("id")) %>人</p>
                                <p class="scP">支持人数</p>
                            </div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>

    <div class="siteFooterBox">
        <div class="siteTFooter">
            <div class="mainInnerBox clearfix">
                <div class="siteTFLeft">
                    <a href="/about.aspx?id=5" class="siteTFLeftA btn_ALink" target="_blank">
                        <i class="xsbz"></i>
                        <p>新手帮助</p>
                    </a>
                    <a href="/about.aspx?id=0" class="siteTFLeftA btn_ALink" target="_blank">
                        <i class="xmgf"></i>
                        <p>发起项目规范</p>
                    </a>
                    <a href="/NewsList.aspx" class="siteTFLeftA btn_ALink" target="_blank">
                        <i class="ttbd"></i>
                        <p>获新闻媒体头条报导</p>
                    </a>
                </div>
                <div class="siteTFRight clearfix">
                    <div class="siteTFTelBox">
                        <i></i>
                        <p><%=pGlobla.phone %></p>
                    </div>
                    <div class="siteTFWxBox">
                        <img src="/images/weixinCodeFoot.jpg">
                        <p>微信公众号</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--main end-->
</asp:Content>
