{"id":130,"date":"2025-02-04T06:14:31","date_gmt":"2025-02-04T06:14:31","guid":{"rendered":"https:\/\/adamstone.fun\/?page_id=130"},"modified":"2026-05-07T20:26:31","modified_gmt":"2026-05-07T20:26:31","slug":"wordquizpool","status":"publish","type":"page","link":"https:\/\/adamstone.fun\/","title":{"rendered":"TensuNet Entry"},"content":{"rendered":"<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"695\" src=\"https:\/\/adamstone.fun\/wp-content\/uploads\/2025\/06\/2749eba0-92e8-480c-ad7b-a1def1963bb9.png\" alt=\"\" class=\"wp-image-471\" style=\"width:328px;height:auto\" srcset=\"https:\/\/adamstone.fun\/wp-content\/uploads\/2025\/06\/2749eba0-92e8-480c-ad7b-a1def1963bb9.png 950w, https:\/\/adamstone.fun\/wp-content\/uploads\/2025\/06\/2749eba0-92e8-480c-ad7b-a1def1963bb9-300x219.png 300w, https:\/\/adamstone.fun\/wp-content\/uploads\/2025\/06\/2749eba0-92e8-480c-ad7b-a1def1963bb9-768x562.png 768w, https:\/\/adamstone.fun\/wp-content\/uploads\/2025\/06\/2749eba0-92e8-480c-ad7b-a1def1963bb9-600x439.png 600w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/figure><head>\n    <!-- \"https:\/\/www.adamstone.fun\/2025_12_06_TensuNet\/login_script_copy_paste_into_wordpress_html_block.html\";   -->    \n    <!-- form.action = \"https:\/\/www.adamstone.fun\/2025_06_17_TensuNet\/Sign_in_to_Tensunet_2025_07_25.php\"; -->\n    \n    <style>\n        #cookieDisplay\n        {\n            font-size: 24px;\n            font-weight: bold;\n            font-family: Arial, sans-serif;\n            text-align: center;\n        }\n        button, input\n        {\n            font-size: 18px;\n            padding: 12px 24px;\n            margin-top: 10px;\n            border-radius: 5px;\n        }\n        button \n        {\n            background-color: green;\n            color: white;\n            border: none;\n            cursor: pointer;\n\n\t\twhite-space: pre-line;\n        }\n\n\n\n\n        button:hover {\n            background-color: darkgreen;\n        }\n        input\n        {\n            width: 100%;\n            margin-bottom: 10px;\n        }\n        #authButton\n        {\n            display: flex;\n            flex-direction: column;\n            align-items: center;\n            gap: 15px;\n            margin-top: 20px;\n        }\n        \n        .forgot-button\n        {\n            background-color: green;\n        }\n        .forgot-button:hover\n        {\n            background-color: darkgreen;\n        }\n    <\/style>\n<\/head>\n\n<body>\n    <div id=\"cookieDisplay\"><\/div>\n    <div id=\"authButton\"><\/div>\n\n    <script>\n        function getCookie(name) \n        {\n            let nameEQ = name + \"=\";\n            let ca = document.cookie.split(';');\n            for (let i = 0; i < ca.length; i++)\n            {\n                let c = ca[i].trim();\n                if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length);\n            }\n            return null;\n        }\n\n        let username = getCookie('tensunet_name');        \n        let status = getCookie('tensunet_status');        \n        console.log(status);        \n        let displayElement = document.getElementById('cookieDisplay');        \n        let buttonContainer = document.getElementById('authButton');\n\n        if (username) \n        {\n        \tdisplayElement.innerHTML = 'Hello <span style=\"color: yellow;\">' + username + '<\/span>';\n            let Dashboard_Button = document.createElement(\"button\");\n            Dashboard_Button.textContent = \"Dashboard\";\n            Dashboard_Button.onclick = function ()\n            {\n                window.location.href = \"https:\/\/www.adamstone.fun\/2025_12_06_TensuNet\/dashboard_gate_2025_01_16.php\";\n            };\n            buttonContainer.appendChild(Dashboard_Button);\n\n            let logoutButton = document.createElement(\"button\");\n            logoutButton.textContent = \"Sign out\";\n            logoutButton.onclick = function () \n            {\n                window.location.href = \"https:\/\/www.adamstone.fun\/2025_06_17_TensuNet\/Sign_out_2025_07_25.php\";\n            };\n            buttonContainer.appendChild(logoutButton);                        \n        }\n        else\n        {\n            displayElement.textContent = 'Sign in.';\n\n            let usernameInput = document.createElement(\"input\");\n            usernameInput.type = \"text\";\n            usernameInput.placeholder = \"Username\";\n            usernameInput.name = \"username\";\n\n            let passwordInput = document.createElement(\"input\");\n            passwordInput.type = \"password\";\n            passwordInput.placeholder = \"Password\";\n            passwordInput.name = \"password\";\n\n            let form = document.createElement(\"form\");\n            form.action = \"https:\/\/www.adamstone.fun\/2025_06_17_TensuNet\/Sign_in_to_Tensunet_2025_07_25.php\";\n            form.method = \"POST\";\n\n            form.appendChild(usernameInput);\n            form.appendChild(passwordInput);\n\n            let submitButton = document.createElement(\"button\");\n            submitButton.type = \"submit\";\n\n            submitButton.textContent = \"ok\";\n            \n            form.appendChild(submitButton);\n\n            let forgotButton = document.createElement(\"button\");\n            forgotButton.type = \"button\";\n\n            forgotButton.textContent = \"Forgot Username or Password?\\n\u30e6\u30fc\u30b6\u30fc\u540d\u307e\u305f\u306f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5fd8\u308c\u307e\u3057\u305f\u304b\uff1f\";\n            \n            forgotButton.className = \"forgot-button\";\n            forgotButton.onclick = function ()\n            {\n                window.location.href = \"https:\/\/www.adamstone.fun\/2025_01_23_WQP_Website\/SendPassword_PrepareUI_2025_06_16.php\";\n            };\n            form.appendChild(forgotButton);\n\t\tform.style.display = \"flex\";\n\t\tform.style.flexDirection = \"column\";\n\t\tform.style.gap = \"10px\";\n\t\tform.style.alignItems = \"center\";\n        buttonContainer.appendChild(form);\n        }\n    <\/script>\n    \n<\/body><div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-a89b3969 wp-block-buttons-is-layout-flex\"><div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/adamstone.fun\/index.php\/about-tensunet\/\">More<\/a><\/div><\/div><p><\/p>","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-130","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/pages\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/comments?post=130"}],"version-history":[{"count":140,"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/pages\/130\/revisions"}],"predecessor-version":[{"id":1034,"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/pages\/130\/revisions\/1034"}],"wp:attachment":[{"href":"https:\/\/adamstone.fun\/index.php\/wp-json\/wp\/v2\/media?parent=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}