<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Default.Master.cs" Inherits="zhongchou.Default" EnableViewState="false" %>

<!DOCTYPE html>
<html>
<head>
    <title>
        <asp:ContentPlaceHolder runat="server" ID="titleContent">
        </asp:ContentPlaceHolder>
        |<%=pGlobla.title %></title>
    <!-- 微博登陆 -->
    <meta property="wb:webmaster" content="<%=wbmate %>" />

    <!-- QQ登陆 -->
    <meta property="qc:admins" content="<%=qqmate %>" />
    <script type="text/javascript" src="http://qzonestyle.gtimg.cn/qzone/openapi/qc_loader.js" data-appid="<%=qq_client_id %>" data-redirecturi="<%=qq_url %>" data-callback="true" charset="utf-8"></script>

    <script type="text/javascript" src="/images/2cc0475e1160ea574d0a9b5ebea60136eb28.js"></script>
    <link rel="stylesheet" type="text/css" href="/images/54a58051ccf1833f8e04a32cf144a640eb28.css">
    <link rel="stylesheet" type="text/css" href="/images/14c4c0d24fba6ed25d8b6758064ef7b8eb28.css">

    <script type="text/javascript">
    function browserRedirect() {
        var sUserAgent = navigator.userAgent.toLowerCase();
        var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
        var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
        var bIsMidp = sUserAgent.match(/midp/i) == "midp";
        var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
        var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
        var bIsAndroid = sUserAgent.match(/android/i) == "android";
        var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
        var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";

        if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
            window.location.href = 'wap/index.aspx';
        }
    }
    browserRedirect(); 
</script>

    <script>
        $(".meun-01").live("click", function () {
            location.href = $(this).attr("data-link");
        });
        $(".bh-mhnbo").live('click', function () {
            location.href = "/searchProject.aspx?t=" + $("input[name='k']").val();
        });
        $(".bottom_search").live('click', function () {
            location.href = "/searchProject.aspx?t=" + $("input[name='kbottom']").val();
        });
    </script>
    <script src="../Images/fe3974b84fb6b50da0f329242078614c_0.js" type="text/javascript"></script>
    <asp:ContentPlaceHolder ID="head" runat="server"></asp:ContentPlaceHolder>
