<!DOCTYPE HTML>
<html>
<head>
    <meta charset="gbk">
    <title>19楼(19lou.com)- 分享生活 温暖你我 - 杭州19楼手机版
</title>
        <meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="keywords" content="杭州19楼,杭州19楼论坛,杭州19楼社区">
    <meta name="description" content="19楼空间（www.19lou.com）是致力于提供生活资讯、消费购物、人际交流一体化服务的大型互动平台" />
    <meta name="baidu-tc-verification" content="76348e22b94f70c38002bd4667d32e72" />
    <meta name="baidu-tc-cerfication" content="4060c4e461b2b0c187b3997938f7f256" />

    <link rel="apple-touch-icon" href="https://att3.citysbs.com/no/hangzhou/2015/03/17/15/114x114-152110_v2_13161426576870752_7b896b1d14c6ab389d2af137f660567e.png"/>
        <link rel="stylesheet" type="text/css" href="https://img2.citysbs.com/css/0.8.2.45/wap/style.css?v=0.7.6.12251362-2016012702.042103"/>
</head>
<body>
<div id="wrap" class="viewport">
    

    <div class="header clear">
        <a href="https://www.19lou.com/wap" title="19楼" class="logo">
            <img src="https://img2.citysbs.com/css/0.8.2.45/wap/images/logoNew.png" width="55" height="19" />
        </a>
        <a ttname="wap_nav_city" href="javascript:void(0);" class="city" title="切换城市">杭州<em></em></a>
        <ul class="nav">
                <li class="hover"><a href="https://www.19lou.com/wap" title="导航_首页" ttname="wap_nav_index">首页</a><p></p></li>
            <li><a href="/wap/board/circle" title="导航_圈子" ttname="wap_nav_bbs">圈子</a></li>
                <li><a href="https://www.19lou.com/wap/myinfo/index" title="导航_我家" ttname="wap_nav_home" rel="nofollow">我家</a></li>
        </ul>
    </div>
	<div id="tip" style="margin:0 auto;width:300px;">
		<strong>我们系统检测到您所在的网络有异常访问行为，请输入验证码，以便正常访问</strong>
	</div>
	<div id="embed-captcha" style="margin:0 auto;width:300px;">
	</div>


<script src="https://js2.citysbs.com/0.8.2.45/forum/lib/jquery.js?v=0.7.6.12251362-2016012702"></script>
<script src="https://static.geetest.com/static/tools/gt.js"></script>
<script>
$(document).ready(function(){


    var handlerEmbed = function (captchaObj) {
        // 将验证码加到id为captcha的元素里，同时会有三个input的值：geetest_challenge, geetest_validate, geetest_seccode
        // 成功的回调
        captchaObj.onSuccess(function () {
            var validate = captchaObj.getValidate();
            $.ajax({
                url: "/VerifyLoginServlet.php", // 进行二次验证
                type: "post",
                dataType: "json",
                data: {
                    type: "pc",
                    geetest_challenge: validate.geetest_challenge,
                    geetest_validate: validate.geetest_validate,
                    geetest_seccode: validate.geetest_seccode
                },
                success: function (data) {
                    if (data && (data.status === "success")) {
			var url=document.location.href;
       			url=(url.indexOf("?")>=0)?(url+"&"+Math.random()):(url+"?&"+Math.random());
                        location.href= url;
                    } else {
                        
                    }
                }
            });
        });
        captchaObj.appendTo("#embed-captcha");
    };
    $.ajax({
        // 获取id，challenge，success（是否启用failback）
        url: "/StartCaptchaServlet.php?type=pc&t=" + (new Date()).getTime(), // 加随机数防止缓存
        type: "get",
        dataType: "json",
        success: function (data) {
            // 使用initGeetest接口
            // 参数1：配置参数
            // 参数2：回调，回调的第一个参数验证码对象，之后可以使用它做appendTo之类的事件
            initGeetest({
                gt: data.gt,
                challenge: data.challenge,
                product: "embed", // 产品形式，包括：float，embed，popup。注意只对PC版验证码有效
                offline: !data.success // 表示用户后台检测极验服务器是否宕机，一般不需要关注
                // 更多配置参数请参见：https://www.geetest.com/install/sections/idx-client-sdk.html#config
            }, handlerEmbed);
        }
    });



})
</script>


</div>
</body>
</html>
