{"id":9526,"date":"2026-01-17T22:39:37","date_gmt":"2026-01-17T22:39:37","guid":{"rendered":"https:\/\/proqcchina.com\/?page_id=9526"},"modified":"2026-03-03T23:15:22","modified_gmt":"2026-03-03T23:15:22","slug":"register","status":"publish","type":"page","link":"https:\/\/proqcchina.com\/ar\/register\/","title":{"rendered":"Register"},"content":{"rendered":"<div class=\"imp-login-wrapper\" id=\"imp-login-wrapper\">\r\n            <div class=\"imp-login-bg-orb imp-login-bg-orb-1\"><\/div>\r\n            <div class=\"imp-login-bg-orb imp-login-bg-orb-2\"><\/div>\r\n\r\n            <div class=\"imp-login-card\">\r\n                <div class=\"imp-login-header\">\r\n                                                                    <h2 class=\"imp-login-title\" style=\"margin-bottom: 24px; font-size: 24px;\">ProQCChina<\/h2>\r\n                                        \r\n                    <h1 class=\"imp-login-title\" style=\"font-size: 20px;\">\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628\u0643<\/h1>\r\n                    <p class=\"imp-login-subtitle\">\u0627\u062d\u0635\u0644 \u0639\u0644\u0649 \u0648\u0635\u0648\u0644 \u0625\u0644\u0649 \u0628\u0648\u0627\u0628\u0629 \u0625\u062f\u0627\u0631\u0629 \u0627\u0644\u0641\u062d\u0635.<\/p>\r\n                <\/div>\r\n\r\n                \r\n                <div id=\"imp-register-notice\" style=\"display:none;\"><\/div>\r\n\r\n                <form id=\"imp-register-form\" autocomplete=\"off\" action=\"\">\r\n                    <div class=\"imp-form-group\">\r\n                        <label class=\"imp-label\" for=\"imp-reg-firstname\">\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0623\u0648\u0644<\/label>\r\n                        <input type=\"text\" id=\"imp-reg-firstname\" name=\"first_name\" class=\"imp-input\" placeholder=\"John\" required>\r\n                    <\/div>\r\n                    <div class=\"imp-form-group\">\r\n                        <label class=\"imp-label\" for=\"imp-reg-lastname\">\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0623\u062e\u064a\u0631<\/label>\r\n                        <input type=\"text\" id=\"imp-reg-lastname\" name=\"last_name\" class=\"imp-input\" placeholder=\"Smith\" required>\r\n                    <\/div>\r\n                    <div class=\"imp-form-group\">\r\n                        <label class=\"imp-label\" for=\"imp-reg-email\">\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a<\/label>\r\n                        <input type=\"email\" id=\"imp-reg-email\" name=\"email\" class=\"imp-input\" placeholder=\"you@company.com\" required>\r\n                    <\/div>\r\n                    <div class=\"imp-form-group\">\r\n                        <label class=\"imp-label\" for=\"imp-reg-company\">\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629<\/label>\r\n                        <input type=\"text\" id=\"imp-reg-company\" name=\"company\" class=\"imp-input\" placeholder=\"ACME Corp (optional)\">\r\n                    <\/div>\r\n                    <div class=\"imp-form-group\">\r\n                        <label class=\"imp-label\" for=\"imp-reg-phone\">\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641 <span class=\"imp-required\">*<\/span><\/label>\r\n                        <input type=\"tel\" id=\"imp-reg-phone\" name=\"phone\" class=\"imp-input\" placeholder=\"+1 234 567 8900\" required>\r\n                    <\/div>\r\n                    <div class=\"imp-form-group\">\r\n                        <label class=\"imp-label\" for=\"imp-reg-password\">\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631<\/label>\r\n                        <input type=\"password\" id=\"imp-reg-password\" name=\"password\" class=\"imp-input\" placeholder=\"At least 8 characters\" required minlength=\"8\">\r\n                    <\/div>\r\n\r\n                    <input type=\"hidden\" id=\"imp_nonce_field\" name=\"imp_nonce_field\" value=\"6ed4c49eac\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/ar\/wp-json\/wp\/v2\/pages\/9526\" \/>\r\n                    <button type=\"submit\" class=\"imp-btn imp-btn-primary imp-btn-block\" id=\"imp-register-btn\">\r\n                        <span class=\"imp-btn-text\">\u0625\u0646\u0634\u0627\u0621 \u062d\u0633\u0627\u0628<\/span>\r\n                        <span class=\"imp-btn-loading\" style=\"display:none;\">\r\n                            <svg class=\"imp-spinner\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\"><path d=\"M21 12a9 9 0 1 1-6.219-8.56\"\/><\/svg>\r\n                            \u062c\u0627\u0631\u064d \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628...                        <\/span>\r\n                    <\/button>\r\n                <input type=\"hidden\" name=\"trp-form-language\" value=\"ar\"\/><\/form>\r\n\r\n                                <p class=\"imp-login-footer\">\r\n                    \u0647\u0644 \u0644\u062f\u064a\u0643 \u062d\u0633\u0627\u0628 \u0628\u0627\u0644\u0641\u0639\u0644\u061f                    <a href=\"https:\/\/proqcchina.com\/ar\/login\/\">\u0633\u062c\u0651\u0644 \u0627\u0644\u062f\u062e\u0648\u0644 \u2190<\/a>\r\n                <\/p>\r\n                            <\/div>\r\n        <\/div>\r\n\r\n        <script>\r\n        (function($) {\r\n            $('#imp-register-form').on('submit', function(e) {\r\n                e.preventDefault();\r\n                var $btn = $('#imp-register-btn');\r\n                var $notice = $('#imp-register-notice');\r\n\r\n                $btn.find('.imp-btn-text').hide();\r\n                $btn.find('.imp-btn-loading').show();\r\n                $btn.prop('disabled', true);\r\n                $notice.hide();\r\n\r\n                $.ajax({\r\n                    url: impAjax.ajaxUrl,\r\n                    type: 'POST',\r\n                    data: {\r\n                        action: 'imp_register',\r\n                        nonce: impAjax.nonce,\r\n                        first_name: $('#imp-reg-firstname').val(),\r\n                        last_name:  $('#imp-reg-lastname').val(),\r\n                        email:      $('#imp-reg-email').val(),\r\n                        company:    $('#imp-reg-company').val(),\r\n                        phone:      $('#imp-reg-phone').val(),\r\n                        password:   $('#imp-reg-password').val()\r\n                    },\r\n                    success: function(r) {\r\n                        if (r.success) {\r\n                            \/\/ Hide the form, show the verification message\r\n                            $('#imp-register-form').hide();\r\n                            $notice.html('<div style=\"background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;border-radius:8px;padding:20px 24px;margin-bottom:16px;text-align:center;\">' +\r\n                                '<div style=\"font-size:36px;margin-bottom:12px;\">\ud83d\udce7<\/div>' +\r\n                                '<p style=\"font-size:16px;font-weight:600;margin:0 0 8px;\">' + r.data.message + '<\/p>' +\r\n                                '<p style=\"font-size:13px;color:#3b82f6;margin:0;\">' + (r.data.hint || '') + '<\/p>' +\r\n                            '<\/div>').show();\r\n                        } else {\r\n                            $notice.html('<div style=\"background:#fef2f2;border:1px solid #fecaca;color:#dc2626;border-radius:8px;padding:12px 16px;margin-bottom:16px;\">\u274c ' + (r.data.message || 'Registration failed.') + '<\/div>').show();\r\n                            $btn.find('.imp-btn-text').show();\r\n                            $btn.find('.imp-btn-loading').hide();\r\n                            $btn.prop('disabled', false);\r\n                        }\r\n                    },\r\n                    error: function() {\r\n                        $notice.html('<div style=\"background:#fef2f2;border:1px solid #fecaca;color:#dc2626;border-radius:8px;padding:12px 16px;margin-bottom:16px;\">\u274c Network error. Please try again.<\/div>').show();\r\n                        $btn.find('.imp-btn-text').show();\r\n                        $btn.find('.imp-btn-loading').hide();\r\n                        $btn.prop('disabled', false);\r\n                    }\r\n                });\r\n            });\r\n        })(jQuery);\r\n        <\/script>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-no-header-footer.php","meta":{"_acf_changed":false,"inline_featured_image":false,"_joinchat":[],"footnotes":""},"class_list":["post-9526","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages\/9526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/comments?post=9526"}],"version-history":[{"count":33,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages\/9526\/revisions"}],"predecessor-version":[{"id":9799,"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/pages\/9526\/revisions\/9799"}],"wp:attachment":[{"href":"https:\/\/proqcchina.com\/ar\/wp-json\/wp\/v2\/media?parent=9526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}