</head>
<body>
    <form id="Form1" runat="server">
        <!--header static-->
        <div c="" p="" i="" editstatus="0" class="siteHTopBox" data-status="on" id="siteHTopBox">
            <div class="mainInnerBox">
                <div class="siteHtelBox">官方咨询电话<span><%=pGlobla.phone %></span></div>
                <!-- 手机app && 联系电话 begin -->
                <div class="siteHRight">
                    <div class="siteHCodeImgBox" style="display:none">
                        <a href="javascript:;" class="siteHCodeA btn_ALink"><span class="tel"></span>手机版<i></i></a>
                        <div class="siteHCodeInner">
                            <p>扫扫下载众筹app</p>
                            <img src="http://zcs3.ncfstatic.com/v3/static/images/appDown.jpg?v=">
                        </div>
                    </div>
                    <div class="siteHCodeImgBox">
                        <a href="javascript:;" class="siteHCodeA btn_ALink"><span class="wx"></span>微信公众号<i></i></a>
                        <div class="siteHCodeInner">
                            <p>扫扫关注微信公众号</p>
                            <img src="/images/weixinCodeFoot.jpg">
                        </div>
                    </div>
                    <a href="tencent://message/?uin=148173602&Site=RaiseDreams众筹系统&Menu=yes" class="siteH_feedbackA btn_ALink" id="RS_yjfkBox">意见反馈</a>
                    <a href="about.aspx?id=0" class="siteHCodeB btn_ALink" target="_blank">帮助中心</a>
                </div>
                <!-- 手机app && 联系电话 end -->
            </div>
        </div>

        <div class="header">
            <div class="wrap clearfix">
                <div class="m-left">
                    <h1>
                        <a id="nav_logo" alt="众筹网" class="img-logo " title="众筹网" href="/index.aspx"><img src="/images/<%=pGlobla.Logo %>" /></a></h1>
                    <ul class="m-nav clearfix">
                        <li><a id="nav_home" class='' class="z-home" href="/index.aspx"><span><i class="s-01"></i></span>首页</a></li>
                        <li><a id="nav_browse" href="/ProjectList.aspx"><i class="s-02"></i>浏览项目</a></li>
                        <li><a id="nav_create_project" href="/AddProject/index.aspx"><i class="s-03"></i>发起项目</a></li>
                        <li><a id="nav_yuanshihui" href="/about.aspx?id=5" target="_blank"><i class="s-30"></i>新手帮助</a></li>
                        <li><a id="nav_app_zhongchou" href="NewsList.aspx" target="_blank"><i class="s-phone"></i>官方公告</a></li>
                    </ul>
                </div>

                <div class="m-right clearfix">
                    <%if(Request.Cookies["login"] == null) {%>
                    <span class="z-Login">
                        <div class="other-login">
                            <a class="qq" href="https://graph.qq.com/oauth/show?which=Login&display=pc&client_id=<%=qq_client_id %>&response_type=token&scope=all&redirect_uri=http://<%=Request.Url.Authority %>"></a>
                            <script>
                                //检查是否登录 
                                if (QC.Login.check()) {//如果已登录 
                                    QC.Login.getMe(function (openId, accessToken) {
                                        //alert(["当前登录用户的", "openId为："+openId, "accessToken为："+accessToken].join("\n")); 
                                        window.location.href = "loginAPI.aspx?Action=QQ&token=" + accessToken;
                                    });
                                };
                            </script>
                            <a class="wechat" id="login_container" href="https://open.weixin.qq.com/connect/qrconnect?appid=wx40b430a589615f5d&redirect_uri=http://<%=Request.Url.Authority %>/loginAPI.aspx&response_type=code&scope=snsapi_login&state=STATE"></a>
                            <a class="sina" href="https://api.weibo.com/oauth2/authorize?client_id=<%=wb_client_id %>&redirect_uri=http://<%=Request.Url.Authority %>/loginapi.aspx?c=Sina&response_type=code"></a>
                        </div>
                        <a id="user_register" class="z-register Js-showRegister" href="javascript:;">注册</a> <a id="user_login" class="Js-showLogin" href="javascript:;">登录</a> <a class="Js-mshowLogin" style="display: none" href="javascript:;"></a></span>
                    <%} else { %>
                    <div id="Js-header-loginBtn">
                        <span class="pull-down clearfix"><i class="meun-02"></i><i class="meun-01" data-link='/user/index.aspx'>管理中心</i></span>
                        <ul id="Js-header-login" class="mm-nubg">
                            <li><a href="/user/index.aspx"><i class="down-menu02"></i>发起的项目</a></li>
                            <li><a href="/user/manageMent.aspx"><i class="down-menu01"></i>支持的项目</a></li>
                            <li><a href="/user/message.aspx"><i class="down-menu04"></i>消息中心</a></li>
                            <li><a href="/user/info.aspx"><i class="down-menu05"></i>个人设置</a></li>
                            <li><a href="/User/login.aspx?Action=out"><i class="down-menu06"></i>退出</a></li>
                        </ul>
                    </div>
                    <%} %>
                    <span id="login">
                        <input name="k" placeholder="输入关键词" type="text">
                        <a href="javascript:;" class="bh-mhnbo"></a></span>
                </div>
            </div>
        </div>
        <!--header end-->
        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
        </asp:ContentPlaceHolder>
    </form>
    <div class="footer">
        <div class="footer-nav">
            <a href="/about.aspx?id=6" rel="nofollow" target="_blank">关于我们 <i>｜</i> </a><a href="/about.aspx?id=10" rel="nofollow" target="_blank">联系我们 <i>｜</i> </a>
            <a href="/about.aspx?id=7" rel="nofollow">团队介绍 <i>｜</i> </a>
            <a href="/about.aspx?id=3" rel="nofollow" target="_blank">服务协议 <i>｜</i> </a><a href="/about.aspx?id=0" rel="nofollow" target="_blank">项目发起规范 <i>｜</i> </a><a href="/about.aspx?id=3" target="_blank">隐私条款 <i>｜</i> </a><a href="/about.aspx?id=5" target="_blank">常见问题 <i>｜</i>
            </a><a href="/about.aspx?id=9" target="_blank">合作伙伴<i>｜</i></a> <a href="/about.aspx?id=8" rel="nofollow" target="_blank">加入我们 </a>
        </div>
        <div class="footer-icon">
        </div>
        <div class="footer-copy">
            <div class="wrap">
                <div class="m-Links">
                    <asp:Repeater ID="youlianRP" runat="server">
                        <ItemTemplate>
                            <a href="<%#Eval("url") %>" target="_blank" title="<%#Eval("name") %>">
                                <%#Eval("name") %></a>
                        </ItemTemplate>
                    </asp:Repeater>
                </div>
                <p><%=pGlobla.copyright %></p>
                <%--<p>页面加载耗时：<%=timespan.TotalSeconds.ToString("f6") %>(s)</p>--%>
            </div>
        </div>
    </div>
    <div id="gotop" class="go-top">
    </div>
</body>
<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?2e9bb9eac0f3b4d5becdeecdbf2ef7d0";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
</html>
<script type="text/javascript" src="/images/b78af158bede6d239fd4c1a45c707572eb28.js"></script>
<script src="/Images/d3a7f78f5318002020c035201700a3ad.js" type="text/javascript"></script>
