{"id":1528,"date":"2020-07-01T19:56:39","date_gmt":"2020-07-01T19:56:39","guid":{"rendered":"https:\/\/ww2.scottw.nl\/index.php\/purchases\/"},"modified":"2020-07-01T20:06:31","modified_gmt":"2020-07-01T20:06:31","slug":"purchases","status":"publish","type":"page","link":"https:\/\/ww2.scottw.nl\/index.php\/purchases\/","title":{"rendered":"Purchases"},"content":{"rendered":"        <div class=\"w3eden\">\n        \n<div class=\"w3eden wpdm-auth-page\" id=\"wpdmloginpage\">\n    <div class=\"wpdm-auth-split\" id=\"wpdmlogin\">\n        <div class=\"wpdm-auth-panel\">\n            <!-- Left Panel - Decorative -->\n            <div class=\"wpdm-auth-left\">\n                <div class=\"wpdm-auth-grid\"><\/div>\n                <div class=\"wpdm-auth-circles\">\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                    <div class=\"wpdm-auth-circle\"><\/div>\n                <\/div>\n\n                <div class=\"wpdm-auth-brand\">\n                    <a href=\"https:\/\/ww2.scottw.nl\">\n                                            <img decoding=\"async\" src=\"https:\/\/i0.wp.com\/ww2.scottw.nl\/wp-content\/uploads\/2020\/06\/cropped-scottw-1.png?fit=512%2C512&amp;ssl=1\" alt=\"Scottw.nl\" \/>\n                                        <span>Scottw.nl<\/span>\n                    <\/a>\n                <\/div>\n\n                <div class=\"wpdm-auth-welcome\">\n                    <div class=\"wpdm-auth-welcome-sub\">Leuk om je weer te zien<\/div>\n                    <div class=\"wpdm-auth-welcome-title\">WELKOM TERUG<\/div>\n                    <div class=\"wpdm-auth-welcome-line\"><\/div>\n                    <div class=\"wpdm-auth-welcome-text\">\n                        Aanmelden bij je account, je downloads beheren en alle functies verkennen die voor je beschikbaar zijn.                    <\/div>\n                <\/div>\n            <\/div>\n\n            <!-- Right Panel - Form -->\n            <div class=\"wpdm-auth-right\">\n\n\n                <div class=\"wpdm-auth-form-header\">\n                    <h1 class=\"wpdm-auth-form-title\">Login account<\/h1>\n                    <p class=\"wpdm-auth-form-desc\">Voer je gegevens in om naar je account te gaan en verder te gaan waar je was gebleven.<\/p>\n                <\/div>\n                                <form name=\"loginform\" id=\"loginform\" action=\"\" method=\"post\">\n                    <input type=\"hidden\" name=\"permalink\" value=\"https:\/\/ww2.scottw.nl\/index.php\/purchases\/\" \/>\n\n                    <!-- Alerts -->\n                    <div id=\"__signin_msg\">\n                                            <\/div>\n\n                    \n                    <!-- Email -->\n                    <div class=\"wpdm-auth-field\">\n                        <div class=\"wpdm-auth-input-wrap\">\n                            <input type=\"text\" name=\"wpdm_login[log]\" id=\"user_login\" class=\"wpdm-auth-input\" required placeholder=\"E-mail ID\" autocomplete=\"username\" \/>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Password -->\n                    <div class=\"wpdm-auth-field\">\n                        <div class=\"wpdm-auth-input-wrap\">\n                            <input type=\"password\" name=\"wpdm_login[pwd]\" id=\"password\" class=\"wpdm-auth-input has-toggle\" required placeholder=\"Wachtwoord\" autocomplete=\"current-password\" \/>\n                            <button type=\"button\" class=\"wpdm-auth-pwd-toggle\" onclick=\"wpdmTogglePwd()\" aria-label=\"Toggle password visibility\">\n                                <svg id=\"wpdm-eye\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\"\/><circle cx=\"12\" cy=\"12\" r=\"3\"\/><\/svg>\n                                <svg id=\"wpdm-eye-off\" style=\"display:none\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24\"\/><line x1=\"1\" y1=\"1\" x2=\"23\" y2=\"23\"\/><\/svg>\n                            <\/button>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Hidden hash -->\n                                        <input type=\"hidden\" name=\"__phash\" id=\"__phash\" value=\"O2WgBetLMSdJvU_mpZhlnmugRq44IALAEVy7CQyVeZs9iHs2lO8BRIgoG2Xpaw2rP_HdI59Z93m8fxJN19yIJAkhNPckO649Cj6NCrjg_uOXKS7huA2wTJNyoU8_pLTDeroT8wFG0sCcMNDyGmVLNpCZ8KAX1CYihDw81dq357y-00TupWp1ALxnvD2_D_EEg2XbEaQVFp0t8w5zxh5Yu_yr5Lu2dTpcFlz7dmkjVne8\" \/>\n\n                    \n                                        \n                    <!-- Remember & Forgot -->\n                    <div class=\"wpdm-auth-meta\">\n                        <label class=\"wpdm-auth-remember\">\n                            <input type=\"checkbox\" name=\"rememberme\" id=\"rememberme\" value=\"forever\" \/>\n                            <span class=\"wpdm-auth-check\">\n                                <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\"><polyline points=\"20 6 9 17 4 12\"\/><\/svg>\n                            <\/span>\n                            <span>Laat me ingelogd blijven<\/span>\n                        <\/label>\n                        <a href=\"https:\/\/ww2.scottw.nl\/wp-login.php?action=lostpassword\" class=\"wpdm-auth-forgot\">Wachtwoord vergeten?<\/a>\n                    <\/div>\n\n                    <!-- Submit -->\n                    <button type=\"submit\" name=\"wp-submit\" id=\"loginform-submit\" class=\"wpdm-auth-btn\">\n                        <span>Login<\/span>\n                    <\/button>\n\n                    <!-- Register Link -->\n                                            <div class=\"wpdm-auth-link\">\n                            Geen account?                            <a href=\"0\">Aanmelden<\/a>\n                        <\/div>\n                    \n                    <input type=\"hidden\" name=\"redirect_to\" value=\"\/index.php\/wp-json\/wp\/v2\/pages\/1528\" \/>\n                <\/form>\n\n                <!-- Social Login -->\n                \n                            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script data-jetpack-boost=\"ignore\">\nfunction wpdmTogglePwd() {\n    var pwd = document.getElementById('password');\n    var eye = document.getElementById('wpdm-eye');\n    var eyeOff = document.getElementById('wpdm-eye-off');\n    if (pwd.type === 'password') {\n        pwd.type = 'text';\n        eye.style.display = 'none';\n        eyeOff.style.display = 'block';\n    } else {\n        pwd.type = 'password';\n        eye.style.display = 'block';\n        eyeOff.style.display = 'none';\n    }\n}\n\njQuery(function ($) {\n        var $btn = $('#loginform-submit');\n    var btnHtml = $btn.html();\n\n    $('#loginform').submit(function () {\n        $btn.html('<span class=\"wpdm-auth-spinner\"><\/span><span>Aan het aanmelden...<\/span>').attr('disabled', 'disabled');\n\n        $(this).ajaxSubmit({\n            error: function(error) {\n                if(typeof error.responseJSON !== 'undefined') {\n                    showErr(error.responseJSON.messages || error.responseJSON.message);\n                    $btn.html(btnHtml).removeAttr('disabled');\n                                    } else {\n                    setTimeout(function () {\n                        location.href = \"\/index.php\/wp-json\/wp\/v2\/pages\/1528\";\n                    }, 1000);\n                }\n            },\n            success: async function (res) {\n                if (!res.success) {\n                    showErr(res.message);\n                    $btn.html(btnHtml).removeAttr('disabled');\n                                    } else {\n                    let proceed = await WPDM.doAction(\"wpdm_user_login\", res);\n                    $btn.html('<svg viewBox=\"0 0 24 24\" width=\"16\" height=\"16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"\/><polyline points=\"22 4 12 14.01 9 11.01\"\/><\/svg><span>' + res.message + '<\/span>');\n                    setTimeout(function () {\n                        location.href = \"\/index.php\/wp-json\/wp\/v2\/pages\/1528\";\n                    }, 1000);\n                }\n            }\n        });\n        return false;\n    });\n    \n    function showErr(msg) {\n        $('#loginform .wpdm-auth-alert.error').remove();\n        var html = '<div class=\"wpdm-auth-alert error\">' +\n            '<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"\/><line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"\/><line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"\/><\/svg>' +\n            '<span>' + msg + '<\/span><\/div>';\n        $('#loginform').prepend(html);\n    }\n\n    $('body').on('click', '.wpdm-auth-alert.error', function(){\n        $(this).slideUp(150, function() { $(this).remove(); });\n    });\n});\n<\/script>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"_pvb_checkbox_block_on_post":false,"_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"class_list":["post-1528","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/pages\/1528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/comments?post=1528"}],"version-history":[{"count":1,"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/pages\/1528\/revisions"}],"predecessor-version":[{"id":1531,"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/pages\/1528\/revisions\/1531"}],"wp:attachment":[{"href":"https:\/\/ww2.scottw.nl\/index.php\/wp-json\/wp\/v2\/media?parent=1528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}