<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="project.aspx.cs" Inherits="zhongchou.project" %>
<%@ Register Src="~/projectRight.ascx" TagName="ascx" TagPrefix="ascxrigth" %>

<asp:Content ID="Content1" ContentPlaceHolderID="titleContent" runat="server">
    <%=pbModel.LengName + "," + pbModel.seoName%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <meta name="keywords" content="<%=pbModel.seoName %>|<%=pGlobla["key"] %>" />
    <meta name="description" content="<%=Maticsoft.Common.StringPlus.MyFormatstr(pbModel.jianjie) %>|<%=pGlobla["des"] %>" />
    <link href="/Images/1db826e5ef2ef3191131490e43a8940beb28.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="bg-white clearfix">
        <div class="wrap">
            <h1><%=pbModel.LengName %></h1>
        </div>
    </div>    
    <style>
        .m-message .form-item { margin-bottom: 10px; height: 32px; line-height: 32px; }
        .m-message .form-item label { float: left; font-size: 14px; height: 28px; line-height: 28px; text-align: right; width: 100px; }
        .m-message input[type="text"] { border: 1px solid #e4e4e4; color: black; font-size: 14px; height: 17px; line-height: 17px; padding: 8px 0 8px 10px; width: 235px; }
        .m-message .pop-body { padding: 20px; }
    </style>
    <!-- pop -->
    <div class="pops" id="pops">
    </div>
    <div class="project-jz" id="project-jz">
        <p>
            以图文并茂的形式，将你为此项目努力的进展和成果发布在此，让大家看到你的努力，可以更好的吸引大家来支持你的项目，加油吧~
        </p>
    </div>
    <!-- 项目进展弹框-->
    <!-- pop end -->
    <style type="text/css">
        .particulars-left .m-matter p { padding: 11px 0; }
    </style>
    <!--particulars static-->
    <div class="particulars clearfix">
        <div class="particulars-left">
            <div id="Js-detail" class="m-matter white">
                <ul class="particulars-list-nav clearfix Js-topbill">
                    <li class="selected"><a href="?id=<%=Request.QueryString["id"] %>">项目首页</a></li>
                    <li><a href="projectbacker.aspx?id=<%=Request.QueryString["id"] %>">支持者<i>（<%=zhichi %>）</i></a></li>
                    <li><a href="projectcomments.aspx?id=<%=Request.QueryString["id"] %>">评论<i>（<%=Maticsoft.Web.Config.extend.commentsCount(id) %>）</i></a></li>
                    <li><a href="projectProgress.aspx?id=<%=Request.QueryString["id"] %>">进度更新</a></li>
                </ul>
                <div class="content">
                <div class="share">
                        <div class="jiathis_style">
                            <a class="jiathis_button_weixin"></a><a class="jiathis_button_tsina"></a><a class="jiathis_button_qzone"></a><a class="jiathis_button_renren"></a><a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a><a class="jiathis_counter_style">
                            </a>
                        </div>
                        <script type="text/javascript">
                            window.jiathis_config = {
                                url: "<%=Request.Url.AbsoluteUri %>",
                                title: "<%=pbModel.LengName %>"
                            };        
                        </script>
                        <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
                    </div>
                    <div style="clear:both"><%=pbModel.jianjie %></div>
                </div>
            </div>            
        </div>
        <ascxrigth:ascx ID="right" runat="server" />
        <script>
            // 发送私信
            $(".a-btn-blue").live("click", function () {
                var content = $("textarea[name='message']").val();
                var sid = $("#sid").val();
                if (!content) {
                    alert('什么都没写，我怎么留言啊？逗我呢');
                    $("textarea[name='msgs']").focus();
                    return;
                }
                $.ajax({
                    type: 'get',
                    cache: false,
                    url: '/user/message.aspx?action=relpy&msg=' + content + "&sid=" + sid,
                    success: function (msg) {
                        if (msg.indexOf('1') > -1) {
                            wx.alert("留言成功");
                        } else {
                            wx.alert("留言失败");
                        }
                    },
                    error: function () {
                        wx.alert("异常，请联系管理员");
                    }
                });
            });
        </script>
        <script id="Js-mess-tpl" type="text">
    <div class="m-message">
        <div class="title">
            <h3 class="">发送私信</h3>
            <a href="javascript:;" class="btn-close Js-pop-close">×</a>
        </div> 
        <div class="pop-body">
                <div class="pop-msg">
                    <h3>收件人：<&name&></h3>
                    <textarea name="message"></textarea>
                    <input type="hidden" id="sid" name="top_id" value="<&id&>">
                </div>
                <div class="btn">
                    <a class="a-btn-gray Js-pop-close">
                        取消
                    </a>
                    <a class="a-btn-blue btn-effect-blue" type="button">
                        发送
                    </a>
                </div>
        </div>
    </div>
</script>
    </div>
    <script src="/Images/8de8de47e2079c79fe797d093000ad70eb28.js" type="text/javascript"></script>
</asp:Content>
