<?php
$baseHref = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);
function getTrackingUrl(): string
{
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://server.4markets.net/api/v2/offers/tracking-domain");
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, [
        "Referer: https://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'],
    ]);
    curl_setopt($ch, CURLOPT_TIMEOUT, 10);
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
    $response = curl_exec($ch);
    $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);

    if ($httpCode != 200) {
        return "";
    }
    if (empty($response)) {
        return "";
    }

    $responseTrackingDomainJson = json_decode($response);

    if (empty($responseTrackingDomainJson)) {
        return "";
    }

    return $responseTrackingDomainJson->details->endpoint;
}

$trackingUrl = getTrackingUrl();
?>
<!DOCTYPE html>
<html lang="en">

<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<head>
    <link rel="icon" href="">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
    <title>Bitcoin System Quizz!</title>
    <link rel="Shortcut Icon" type="image/png" href="assets/img/favicon-thankyou.png"/>
    <link href="https://fonts.googleapis.com/css?family=Assistant:200,300,400,600,700,800&amp;display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Roboto:400,500&amp;display=swap" rel="stylesheet">
    <link href="assets/css/animation.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="assets/css/owl.carousel.css">
    <link rel="stylesheet" href="assets/css/owl.theme.default.css">
    <link href="assets/css/bootstrap.css" rel="stylesheet" type="text/css"/>
    <link href="assets/css/style8e0e8e0e.css?v=8" rel="stylesheet" type="text/css"/>
    <link href="assets/css/all.min.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="topbg">
    <div class="topouter">
        <div class="container-fluid">
            <div class="row align-items-center">
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                    <img src="img/logo.png" alt="" id="brand-logo" style="max-width:300px;max-height:185px;padding: 10px;border-radius: 5px;background-color: #333;"></div>
            </div>
        </div>
    </div>
    <div class="bannersec">
        <div class="container">
            <div class="row">
                <div class="col-sm-12 d-none">
                    <br/><br/><br/>
                    <h1 class="text-center my-5">
                        Loading page<span class="one">.</span><span class="two">.</span><span class="three">.</span>
                    </h1>
                    <br/><br/><br/><br/><br/>
                </div>
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 first_screen ">
                    <h1 class="text-center">
                        <span data-i18n>Congratulations…</span>
                    </h1>
                    <br>
                    <div class="auto_wrap">
                        <p class="text-center">

                            <strong>
                                <span data-i18n>First of all, congratulations for making this exciting move! Hundreds of people from around your area have already started their journey with us.</span>
                            </strong>
                            <br/><br/>
                            <span data-i18n>...of activating your personal 'Crisis-proof’ cryptocurrency trading account...</span>
                            <br/><br/>
                            <span data-i18n>This will allow you to instantly turn your,</span>
                            <span data-visitor-currency-symbol>$</span><span class="amount-1" id="minimum-amount">250</span>
                            <span data-i18n>deposit...</span>
                            <br/><br/>
                            <span data-i18n>...into a potential massive quick fortune of</span>
                            <span class="strong_green"><span data-visitor-currency-symbol>$</span><span class="amount-2">6,451</span></span>,
                            <span class="strong_green"><span data-visitor-currency-symbol>$</span><span class="amount-3">16,565.45</span></span>
                            <span data-i18n>or even</span> <span class="strong_green"><span data-visitor-currency-symbol>$</span><span class="amount-4">107,546.30</span></span>
                            <br/><br/>
                            <span data-i18n>But before we can setup your 'special' trading account...</span>
                            <br/><br/>
                            <span data-i18n>...we need to verify your identity.</span>
                            <br/><br/>
                            <span data-i18n>Maybe you might be a little hesitant to pick up the phone...</span><br/>
                            <br/>
                            <span data-i18n>But you don’t have to worry...</span><br/>
                            <br/>
                            <span data-i18n>They won’t be like annoying telemarketers...</span><br/>
                            <br/>
                            <span data-i18n>They are NOT there to sell you anything...</span><br/>
                            <br/>
                            <span data-i18n>They are just there to verify your identity and make sure you won't abuse this automated system.</span><br/>
                            <br/>
                            <span data-i18n>So before we can setup your account...</span><br/>
                            <br/>
                            <span data-i18n>...We need make sure you qualify!</span><br/>
                            <br/>
                            <span data-i18n>This is in no way to pressure you...</span><br/>
                            <br/>
                            <span data-i18n>The choice is always yours...</span><br/>
                            <br/>
                            <span data-i18n>But you’ve stumbled upon a GOLDMINE opportunity you’ve always been searching for...</span><br/>
                            <br/>
                            <span data-i18n>And there are 100’s of others waiting to get access.</span><br/>
                            <br/>
                            <span data-i18n>So if you don’t Qualify right now...</span><br/>
                            <br/>
                            <span data-i18n>Your personal safe, secured and 100% regulated ‘Crisis-proof’ trading account...</span><br/>
                            <br/>
                            <span data-i18n>...will go to the next person in line!</span>
                            <br/><br/><br/>
                        </p>
                    </div>
                </div>
                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 second_screen ">
                    <div class="auto_wrap text-center questions_answers_wrap">
                        <br>
                        <div class="header_wrapper">
                            <h1 class="h1_question"><u><span data-i18n>To Qualify Please Answer The Following Questions:</span></u><br/>
                                <span style="font-size: 18px;"><span data-i18n>(It will only take 60 seconds)</span></span>
                            </h1>
                            <h1 class="h1_answer"><span data-i18n>Thank You For Your Answers</span></h1>
                        </div>

                        <div class="question question_1">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>Are you a government official?</span>
                                </p>
                                <div class="btn-default q_btn danger_variant wow zoomIn"><span data-i18n>YES</span></div>
                                <div class="btn-default q_btn wow zoomIn"><span data-i18n>NO</span></div>
                            </div>

                        </div>

                        <div class="question question_2">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>Are you a banker?</span>
                                </p>
                                <div class="btn-default q_btn danger_variant wow zoomIn"><span data-i18n>YES</span></div>
                                <div class="btn-default q_btn wow zoomIn"><span data-i18n>NO</span></div>
                            </div>

                        </div>

                        <div class="question question_3">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>Are you serious about changing your financial situation?</span>
                                </p>
                                <div class="btn-default q_btn wow zoomIn"><span data-i18n>YES</span></div>
                                <div class="btn-default q_btn danger_variant wow zoomIn"><span data-i18n>NO</span></div>
                            </div>

                        </div>

                        <div class="question question_4">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>Are you looking to replace your current income source?</span>
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown" style="max-width: 460px;">I
                                    <span data-i18n>don’t have any income</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown" style="max-width: 460px;">
                                    <span data-i18n>Yes</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown" style="max-width: 460px;">
                                    <span data-i18n>No, I'm only looking for extra income</span>
                                </div>
                            </div>

                        </div>

                        <div class="question question_5">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>Why are you looking for extra income?</span>
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Debt</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Bills</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Family</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Health</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Leisure</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Other</span></div>
                            </div>

                        </div>

                        <div class="question question_6">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>How much</span> <span data-visitor-currency-symbol>$</span> <span data-i18n>are you looking to earn?</span>
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-looking-1">500</span>/<span data-i18n>day</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-looking-2">1000</span>/<span data-i18n>day</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-looking-3">2500</span>/<span data-i18n>day</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-looking-4">5000</span>+ <span data-i18n>a day</span>
                                </div>
                            </div>

                        </div>

                        <div class="question question_7">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>How often do you want to withdraw your profits?</span>
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Daily</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Once a week</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Twice a week</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Once a month</span></div>
                            </div>

                        </div>

                        <div class="question question_8">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>How do you wish to withdraw your profits?</span>
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Bank account</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Credit card</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Cash/Cheque</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Bitcoin</span></div>
                            </div>

                        </div>

                        <div class="question question_9">
                            <div class="question_inner">
                                <p>
                                    Whats your preferred starting capital?
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-amount-1st">250</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-amount-2nd">500</span> - <span data-visitor-currency-symbol>$</span><span class="js-amount-3th">1000</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-amount-3th">1000</span> - <span data-visitor-currency-symbol>$</span><span class="js-amount-4th">5000</span>
                                </div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown">
                                    <span data-visitor-currency-symbol>$</span><span class="js-amount-4th">5000</span>+
                                </div>
                            </div>

                        </div>

                        <div class="question question_10">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>How do you wish to deposit?</span>
                                </p>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Wire transfer</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Creditcard</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Debitcard</span></div>
                                <div class="btn-default q_btn btn_in_list wow fadeInDown"><span data-i18n>Online banking</span></div>
                            </div>

                        </div>

                        <div class="question question_11">
                            <div class="question_inner">
                                <p>
                                    <span data-i18n>Are you aware this Cryptocurrency Investment opportunity is ONLY available right now while the markets are flooded with money?</span>
                                </p>
                                <div class="btn-default q_btn wow zoomIn"><span data-i18n>YES</span></div>
                                <div class="btn-default q_btn danger_variant wow zoomIn"><span data-i18n>NO</span></div>
                            </div>

                        </div>


                        <div class="answer_wrapper">
                            <div class="answer answer_1">
                                <i class="fas fa-check"></i>
                                <span class="bull">&bull;</span>
                                <span data-i18n>Verifying your location</span><span class="dotz"><span class="one">.</span>
                                    <span class="two">.</span><span class="three">.</span>​</span>
                            </div>
                            <div class="answer answer_2">
                                <i class="fas fa-check"></i>
                                <span class="bull">&bull;</span>
                                <span data-i18n>Checking for double entries</span><span class="dotz"><span class="one">.</span>
                                    <span class="two">.</span><span class="three">.</span>​</span>
                            </div>
                            <div class="answer answer_3">
                                <i class="fas fa-check"></i>
                                <span class="bull">&bull;</span>
                                <span data-i18n>Validating answers</span><span class="dotz"><span class="one">.</span>
                                    <span class="two">.</span><span class="three">.</span>​</span>
                            </div>
                            <div class="answer answer_4">
                                <i class="fas fa-check"></i>
                                <span class="bull">&bull;</span>
                                <span data-i18n>Creating your account</span><span class="dotz"><span class="one">.</span>
                                    <span class="two">.</span><span class="three">.</span>​</span>
                            </div>
                            <div class="spinner_wrapper">
                                <div class="lds-spinner">
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                    <div></div>
                                </div>
                            </div>
                            <div class="loading"></div>

                        </div>

                    </div>
                </div>

                <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 ty_screen d-none">
                    <h1 class="text-center">
                        <span data-i18n>CONGRATULATIONS!</span><br/>
                        <br/>
                        <span data-i18n>You Are Qualified To Access Our Trading Platform</span>
                    </h1>
                    <br>
                    <h5 class="text-center" style="color:#2a3283;">
                        <span data-i18n>Your account will be ready in</span> <span id="contdown">3</span> <span data-i18n>seconds</span>.
                    </h5>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="testisec">
    <div class="container">
        <div class="row">
            <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                <h3 class="text-center">
                    <span data-i18n>Here are some 5 star reviews from</span>
                    <img src="assets/img/trustpilotlogo.png" width="229" height="57" alt="">
                </h3>
                <ul>
                    <li>
                        <div class="authorsec">
                            <div class="testiimg"><img src="assets/img/testiimg1.png" width="64" height="68" alt=""></div>
                            <div class="testitext">
                                <p><strong><span data-i18n>Danicia</span></strong></p>
                                <img src="assets/img/star.png" width="114" height="21" alt="">
                            </div>
                        </div>
                        <p>“<span data-i18n>Well done... We have an amazing relationship with our account manager that works hard with us to achieve the set goal we have for us and our family, which is a nice passive income for the next 20 years to come... But first we are off to Paris to enjoy the profits!</span>” </p>
                    </li>
                    <li>
                        <div class="authorsec">
                            <div class="testiimg"><img src="assets/img/testiimg2.png" width="64" height="68" alt=""></div>
                            <div class="testitext">
                                <p><strong><span data-i18n>Thomas Chury</span></strong></p>
                                <img src="assets/img/star.png" width="114" height="21" alt="">
                            </div>
                        </div>
                        <p>“<span data-i18n>I am very satisfied. I am making more money than with my job. Thank you...</span>”</p>
                    </li>
                    <li>
                        <div class="authorsec">
                            <div class="testiimg"><img src="assets/img/testiimg3.png" width="64" height="68" alt=""></div>
                            <div class="testitext">
                                <p><strong><span data-i18n>Pavel Mucka</span></strong></p>
                                <img src="assets/img/star.png" width="114" height="21" alt="">
                            </div>
                        </div>
                        <p>“<span data-i18n>Currently I’ve have been... for three months and the results are more than promissing.</span>”</p>
                    </li>
                    <li>
                        <div class="authorsec">
                            <div class="testiimg"><img src="assets/img/testiimg4.png" width="64" height="68" alt=""></div>
                            <div class="testitext">
                                <p><strong><span data-i18n>Jonathan</span></strong></p>
                                <img src="assets/img/star.png" width="114" height="21" alt="">
                            </div>
                        </div>
                        <p>““<span data-i18n>I was sceptical... I got no experience in something like this.... After a couple of weeks I saw the results and I decided to move my savings into the account where I am making amazing results... Now I’m enjoying the dividends, every 2 months! I withdraw more than 5,000 euro and I have more time to trave,l and for my kids... I wan to say THANK YOU... for changing completely my way of thinking how to make money...</span>”</p>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
