
{"id":10,"date":"2026-07-21T08:59:59","date_gmt":"2026-07-21T08:59:59","guid":{"rendered":"http:\/\/localhost\/wp\/?page_id=10"},"modified":"2026-10-19T00:05:28","modified_gmt":"2026-10-18T17:05:28","slug":"regis","status":"publish","type":"page","link":"https:\/\/thaigameking.com\/bdo\/regis\/","title":{"rendered":"register"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-container-core-group-is-layout-8489558b wp-block-group-is-layout-constrained\" style=\"margin-top:0;margin-bottom:0\">\n<p class=\"has-text-align-center has-medium-font-size wp-block-paragraph\" style=\"font-style:normal;font-weight:500\">\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01<\/p>\n\n\n<!DOCTYPE html>\n<html lang=\"th\">\n<head>\n    <meta charset=\"UTF-8\"> \n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"> \n    <title>\u0e25\u0e07\u0e17\u0e30\u0e40\u0e1a\u0e35\u0e22\u0e19 BDO-KINGserver<\/title> \n    <style>\n        body {\n            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; \n            background-color: #f4f7f6; \n            display: flex; \n            justify-content: center; \n            align-items: center; \n            height: 100vh; \n            margin: 0; \n        }\n        .register-container {\n            background-color: #ffffff; \n            padding: 30px; \n            border-radius: 10px; \n            box-shadow: 0 4px 8px rgba(0,0,0,0.1); \n            width: 100%; \n            max-width: 400px; \n        }\n        h2 { text-align: center; margin-bottom: 24px; color: #333; } \n        .form-group { margin-bottom: 16px; } \n        .form-group label { display: block; margin-bottom: 6px; color: #666; font-weight: 600; } \n        .form-group input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-size: 14px; } \n        .form-group input:focus { border-color: #4CAF50; outline: none; } \n        \n        .captcha-container { display: flex; align-items: center; margin-bottom: 16px; } \n        .captcha-box {\n            background-color: #e0e0e0; letter-spacing: 5px; font-weight: bold; font-size: 16px; padding: 8px 15px; border-radius: 6px; margin-right: 15px; user-select: none; color: #333; \n            background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%); background-size: 10px 10px; white-space: nowrap; display: inline-block; \n        }\n\n        .btn-submit { width: 100%; padding: 12px; background-color: #4CAF50; color: white; border: none; border-radius: 6px; font-size: 16px; cursor: pointer; font-weight: bold; transition: background-color 0.3s; } \n        .btn-submit:hover { background-color: #45a049; } \n\n        \/* \u0e21\u0e48\u0e32\u0e19\u0e14\u0e33\u0e41\u0e25\u0e30\u0e1b\u0e49\u0e32\u0e22\u0e1b\u0e23\u0e30\u0e01\u0e32\u0e28\u0e41\u0e1a\u0e1a\u0e08\u0e31\u0e14\u0e01\u0e36\u0e48\u0e07\u0e01\u0e25\u0e32\u0e07 100% \u0e2a\u0e27\u0e22\u0e07\u0e32\u0e21 *\/\n        .custom-modal-overlay {\n            display: none; position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0; \n            width: 100% !important; height: 100% !important; background: rgba(0, 0, 0, 0.6); \n            justify-content: center; align-items: center; z-index: 9999999; \n        }\n        .custom-modal { background: white; padding: 30px; border-radius: 12px; width: 90%; max-width: 400px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.3); display: inline-block; } \n        .custom-modal h3 { margin-top: 0; font-size: 1.8rem; text-align: center !important; display: block; width: 100%; } \n        .custom-modal p { font-size: 1.3rem; color: #555; margin: 15px 0 25px 0; text-align: center !important; } \n        .custom-modal button { padding: 10px 30px; font-size: 1.2rem; font-weight: bold; border: none; border-radius: 6px; cursor: pointer; color: white; } \n        .btn-modal-success { background-color: #28a745; } \n        .btn-modal-error { background-color: #dc3545; } \n    <\/style>\n<\/head>\n<body>\n\n<div class=\"register-container\">\n  \n    <form id=\"registerForm\">\n        <!-- \u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23\u0e2a\u0e48\u0e07\u0e40\u0e1a\u0e37\u0e49\u0e2d\u0e07\u0e2b\u0e25\u0e31\u0e07\u0e2b\u0e25\u0e31\u0e01 -->\n        <input type=\"hidden\" id=\"kingweb\" name=\"kingweb\" value=\"1\"> \n\n        <!-- \ud83d\udfe2 \u0e41\u0e17\u0e47\u0e01\u0e40\u0e01\u0e47\u0e1a\u0e04\u0e48\u0e32 IP Address \u0e02\u0e2d\u0e07\u0e1c\u0e39\u0e49\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e41\u0e1a\u0e1a\u0e0b\u0e48\u0e2d\u0e19 \u0e42\u0e14\u0e22\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e0a\u0e37\u0e48\u0e2d\u0e1f\u0e34\u0e25\u0e14\u0e4c\u0e40\u0e19\u0e21\u0e27\u0e48\u0e32 ip -->\n        <input type=\"hidden\" id=\"user_ip\" name=\"pubip\" value=\"::1\">\n\n        <div class=\"form-group\">\n            <label for=\"username\">Username<\/label>\n            <input type=\"text\" id=\"username\" name=\"username\" placeholder=\"\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07 4-25 \u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\" required> \n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"password\">Password<\/label>\n            <input type=\"password\" id=\"password\" name=\"password\" placeholder=\"\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07 4-25 \u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\" required> \n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"repassword\">Confirm Password<\/label>\n            <input type=\"password\" id=\"repassword\" name=\"repassword\" placeholder=\"\u0e1e\u0e32\u0e2a\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e14\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07\" required> \n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"email\">\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48 Email \u0e2b\u0e23\u0e37\u0e2d Facebook \u0e2b\u0e23\u0e37\u0e2d Line \u0e17\u0e35\u0e48\u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d\u0e44\u0e14\u0e49<\/label> \n            <input type=\"text\" id=\"email\" name=\"email\" placeholder=\"\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e33\u0e04\u0e31\u0e0d\" required> \n        <\/div>\n        <div class=\"form-group\">\n            <label for=\"phone\">\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c<\/label> \n            <input type=\"tel\" id=\"phone\" name=\"phone\" placeholder=\"\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e23\u0e2b\u0e31\u0e2a\u0e1e\u0e32\u0e2a\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e14\" required> \n        <\/div>\n\n        <div class=\"form-group\">\n            <label for=\"captcha\">\u0e15\u0e31\u0e27\u0e40\u0e25\u0e02\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e15\u0e31\u0e27\u0e15\u0e19<\/label> \n            <div class=\"captcha-container\">\n                <div class=\"captcha-box\">9685<\/div> \n                <input type=\"text\" id=\"captcha\" name=\"captcha\" placeholder=\"\u0e01\u0e23\u0e2d\u0e01\u0e15\u0e31\u0e27\u0e40\u0e25\u0e02\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e47\u0e19\" required> \n            <\/div>\n        <\/div>\n\n        <input type=\"hidden\" id=\"correctCaptcha\" value=\"9685\"> \n\n        <button type=\"submit\" class=\"btn-submit\">\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01<\/button> \n    <\/form>\n<\/div>\n\n<div id=\"msgModalOverlay\" class=\"custom-modal-overlay\"> \n    <div class=\"custom-modal\"> \n        <h3 id=\"modalTitle\">\u0e41\u0e08\u0e49\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19<\/h3> \n        <p id=\"modalText\">\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e32\u0e21<\/p> \n        <button id=\"modalBtn\" class=\"btn-modal-success\">\u0e15\u0e01\u0e25\u0e07<\/button> \n    <\/div>\n<\/div>\n\n<script>\nfunction showBoxMessage(title, text, isSuccess, callback) {\n    const overlay = document.getElementById('msgModalOverlay'); \n    const t = document.getElementById('modalTitle'); \n    const p = document.getElementById('modalText'); \n    const btn = document.getElementById('modalBtn'); \n\n    t.innerText = title; \n    p.innerHTML = text; \n    \n    if (isSuccess) {\n        t.style.color = '#28a745'; \n        btn.className = 'btn-modal-success'; \n    } else {\n        t.style.color = '#dc3545'; \n        btn.className = 'btn-modal-error'; \n    }\n\n    overlay.style.display = 'flex'; \n\n    btn.onclick = function() {\n        overlay.style.display = 'none'; \n        if (callback) callback(); \n    };\n}\n\ndocument.getElementById('registerForm').addEventListener('submit', function(e) {\n    e.preventDefault(); \n\n    \/\/ \u0e14\u0e36\u0e07\u0e04\u0e48\u0e32\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22\u0e08\u0e32\u0e01\u0e1f\u0e2d\u0e23\u0e4c\u0e21\u0e1b\u0e31\u0e08\u0e08\u0e38\u0e1a\u0e31\u0e19\n    const password = document.getElementById('password') ? document.getElementById('password').value : ''; \n    const repassword = document.getElementById('repassword') ? document.getElementById('repassword').value : ''; \n    const phone = document.getElementById('phone') ? document.getElementById('phone').value.trim() : ''; \n    const userCaptcha = document.getElementById('captcha') ? document.getElementById('captcha').value.trim() : ''; \n    const correctCaptcha = document.getElementById('correctCaptcha') ? document.getElementById('correctCaptcha').value : ''; \n    const username = document.getElementById('username') ? document.getElementById('username').value.trim() : ''; \n\n    \/\/ \u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a\u0e01\u0e23\u0e13\u0e35\u0e1e\u0e32\u0e2a\u0e40\u0e27\u0e34\u0e23\u0e4c\u0e14\u0e44\u0e21\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e19\n    if (password !== repassword) {\n        showBoxMessage('\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14!', '\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e44\u0e21\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e19', false); \n        return; \n    }\n\n    \/\/ \u0e14\u0e31\u0e01\u0e08\u0e31\u0e1a\u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23\u0e41\u0e25\u0e30\u0e2a\u0e31\u0e0d\u0e25\u0e31\u0e01\u0e29\u0e13\u0e4c\u0e41\u0e1b\u0e25\u0e01\u0e1b\u0e25\u0e2d\u0e21\u0e43\u0e19\u0e0a\u0e48\u0e2d\u0e07\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c (\u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e40\u0e25\u0e02 0-9 \u0e25\u0e49\u0e27\u0e19 9-10 \u0e2b\u0e25\u0e31\u0e01)\n    const phoneRegex = \/^[0-9]{9,10}$\/; \n    if (!phoneRegex.test(phone)) {\n        showBoxMessage('\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14!', '\u0e01\u0e23\u0e38\u0e13\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e40\u0e1a\u0e2d\u0e23\u0e4c\u0e42\u0e17\u0e23\u0e28\u0e31\u0e1e\u0e17\u0e4c\u0e43\u0e2b\u0e49\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 (\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e1b\u0e47\u0e19\u0e15\u0e31\u0e27\u0e40\u0e25\u0e02 0-9 \u0e04\u0e27\u0e32\u0e21\u0e22\u0e32\u0e27 9-10 \u0e2b\u0e25\u0e31\u0e01\u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19)', false); \n        return; \n    }\n\n    \/\/ \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e15\u0e31\u0e27\u0e40\u0e25\u0e02 CAPTCHA \u0e17\u0e35\u0e48\u0e1d\u0e31\u0e48\u0e07\u0e15\u0e49\u0e19\u0e17\u0e32\u0e07\n    if (userCaptcha !== correctCaptcha) {\n        showBoxMessage('\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14!', '\u0e23\u0e2b\u0e31\u0e2a\u0e20\u0e32\u0e1e\u0e15\u0e31\u0e27\u0e40\u0e25\u0e02\u0e22\u0e37\u0e19\u0e22\u0e31\u0e19\u0e15\u0e31\u0e27\u0e15\u0e19\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07', false); \n        return; \n    }\n\n    \/\/ \u0e41\u0e1e\u0e47\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e04\u0e48\u0e32 Hidden \u0e41\u0e25\u0e30 IP \u0e44\u0e1b\u0e22\u0e31\u0e07\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\n    const formData = new FormData(this); \n\n    fetch('..\/..\/..\/..\/bdo\/register\/register.php', { \n        method: 'POST', \n        body: formData \n    })\n    .then(response => response.text()) \n    .then(data => {\n        const result = data.trim(); \n\n        if (result === '1234log') { \n            \/\/ \ud83d\udfe2 \u0e41\u0e01\u0e49\u0e44\u0e02\u0e04\u0e33\u0e2a\u0e30\u0e01\u0e14\u0e08\u0e32\u0e01 unction \u0e40\u0e1b\u0e47\u0e19 function \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27\u0e04\u0e23\u0e31\u0e1a\n            showBoxMessage(\n                '\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08!', \n                '\u0e1a\u0e31\u0e0d\u0e0a\u0e35\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49 <b>' + username + '<\/b> \u0e17\u0e33\u0e01\u0e32\u0e23\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27', \n                true, \n                function() {\n                    window.location.href = '\/bdo'; \n                }\n            );\n        } else {\n            showBoxMessage('\u0e40\u0e01\u0e34\u0e14\u0e02\u0e49\u0e2d\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14\u0e08\u0e32\u0e01\u0e23\u0e30\u0e1a\u0e1a!', result ? result : '\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 \u0e01\u0e23\u0e38\u0e13\u0e32\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48\u0e2d\u0e35\u0e01\u0e04\u0e23\u0e31\u0e49\u0e07', false); \n        }\n    })\n    .catch(error => {\n        console.error('Error:', error); \n        showBoxMessage('\u0e1c\u0e34\u0e14\u0e1e\u0e25\u0e32\u0e14!', '\u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\u0e44\u0e14\u0e49', false); \n    });\n});\n<\/script>\n<\/body>\n<\/html>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e21\u0e31\u0e04\u0e23\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-10","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/pages\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":17,"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/pages\/10\/revisions"}],"predecessor-version":[{"id":509,"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/pages\/10\/revisions\/509"}],"wp:attachment":[{"href":"https:\/\/thaigameking.com\/bdo\/wp-json\/wp\/v2\/media?parent=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}