{"id":84,"date":"2026-02-07T11:11:26","date_gmt":"2026-02-07T11:11:26","guid":{"rendered":"https:\/\/system.rsyinstitute.com\/index.php\/login-2\/"},"modified":"2026-02-22T08:01:51","modified_gmt":"2026-02-22T08:01:51","slug":"login-2","status":"publish","type":"page","link":"https:\/\/system.rsyinstitute.com\/","title":{"rendered":"Login"},"content":{"rendered":"<h1 class=\"plugin-title\"><div class=\"rsyi-portal rsyi-register\" dir=\"ltr\" style=\"max-width:680px; margin:0 auto; font-family:sans-serif;\">\n\n    <div style=\"text-align:center; margin-bottom:28px;\">\n                    <img decoding=\"async\" src=\"http:\/\/system.rsyinstitute.com\/wp-content\/uploads\/2026\/02\/SAH-Logo-scaled.png\" alt=\"Institute Logo\" style=\"max-height:80px; margin-bottom:12px;\">\n                <h2 style=\"margin:0 0 4px; color:#0073aa;\">\u0645\u0639\u0647\u062f \u0627\u0644\u0628\u062d\u0631 \u0627\u0644\u0623\u062d\u0645\u0631 \u0644\u0644\u064a\u062e\u0648\u062a \u2013 \u0627\u0644\u062c\u0648\u0646\u0629<\/h2>\n        <p style=\"color:#666; margin:0;\">\u0628\u0648\u0627\u0628\u0629 \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u0637\u0627\u0644\u0628<\/p>\n    <\/div>\n\n    <div id=\"rsyi_reg_messages\"><\/div>\n\n    <form id=\"rsyi_register_form\" novalidate\n          style=\"background:#fff; border:1px solid #dee2e6; border-radius:8px; padding:28px; box-shadow:0 2px 8px rgba(0,0,0,.06);\">\n\n        <h3 style=\"margin-top:0; border-bottom:2px solid #0073aa; padding-bottom:10px; color:#0073aa;\">\n            \u062d\u0633\u0627\u0628 \u0637\u0627\u0644\u0628 \u062c\u062f\u064a\u062f        <\/h3>\n\n        <table class=\"form-table\">\n            <tr>\n                <th><label for=\"reg_arabic_name\">\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0643\u0627\u0645\u0644 \u0628\u0627\u0644\u0639\u0631\u0628\u064a\u0629 *<\/label><\/th>\n                <td><input type=\"text\" id=\"reg_arabic_name\" name=\"arabic_full_name\" class=\"large-text\" dir=\"rtl\" required\n                           placeholder=\"\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0631\u0628\u0627\u0639\u064a \u0643\u0645\u0627 \u0641\u064a \u0627\u0644\u0634\u0647\u0627\u062f\u0629\"><\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_english_name\">\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0643\u0627\u0645\u0644 \u0628\u0627\u0644\u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629 *<\/label><\/th>\n                <td><input type=\"text\" id=\"reg_english_name\" name=\"english_full_name\" class=\"large-text\" required\n                           placeholder=\"As it appears on your certificate\"><\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_username\">\u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 *<\/label><\/th>\n                <td>\n                    <input type=\"text\" id=\"reg_username\" name=\"user_login\" class=\"regular-text\" required\n                           pattern=\"[a-zA-Z0-9_\\-]+\" placeholder=\"letters, numbers, _ only\">\n                    <p class=\"description\">\u0623\u062d\u0631\u0641 \u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629 \u0648\u0623\u0631\u0642\u0627\u0645 \u0641\u0642\u0637. \u0644\u0627 \u064a\u0645\u0643\u0646 \u062a\u063a\u064a\u064a\u0631\u0647 \u0644\u0627\u062d\u0642\u0627\u064b.<\/p>\n                <\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_email\">\u0639\u0646\u0648\u0627\u0646 \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a *<\/label><\/th>\n                <td><input type=\"email\" id=\"reg_email\" name=\"user_email\" class=\"regular-text\" required\n                           placeholder=\"your@email.com\"><\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_password\">\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 *<\/label><\/th>\n                <td>\n                    <input type=\"password\" id=\"reg_password\" name=\"password\" class=\"regular-text\" required minlength=\"8\"\n                           placeholder=\"At least 8 characters\">\n                <\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_national_id\">\u0631\u0642\u0645 \u0627\u0644\u0647\u0648\u064a\u0629 \u0627\u0644\u0642\u0648\u0645\u064a\u0629<\/label><\/th>\n                <td><input type=\"text\" id=\"reg_national_id\" name=\"national_id_number\" class=\"regular-text\" maxlength=\"14\"><\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_dob\">\u062a\u0627\u0631\u064a\u062e \u0627\u0644\u0645\u064a\u0644\u0627\u062f<\/label><\/th>\n                <td><input type=\"date\" id=\"reg_dob\" name=\"date_of_birth\"><\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_phone\">\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641<\/label><\/th>\n                <td><input type=\"tel\" id=\"reg_phone\" name=\"phone\" class=\"regular-text\" placeholder=\"+20 1XX XXX XXXX\"><\/td>\n            <\/tr>\n            <tr>\n                <th><label for=\"reg_cohort\">\u0627\u0644\u0641\u0648\u062c *<\/label><\/th>\n                <td>\n                    <select id=\"reg_cohort\" name=\"cohort_id\" required style=\"min-width:240px;\">\n                        <option value=\"\">- Select Your Cohort -<\/option>\n                                                    <option value=\"1\">Cohort 5<\/option>\n                                            <\/select>\n                <\/td>\n            <\/tr>\n        <\/table>\n\n        <p class=\"submit\" style=\"margin-top:20px;\">\n            <button type=\"submit\" class=\"button button-primary button-large\" style=\"min-width:200px; padding:10px 20px; font-size:15px;\">\n                \u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628\u064a            <\/button>\n        <\/p>\n    <\/form>\n\n    <p style=\"text-align:center; margin-top:16px; color:#666;\">\n        \u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628 \u0628\u0627\u0644\u0641\u0639\u0644\u061f        <a href=\"https:\/\/system.rsyinstitute.com\/wp-login.php\">\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644<\/a>\n    <\/p>\n<\/div>\n\n<style>\n.rsyi-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; }\n.rsyi-alert-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }\n.rsyi-alert-danger  { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }\n.rsyi-alert ul { margin: 6px 0 0; padding-left: 20px; }\n<\/style>\n\n<script>\njQuery(function($){\n    $('#rsyi_register_form').on('submit', function(e){\n        e.preventDefault();\n        var btn = $(this).find('button[type=submit]');\n        btn.prop('disabled', true).text('Creating account\u2026');\n        $('#rsyi_reg_messages').html('');\n\n        var data = $(this).serializeArray().reduce(function(obj, item){ obj[item.name]=item.value; return obj; }, {});\n        data.action = 'rsyi_register_student';\n        data._nonce = rsyiPortal.nonce;\n        var parts = (data.english_full_name || '').trim().split(' ');\n        data.english_first_name = parts[0] || '';\n        data.english_last_name  = parts.slice(1).join(' ') || '';\n\n        $.post(rsyiPortal.ajaxUrl, data, function(res){\n            btn.prop('disabled', false).text('\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628\u064a');\n            if(res.success){\n                $('#rsyi_reg_messages').html('<div class=\"rsyi-alert rsyi-alert-success\"><p>\u2705 ' + res.data.message + '<\/p><p>Redirecting to document upload\u2026<\/p><\/div>');\n                setTimeout(function(){ window.location.href = \"https:\\\/\\\/system.rsyinstitute.com\\\/index.php\\\/student-documents\\\/\"; }, 2000);\n            } else {\n                var errors = res.data.errors || [res.data.message];\n                var html = '<div class=\"rsyi-alert rsyi-alert-danger\"><ul>';\n                errors.forEach(function(e){ html += '<li>\u274c ' + e + '<\/li>'; });\n                html += '<\/ul><\/div>';\n                $('#rsyi_reg_messages').html(html);\n            }\n        }).fail(function(){\n            btn.prop('disabled', false).text('\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628\u064a');\n        });\n    });\n});\n<\/script>\n<\/h1>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-84","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/pages\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":2,"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/pages\/84\/revisions"}],"predecessor-version":[{"id":133,"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/pages\/84\/revisions\/133"}],"wp:attachment":[{"href":"https:\/\/system.rsyinstitute.com\/index.php\/wp-json\/wp\/v2\/media?parent=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}