
{"id":3074,"date":"2025-09-09T05:01:59","date_gmt":"2025-09-09T05:01:59","guid":{"rendered":"https:\/\/rmct.ae\/?page_id=3074"},"modified":"2025-09-09T05:26:40","modified_gmt":"2025-09-09T05:26:40","slug":"certificate-verification-page","status":"publish","type":"page","link":"https:\/\/rmct.ae\/ar\/certificate-verification-page\/","title":{"rendered":"Certificate Verification Page"},"content":{"rendered":"<p class=\"has-text-align-center wp-block-paragraph\">Welcome to the official RMCT Certificate Verification Portal.<br>Please enter your <strong>Certificate Number<\/strong> in the box below to confirm the authenticity of your certificate.<\/p><p class=\"has-text-align-center wp-block-paragraph\">\ud83d\udd12 This verification ensures that the certificate details are accurate and issued by RMCT.<\/p><div class=\"wp-block-uagb-container uagb-block-46248cd6 alignfull uagb-is-root-container\"><div class=\"uagb-container-inner-blocks-wrap\">    <div id=\"rmct-cert-checker\">\n        <label>Certificate Number:<\/label><br\/>\n        <input id=\"rmct-cert-input\" style=\"width:350px;padding:6px\" \/>\n        <button id=\"rmct-cert-btn\" class=\"button\">Check<\/button>\n        <div id=\"rmct-cert-result\" style=\"margin-top:12px;\"><\/div>\n    <\/div>\n    <script>\n    (function(){\n        const btn = document.getElementById('rmct-cert-btn');\n        const input = document.getElementById('rmct-cert-input');\n        const result = document.getElementById('rmct-cert-result');\n        const baseUrl = 'https:\/\/rmct.ae\/ar\/wp-json\/rmct\/v1\/certificate\/';\n        const apiProtected = false;\n\n        btn.addEventListener('click', function(){\n            const id = input.value.trim();\n            if (!id) { result.innerHTML = '<span style=\"color:#b00\">Enter certificate number<\/span>'; return; }\n            if (apiProtected) {\n                result.innerHTML = '<span style=\"color:#b00\">Verification is restricted. Contact site admin for verification.<\/span>';\n                return;\n            }\n            result.innerHTML = 'Checking...';\n            fetch(baseUrl + encodeURIComponent(id))\n            .then(r => {\n                if (!r.ok) return r.json().then(j=>{ throw j; });\n                return r.json();\n            })\n            .then(data => {\n                if (data.status && data.status === 'valid') {\n                    result.innerHTML = '<div><strong>Valid<\/strong><br\/>' +\n                        'Name: ' + (data.trainee_name || '-') + '<br\/>' +\n                        'Course: ' + (data.course_name || '-') + '<br\/>' +\n                        'Issued: ' + (data.issued_on || '-') + '<br\/>' +\n                        'Expiry: ' + (data.expiry || '-') + '<\/div>';\n                } else {\n                    result.innerHTML = '<span style=\"color:#b00\">Not found<\/span>';\n                }\n            })\n            .catch(err => {\n                if (err && err.message) result.innerHTML = '<span style=\"color:#b00\">' + err.message + '<\/span>';\n                else result.innerHTML = '<span style=\"color:#b00\">Certificate not found<\/span>';\n            });\n        });\n    })();\n    <\/script>\n    <\/div><\/div><div style=\"height:14px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div><p class=\"has-text-align-center wp-block-paragraph\">If you face any issue while verifying your certificate, please contact us at:<br>\ud83d\udce7 info@rmct.ae<br>\ud83d\udcde +<a>+971 52 4264477<\/a><\/p><p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Welcome to the official RMCT Certificate Verification Portal.Please enter your Certificate Number in the box below to confirm the authenticity of your certificate. \ud83d\udd12 This verification ensures that the certificate&hellip;<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-3074","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false,"post-thumbnail":false,"hogwords-thumb-huge":false,"hogwords-thumb-big":false,"hogwords-thumb-big-team":false,"hogwords-thumb-big-team-avatar":false,"hogwords-thumb-med":false,"hogwords-thumb-tiny":false,"hogwords-thumb-masonry-big":false,"hogwords-thumb-masonry":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"trx_addons-thumb-small":false,"trx_addons-thumb-portrait":false,"trx_addons-thumb-avatar":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/rmct.ae\/ar\/author\/rmcte\/"},"uagb_comment_info":0,"uagb_excerpt":"Welcome to the official RMCT Certificate Verification Portal.Please enter your Certificate Number in the box below to confirm the authenticity of your certificate. \ud83d\udd12 This verification ensures that the certificate&hellip;","_links":{"self":[{"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/pages\/3074","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/comments?post=3074"}],"version-history":[{"count":0,"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/pages\/3074\/revisions"}],"wp:attachment":[{"href":"https:\/\/rmct.ae\/ar\/wp-json\/wp\/v2\/media?parent=3074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}