{"id":2653,"date":"2025-04-18T15:45:10","date_gmt":"2025-04-18T06:45:10","guid":{"rendered":"https:\/\/hatsuon-kentei.net\/?page_id=2653"},"modified":"2025-04-18T17:44:11","modified_gmt":"2025-04-18T08:44:11","slug":"verify-email","status":"publish","type":"page","link":"https:\/\/hatsuon-kentei.net\/?page_id=2653","title":{"rendered":"VERIFY EMAIL"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"2653\" class=\"elementor elementor-2653\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7fdd0d8 e-flex e-con-boxed e-con e-parent\" data-id=\"7fdd0d8\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1a80e5 elementor-widget elementor-widget-html\" data-id=\"f1a80e5\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<!DOCTYPE html>\n<html>\n    <head>\n        <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/bootstrap@4.3.1\/dist\/css\/bootstrap.min.css\" integrity=\"sha384-ggOyR0iXCbMQv3Xipma34MD+dH\/1fQ784\/j6cY\/iJTQUOhcWr7x9JvoRxT2MZw1T\" crossorigin=\"anonymous\">\n        <script src=\"https:\/\/ajax.googleapis.com\/ajax\/libs\/jquery\/3.7.1\/jquery.min.js\"><\/script>\n\n        <style type=\"text\/css\">\n            .form-forgot-password {\n                background-color: #99d3f3;\n                padding: 30px;\n                border-radius: 15px;\n            }\n\n            #remember {\n                height: 20px !important;\n                width: 20px !important;\n                vertical-align: middle;\n                margin-left: 0px;\n            }\n\n            #policy_text {\n                display: inline-block;\n                vertical-align: bottom;\n                text-decoration: underline;\n                font-size: 15px;\n                padding-bottom: 0px;\n            }\n\n            .form-group {\n                margin-bottom: 7px;\n            }\n\n            .note-usage {\n                background-color: #bd3a3a;\n                color: #fff;\n                padding: 5px;\n            }\n\n            .hidden {\n                display: none;\n            }\n\n            .create-success {\n                background-color: #28A745;\n                color: #fff;\n                padding: 5px;\n            }\n\n            .register-link {\n                color: #ff0000;\n                text-decoration: none !important;\n            }\n\n            .pd-10 {\n                padding: 10px;\n            }\n            \n            #reset-password {\n              position: relative;\n              background-color: #28a745 !important;\n              border: none !important;\n              box-shadow: none !important;\n              text-shadow: none !important;\n            }\n        <\/style>\n    <\/head>\n    <body>\n        <div class=\"row pd-10\">\n            <div class=\"col-md-6 offset-md-3 form-forgot-password\">\n                <form name=\"form-forgot-password\" id=\"form-forgot-password\">\n                    <div class=\"form-group\">\n                        <label class=\"label-cotrol mb-0\">\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/label>\n                        <input class=\"form-control\" type=\"text\" id=\"email\" name=\"email\" value=\"\" placeholder=\"\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\" autocomplete=\"off\">\n                        <span class=\"mess-error text-danger\"><\/span>\n                    <\/div>\n\n                    <button type=\"submit\" id=\"reset-password\" class=\"btn btn-success form-control\">\u9001\u4fe1<\/button>\n\n                    <div class=\"form-group mt-3\">\n                        <p>\u3059\u3067\u306b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u304a\u6301\u3061\u3067\u3059\u304b\uff1f <span class=\"text-danger\"><a class=\"text-danger\" href=\"https:\/\/hatsuon-kentei.net\/?page_id=2355\">\u30ed\u30b0\u30a4\u30f3<\/a><\/span><\/p>\n                    <\/div>\n                <\/form>\n            <\/div>\n        <\/div>\n        <script type=\"text\/javascript\">\n            $(document).ready(function () {\n                \/\/ const URL_RESEND_VERIFY_EMAIL = \"<?php echo URL_RESEND_VERIFY_EMAIL; ?>\";\n                \/\/ console.log(URL_RESEND_VERIFY_EMAIL)\n\n                $(\"#form-forgot-password\").on('submit', function (event) {\n                    event.preventDefault();\n                    const email = $(\"input[name=email]\").val();\n                    $(\"#reset-password\").prop('disabled', true);\n\n                    $.ajax({\n                        url: \"https:\/\/cms.hatsuon-kentei.net\/api\/resend-verification\",\n                        method: \"POST\",\n                        headers: {\n                            'Content-Type': 'application\/x-www-form-urlencoded'\n                        },\n                        dataType: \"json\",\n                        data: {\n                            email: email\n                        }\n                    }).done(function (data) {\n                        messText = data.message == '\u30e1\u30fc\u30eb\u304c\u78ba\u8a8d\u3055\u308c\u307e\u3057\u305f\u3002' ? '\u30e1\u30fc\u30eb\u304c\u78ba\u8a8d\u3055\u308c\u307e\u3057\u305f\u3002' : \"\u6b63\u5e38\u306b\u9001\u4fe1\u3055\u308c\u307e\u3057\u305f\";\n                        $(\".mess-error\").removeClass('text-danger').addClass('text-success').text(messText);\n                    }).fail(function (response) {\n                        const messages = JSON.parse(response.responseText)['errors'];\n                        $(\".mess-error\").removeClass('text-success').addClass('text-danger').text(messages['email'][0])\n                    }).always(function () {\n                        $(\"#reset-password\").prop('disabled', false);\n                    });\n                });\n            });\n        <\/script>\n    <\/body>\n<\/html>\n\n\n\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9 \u9001\u4fe1 \u3059\u3067\u306b\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u304a\u6301\u3061\u3067\u3059\u304b\uff1f \u30ed\u30b0 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-2653","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=\/wp\/v2\/pages\/2653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2653"}],"version-history":[{"count":14,"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=\/wp\/v2\/pages\/2653\/revisions"}],"predecessor-version":[{"id":2686,"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=\/wp\/v2\/pages\/2653\/revisions\/2686"}],"wp:attachment":[{"href":"https:\/\/hatsuon-kentei.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}