{"id":447,"date":"2023-11-26T07:01:11","date_gmt":"2023-11-26T07:01:11","guid":{"rendered":"http:\/\/myiptvplayer.com\/login\/"},"modified":"2023-11-26T07:01:11","modified_gmt":"2023-11-26T07:01:11","slug":"login","status":"publish","type":"page","link":"https:\/\/yournextgenplay.com\/sv\/login\/","title":{"rendered":"Logga in"},"content":{"rendered":"<div id=\"ilp-wrap\"><div class=\"ilp-box\">\n\n    <h1 class=\"ilp-title\">Member Login<\/h1>\n    <p class=\"ilp-sub\">Access your support area and account<\/p>\n\n    <!-- Tabs -->\n    <div class=\"ilp-tabs\">\n        <button class=\"ilp-tab active\" id=\"ilp-tab-pw\"   onclick=\"ilpTab('pw')\">Password<\/button>\n        <button class=\"ilp-tab\"        id=\"ilp-tab-magic\" onclick=\"ilpTab('magic')\">Email code<\/button>\n    <\/div>\n\n    <!-- \u2500 Tab: Password \u2500 -->\n    <div id=\"ilp-pane-pw\">\n        \n        <form method=\"post\" action=\"\" autocomplete=\"on\">\n            <input type=\"hidden\" id=\"ilp_nonce\" name=\"ilp_nonce\" value=\"e089784164\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/sv\/wp-json\/wp\/v2\/pages\/447\" \/>            \n            <div class=\"ilp-field\">\n                <label class=\"ilp-label\" for=\"ilp-user\">Username or Email<\/label>\n                <input class=\"ilp-input\" type=\"text\" id=\"ilp-user\" name=\"log\"\n                       autocomplete=\"username\" placeholder=\"your@email.com\" required\n                       value=\"\">\n            <\/div>\n\n            <div class=\"ilp-field\">\n                <label class=\"ilp-label\" for=\"ilp-pass\">Password<\/label>\n                <div class=\"ilp-pass-wrap\">\n                    <input class=\"ilp-input\" type=\"password\" id=\"ilp-pass\" name=\"pwd\"\n                           autocomplete=\"current-password\" placeholder=\"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022\" required>\n                    <button type=\"button\" class=\"ilp-eye\" onclick=\"ilpToggleEye('ilp-pass',this)\" aria-label=\"Show password\">\n                        <svg class=\"ilp-eye-open\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" 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 class=\"ilp-eye-closed\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" style=\"display:none\"><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            <div class=\"ilp-row\">\n                <label class=\"ilp-remember\">\n                    <input type=\"checkbox\" name=\"rememberme\" value=\"1\"\n                           >\n                    <span class=\"ilp-check\"><\/span>\n                    Remember me for 30 days\n                <\/label>\n                <a href=\"https:\/\/yournextgenplay.com\/wp-login.php?action=lostpassword\" class=\"ilp-forgot\">Forgot password?<\/a>\n            <\/div>\n\n            <button type=\"submit\" name=\"ilp_submit\" value=\"1\" class=\"ilp-submit\">Log In<\/button>\n        <\/form>\n    <\/div>\n\n    <!-- \u2500 Tab: Email code \u2500 -->\n    <div id=\"ilp-pane-magic\" style=\"display:none\">\n\n        <!-- Step 1: Enter email -->\n        <div id=\"ilp-magic-step1\">\n            <p class=\"ilp-magic-info\">No password needed \u2014 we'll send a 6-digit code to your email.<\/p>\n            <div id=\"ilp-magic-err1\" class=\"ilp-error\" style=\"display:none\"><\/div>\n            <div class=\"ilp-field\">\n                <label class=\"ilp-label\" for=\"ilp-magic-email\">Email Address<\/label>\n                <input class=\"ilp-input\" type=\"email\" id=\"ilp-magic-email\" placeholder=\"your@email.com\" autocomplete=\"email\">\n            <\/div>\n            <button class=\"ilp-submit\" id=\"ilp-magic-btn1\" onclick=\"ilpMagicSend()\">\n                <span id=\"ilp-magic-btn1-txt\">Send Code \u2192<\/span>\n                <span id=\"ilp-magic-btn1-spin\" style=\"display:none\">Sending...<\/span>\n            <\/button>\n        <\/div>\n\n        <!-- Step 2: Enter code -->\n        <div id=\"ilp-magic-step2\" style=\"display:none\">\n            <p class=\"ilp-magic-info\" id=\"ilp-magic-sent-to\">We sent a code to your email.<\/p>\n            <div id=\"ilp-magic-err2\" class=\"ilp-error\" style=\"display:none\"><\/div>\n            <div class=\"ilp-field\">\n                <label class=\"ilp-label\" for=\"ilp-magic-code\">6-digit Code<\/label>\n                <input class=\"ilp-input\" type=\"text\" id=\"ilp-magic-code\" placeholder=\"123456\"\n                       maxlength=\"6\" inputmode=\"numeric\" pattern=\"[0-9]*\"\n                       autocomplete=\"one-time-code\"\n                       style=\"font-size:1.5rem;text-align:center;letter-spacing:0.3em\">\n            <\/div>\n            <button class=\"ilp-submit\" id=\"ilp-magic-btn2\" onclick=\"ilpMagicVerify()\">\n                <span id=\"ilp-magic-btn2-txt\">Log In \u2192<\/span>\n                <span id=\"ilp-magic-btn2-spin\" style=\"display:none\">Logging in...<\/span>\n            <\/button>\n            <p style=\"text-align:center;margin-top:14px;font-size:13px;color:#555\">\n                <a href=\"#\" onclick=\"ilpMagicBack();return false\" style=\"color:#888\">\u2190 Change email<\/a>\n            <\/p>\n        <\/div>\n\n    <\/div>\n\n    <p class=\"ilp-footer-text\">Not a member yet?\n        <a href=\"https:\/\/yournextgenplay.com\/sv\/trial-register\">Start free trial \u2192<\/a>\n    <\/p>\n\n<\/div><\/div>\n\n<style>\n\/* LJUST TEMA \u2014 matchar nya yournextgenplay-designen (m\u00f6rka prim\u00e4rknappar, vita kort) *\/\n#ilp-wrap{display:flex;justify-content:center;padding:40px 20px 80px;font-family:'Barlow',sans-serif}\n.ilp-box{width:100%;max-width:420px;background:#ffffff !important;border:1px solid #e6e6e6;border-radius:16px;padding:40px 36px 36px;text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.08)}\n@media(max-width:480px){.ilp-box{padding:28px 20px}}\n.ilp-avatar{font-size:48px;margin-bottom:12px}\n.ilp-title{font-family:'Barlow Condensed',sans-serif;font-size:30px;font-weight:700;color:#141414 !important;margin:0 0 6px}\n.ilp-sub{font-size:14px;color:#777;margin:0 0 20px}\n\/* Tabs (L\u00f6senord \/ E-postkod) *\/\n.ilp-tabs{display:flex;background:#f1f1f3;border:1px solid #e6e6e6;border-radius:8px;padding:3px;margin-bottom:24px;gap:3px}\n.ilp-tab{flex:1;background:none;border:none;border-radius:6px;color:#555 !important;font-family:'Barlow',sans-serif;font-size:14px;font-weight:600;padding:9px;cursor:pointer;transition:.2s}\n.ilp-tab.active{background:#5a4fcf !important;color:#fff !important}\n.ilp-tab:not(.active):hover{color:#141414 !important}\n\/* Form *\/\n.ilp-error{background:#fdecea;border:1px solid #e74c3c;border-radius:8px;color:#c0392b;font-size:13px;padding:12px 16px;margin-bottom:20px;text-align:left}\n.ilp-field{margin-bottom:18px;text-align:left}\n.ilp-label{display:block;font-size:12px;font-weight:600;color:#555;letter-spacing:.06em;text-transform:uppercase;margin-bottom:7px}\n.ilp-input{width:100%;background:#fff !important;border:1px solid #cccccc;border-radius:8px;color:#141414 !important;font-family:'Barlow',sans-serif;font-size:15px;padding:12px 14px;box-sizing:border-box;transition:border-color .2s;outline:none}\n.ilp-input:focus{border-color:#5a4fcf}\n.ilp-input::placeholder{color:#aaa}\n.ilp-pass-wrap{position:relative}\n.ilp-pass-wrap .ilp-input{padding-right:46px}\n.ilp-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;color:#555;cursor:pointer;padding:4px;display:flex;align-items:center;opacity:.8}\n.ilp-eye:hover{opacity:1}\n.ilp-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}\n.ilp-remember{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;color:#555;user-select:none}\n.ilp-remember input[type=checkbox]{display:none}\n.ilp-check{width:18px;height:18px;border:1px solid #bbb;border-radius:4px;flex-shrink:0;transition:.2s;display:flex;align-items:center;justify-content:center;background:#fff}\n.ilp-remember input:checked~.ilp-check{background:#5a4fcf;border-color:#5a4fcf}\n.ilp-remember input:checked~.ilp-check::after{content:'\u2713';color:#fff;font-size:12px;font-weight:700}\n.ilp-forgot{font-size:13px;color:#777;text-decoration:none;transition:color .2s}\n.ilp-forgot:hover{color:#5a4fcf}\n.ilp-submit{width:100%;background:#5a4fcf !important;color:#fff !important;border:none;border-radius:8px;font-family:'Barlow',sans-serif;font-size:16px;font-weight:700;padding:14px;cursor:pointer;transition:.2s;margin-top:4px}\n.ilp-submit:hover{background:#4840b5 !important}\n.ilp-submit:disabled{background:#999 !important;cursor:default}\n.ilp-btn{display:inline-block;background:#5a4fcf !important;color:#fff !important;font-weight:700;font-size:15px;padding:13px 32px;border-radius:8px;text-decoration:none !important;margin:8px 4px 0;transition:.2s}\n.ilp-btn:hover{background:#4840b5 !important}\n.ilp-btn-ghost{display:inline-block;border:1px solid #5a4fcf;color:#5a4fcf !important;font-size:14px;padding:11px 24px;border-radius:8px;text-decoration:none !important;margin:8px 4px 0;transition:.2s}\n.ilp-btn-ghost:hover{background:#5a4fcf !important;border-color:#5a4fcf;color:#fff !important}\n.ilp-footer-text{margin:24px 0 0;font-size:13px;color:#777}\n.ilp-footer-text a{color:#5a4fcf;text-decoration:none;font-weight:700}\n.ilp-magic-info{font-size:13px;color:#555;text-align:left;margin:0 0 20px;line-height:1.6}\n<\/style>\n\n<script>\nvar _ilpMagicEmail = '';\nvar _ilpAjaxUrl    = \"https:\\\/\\\/yournextgenplay.com\\\/wp-admin\\\/admin-ajax.php\";\nvar _ilpMagicNonce = \"3a13af5984\";\n\nfunction ilpTab(t) {\n    document.getElementById('ilp-pane-pw').style.display    = (t === 'pw')    ? '' : 'none';\n    document.getElementById('ilp-pane-magic').style.display = (t === 'magic') ? '' : 'none';\n    document.getElementById('ilp-tab-pw').classList.toggle('active',    t === 'pw');\n    document.getElementById('ilp-tab-magic').classList.toggle('active', t === 'magic');\n}\n\nfunction ilpToggleEye(id, btn) {\n    var inp = document.getElementById(id);\n    var show = inp.type === 'password';\n    inp.type = show ? 'text' : 'password';\n    btn.querySelector('.ilp-eye-open').style.display  = show ? 'none' : '';\n    btn.querySelector('.ilp-eye-closed').style.display = show ? '' : 'none';\n}\n\nfunction ilpMagicSend() {\n    var email = document.getElementById('ilp-magic-email').value.trim();\n    var err   = document.getElementById('ilp-magic-err1');\n    err.style.display = 'none';\n    if (!email || !email.includes('@')) { err.innerHTML = 'Please enter a valid email address.'; err.style.display='block'; return; }\n    _ilpMagicEmail = email;\n    var btn = document.getElementById('ilp-magic-btn1');\n    btn.disabled = true;\n    document.getElementById('ilp-magic-btn1-txt').style.display  = 'none';\n    document.getElementById('ilp-magic-btn1-spin').style.display = 'inline';\n    fetch(_ilpAjaxUrl, {\n        method: 'POST',\n        headers: {'Content-Type':'application\/x-www-form-urlencoded'},\n        body: 'action=ilp_send_magic_code&nonce=' + encodeURIComponent(_ilpMagicNonce) + '&email=' + encodeURIComponent(email)\n    }).then(r=>r.json()).then(d=>{\n        btn.disabled = false;\n        document.getElementById('ilp-magic-btn1-txt').style.display  = 'inline';\n        document.getElementById('ilp-magic-btn1-spin').style.display = 'none';\n        if (d.success) {\n            document.getElementById('ilp-magic-sent-to').textContent = 'We sent a 6-digit code to ' + email;\n            document.getElementById('ilp-magic-step1').style.display = 'none';\n            document.getElementById('ilp-magic-step2').style.display = '';\n            document.getElementById('ilp-magic-code').focus();\n        } else {\n            err.innerHTML = d.data || 'Something went wrong.';\n            err.style.display = 'block';\n        }\n    }).catch(()=>{\n        btn.disabled = false;\n        document.getElementById('ilp-magic-btn1-txt').style.display  = 'inline';\n        document.getElementById('ilp-magic-btn1-spin').style.display = 'none';\n        err.innerHTML = 'Network error. Please try again.';\n        err.style.display = 'block';\n    });\n}\n\nfunction ilpMagicVerify() {\n    var code = document.getElementById('ilp-magic-code').value.trim();\n    var err  = document.getElementById('ilp-magic-err2');\n    err.style.display = 'none';\n    if (code.length !== 6 || !\/^\\d+$\/.test(code)) { err.innerHTML = 'Enter the 6-digit code from your email.'; err.style.display='block'; return; }\n    var btn = document.getElementById('ilp-magic-btn2');\n    btn.disabled = true;\n    document.getElementById('ilp-magic-btn2-txt').style.display  = 'none';\n    document.getElementById('ilp-magic-btn2-spin').style.display = 'inline';\n    fetch(_ilpAjaxUrl, {\n        method: 'POST',\n        headers: {'Content-Type':'application\/x-www-form-urlencoded'},\n        body: 'action=ilp_verify_magic_code&nonce=' + encodeURIComponent(_ilpMagicNonce) + '&email=' + encodeURIComponent(_ilpMagicEmail) + '&code=' + encodeURIComponent(code)\n    }).then(r=>r.json()).then(d=>{\n        btn.disabled = false;\n        document.getElementById('ilp-magic-btn2-txt').style.display  = 'inline';\n        document.getElementById('ilp-magic-btn2-spin').style.display = 'none';\n        if (d.success) {\n            window.location.href = d.data.redirect;\n        } else {\n            err.innerHTML = d.data || 'Something went wrong.';\n            err.style.display = 'block';\n        }\n    }).catch(()=>{\n        btn.disabled = false;\n        document.getElementById('ilp-magic-btn2-txt').style.display  = 'inline';\n        document.getElementById('ilp-magic-btn2-spin').style.display = 'none';\n        err.innerHTML = 'Network error. Please try again.';\n        err.style.display = 'block';\n    });\n}\n\nfunction ilpMagicBack() {\n    document.getElementById('ilp-magic-step2').style.display = 'none';\n    document.getElementById('ilp-magic-step1').style.display = '';\n    document.getElementById('ilp-magic-err2').style.display  = 'none';\n}\n\n\/\/ Enter-tangent\ndocument.addEventListener('keydown', function(e) {\n    if (e.key !== 'Enter') return;\n    if (document.getElementById('ilp-pane-magic').style.display === 'none') return;\n    if (document.getElementById('ilp-magic-step1').style.display !== 'none') ilpMagicSend();\n    else ilpMagicVerify();\n});\n<\/script>\n    \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":{"footnotes":""},"class_list":["post-447","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/pages\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/comments?post=447"}],"version-history":[{"count":0,"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/pages\/447\/revisions"}],"wp:attachment":[{"href":"https:\/\/yournextgenplay.com\/sv\/wp-json\/wp\/v2\/media?parent=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}