<?php require_once __DIR__ . "/common/intgrtn.php"; ?>
<script src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript">
    var waitIntgrtn = setInterval(function () {
        if (!window.intgrtn) {
            return false;
        }
        clearInterval(waitIntgrtn);
        window.intgrtn.events.on("get.project.details.success", function (response) {

            var allSequencesCompleted = false;
            $(function () {
                var waitIntgrtn = setInterval(function () {
                    if (!window.intgrtn) {
                        return false;
                    }
                    clearInterval(waitIntgrtn);
                    $("#bttn_play").click(function () {

                        if ($(this).is(":visible")) {
                            $(this).hide();
                            $("video").trigger('play');
                        }
                    });

                    $('.btn_1').click(function () {
                        var loadingTxt = '<i class="fas fa-circle-notch fa-spin"></i>&nbsp; Verifying your data<span class="one">.</span><span class="two">.</span><span class="three">.</span>';
                        $(this).html(loadingTxt);

                    });

                    var qCount = 1;
                    var qLimit = 11;
                    $(".question .q_btn").click(function () {

                        if (qCount == qLimit) $('.h1_question').fadeOut(400);

                        // hide question
                        $('.question_' + qCount).stop().fadeOut(400, function () {

                            qCount++;

                            $('.question_' + qCount).stop().fadeIn(400);

                            if (qCount == (qLimit + 1)) {
                                $('html,body').stop().animate({scrollTop: 0}, 'slow');
                                $('.first_screen').stop().fadeOut(400, function () {

                                    $('.h1_answer').stop().fadeIn(400);
                                    $('.answer_wrapper').stop().fadeIn(400, function () {
                                        setTimeout(function () {
                                            allSequencesCompleted = true;
                                            //startLeadSequence();
                                            startAnswerCheckSequence();
                                        }, 500);

                                    });
                                });
                            }
                        });
                    });
                }, 10);
            });

            var aLimit = 5;
            var aCount = 1;

            function startAnswerCheckSequence() {
                // show a
                $('.answer_' + aCount).fadeIn(400, function () {
                    setTimeout(function () {
                        $('.answer_' + aCount + ' .dotz').fadeOut(400, function () {
                            $('.answer_' + aCount + ' .bull').fadeOut('fast');
                            $('.answer_' + aCount + ' .fa-check').fadeIn('fast', function () {
                                aCount++;
                                if (aCount != aLimit) {
                                    // repeat
                                    startAnswerCheckSequence();
                                }
                                if (aCount == aLimit) {
                                    answerSequenceCompleted();
                                }
                            });
                        });
                    }, 2500);
                });
            }

            var FRMfactor_seconds = 2;
            var FRMfactor_foo;

            function updateSecs() {
                document.getElementById("contdown").innerHTML = FRMfactor_seconds;
                FRMfactor_seconds--;
                if (FRMfactor_seconds == -1) {
                    clearInterval(FRMfactor_foo);

                    window.location.href = "home.php" + document.location.search;
                    window.intgrtn.store("completedSurvey", true);
                }
            }

            function countdownTimer() {
                FRMfactor_foo = setInterval(function () {
                    updateSecs()
                }, 1000);
            }

            function answerSequenceCompleted() {
                $('.h1_answer').fadeOut(400);
                $('.answer_wrapper').fadeOut(400, function () {
                    $('.second_screen').hide();
                    $('.ty_screen').removeClass('d-none');
                    $('html,body').animate({scrollTop: 0}, 'slow');
                    countdownTimer();

                });
            }
        });

        var language = window.intgrtn.lookup("language");
        if (language) {
            window.intgrtn.getProjectDetails(function (response) {
                window.intgrtnI18n.translateAll(language, response.data.project.name);
            });
        }

    }, 10);
</script>
</body>

</html>
