{"id":11,"date":"2025-06-14T16:11:17","date_gmt":"2025-06-14T16:11:17","guid":{"rendered":"https:\/\/prinzee.super-coding.com\/my-account\/"},"modified":"2025-06-14T16:11:17","modified_gmt":"2025-06-14T16:11:17","slug":"my-account","status":"publish","type":"page","link":"https:\/\/prinzee.super-coding.com\/ar\/my-account\/","title":{"rendered":"My account"},"content":{"rendered":"<div class=\"woocommerce\">\r\n<div class=\"form-box max-w-xl mx-auto bg-white p-6 rounded-[16px] shadow-md\">\r\n    <h3 class=\"md:text-[28px] sm:text-[24px] text-[20px] font-[700] text-center mb-6\">\r\n        \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644    <\/h3>\r\n\r\n    <form id=\"login-form\" method=\"POST\" class=\"flex flex-col gap-5\" action=\"\">\r\n        <div id=\"login-response\" class=\"text-sm text-center\"><\/div>\r\n\r\n        <div class=\"input-container\">\r\n            <label class=\"!sm:text-[16px] !text-[13px]\" for=\"email-address\">\r\n                \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a            <\/label>\r\n            <input class=\"sm:text-[14px] text-[13px]\" id=\"email-address\" type=\"email\" name=\"email\"\r\n                   placeholder=\"\u0623\u062f\u062e\u0644 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a\" required>\r\n        <\/div>\r\n\r\n        <div class=\"input-container\">\r\n            <label class=\"!sm:text-[16px] !text-[13px]\" for=\"password\">\r\n                \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631            <\/label>\r\n            <input class=\"sm:text-[14px] text-[13px]\" id=\"password\" type=\"password\" name=\"password\"\r\n                   placeholder=\"\u0623\u062f\u062e\u0644 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\" required>\r\n        <\/div>\r\n\r\n        <input type=\"hidden\" name=\"action\" value=\"ajax_user_login\">\r\n        <input type=\"hidden\" id=\"security\" name=\"security\" value=\"a65b2a6f0c\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/ar\/wp-json\/wp\/v2\/pages\/11\" \/>\r\n        <div class=\"flex flex-col gap-3 mb-6\">\r\n            <div class=\"submit-btn flex items-center justify-between sm:flex-nowrap flex-wrap sm:gap-2 gap-6\">\r\n                <a href=\"https:\/\/prinzee.super-coding.com\/ar\/my-account\/lost-password\/\"\r\n                   class=\"hover:underline font-[500] sm:text-[16px] text-[14px]\">\r\n                    \u0647\u0644 \u0646\u0633\u064a\u062a \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631\u061f                <\/a>\r\n\r\n                <button class=\"submit sm:w-fit w-full !sm:text-[16px] !text-[14px] bg-black text-white py-3 px-6 rounded-[12px]\"\r\n                        type=\"submit\">\r\n                    \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644                <\/button>\r\n            <\/div>\r\n\r\n            <div class=\"sign-with-google mt-2\">\r\n                <a href=\"https:\/\/accounts.google.com\/o\/oauth2\/v2\/auth?client_id=585192708423-1glsgd1sn87q40uca8i3khdjck289n2h.apps.googleusercontent.com&#038;redirect_uri=https%3A%2F%2Fprinzee.super-coding.com%2Far%2Fgoogle-login-callback&#038;response_type=code&#038;scope=email+profile&#038;state=f27c2119ee&#038;access_type=online&#038;prompt=select_account\" class=\"flex items-center justify-center gap-2 w-full !sm:text-[16px] !text-[14px] bg-white border border-gray-300 py-3 px-4 rounded-[12px] hover:bg-gray-100 transition-all\">\r\n        <img decoding=\"async\" loading=\"lazy\" width=\"20px\" src=\"https:\/\/prinzee.super-coding.com\/wp-content\/themes\/prinzee\/assets\/images\/google.png\" alt=\"Google\">\r\n        <span>Continue with Google<\/span>\r\n    <\/a>            <\/div>\r\n        <\/div>\r\n\r\n        <div class=\"login-link text-center !sm:text-[16px] !text-[14px]\">\r\n            <span>\u0645\u0633\u062a\u062e\u062f\u0645 \u062c\u062f\u064a\u062f\u061f<\/span>\r\n            <a href=\"https:\/\/prinzee.super-coding.com\/ar\/register\" class=\"text-blue-600 underline\">\r\n                \u0633\u062c\u0644 \u0627\u0644\u0622\u0646            <\/a>\r\n        <\/div>\r\n    <input type=\"hidden\" name=\"trp-form-language\" value=\"ar\"\/><\/form>\r\n<\/div>\r\n\r\n<script>\r\ndocument.getElementById('login-form').addEventListener('submit', function(e) {\r\n    e.preventDefault();\r\n    const form = e.target;\r\n    const data = new FormData(form);\r\n    const responseBox = document.getElementById('login-response');\r\n\r\n    fetch(\"https:\/\/prinzee.super-coding.com\/wp-admin\/admin-ajax.php\", {\r\n        method: 'POST',\r\n        body: data\r\n    })\r\n    .then(async res => {\r\n        let json;\r\n        try {\r\n            json = await res.json();\r\n        } catch (err) {\r\n            responseBox.innerHTML = '<div class=\"text-red-600 mb-4\">\u2716 \u062e\u0637\u0623 \u0641\u064a \u0627\u0644\u062e\u0627\u062f\u0645. \u062d\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649 \u0644\u0627\u062d\u0642\u064b\u0627.<\/div>';\r\n            return;\r\n        }\r\n\r\n        if (json.success) {\r\n            responseBox.innerHTML = '<div class=\"text-green-600 mb-4\">\u2714 ' + (json.data?.message || '\u062a\u0645 \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062f\u062e\u0648\u0644 \u0628\u0646\u062c\u0627\u062d.') + '<\/div>';\r\n            setTimeout(() => window.location.href = 'https:\/\/prinzee.super-coding.com\/ar\/my-account', 1000);\r\n        } else {\r\n            const msg = json?.data?.message || json.message || '\u062d\u062f\u062b \u062e\u0637\u0623 \u063a\u064a\u0631 \u0645\u0639\u0631\u0648\u0641.';\r\n            responseBox.innerHTML = '<div class=\"text-red-600 mb-4\">\u2716 ' + msg + '<\/div>';\r\n        }\r\n    });\r\n});\r\n<\/script>\r\n<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_joinchat":[],"footnotes":""},"class_list":["post-11","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>My account - prinzee<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/prinzee.super-coding.com\/ar\/my-account\/\" \/>\n<meta property=\"og:locale\" content=\"ar_AR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"My account - prinzee\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prinzee.super-coding.com\/ar\/my-account\/\" \/>\n<meta property=\"og:site_name\" content=\"prinzee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prinzee.super-coding.com\/my-account\/\",\"url\":\"https:\/\/prinzee.super-coding.com\/my-account\/\",\"name\":\"My account - prinzee\",\"isPartOf\":{\"@id\":\"https:\/\/prinzee.super-coding.com\/#website\"},\"datePublished\":\"2025-06-14T16:11:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/prinzee.super-coding.com\/my-account\/#breadcrumb\"},\"inLanguage\":\"ar\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prinzee.super-coding.com\/my-account\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prinzee.super-coding.com\/my-account\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prinzee.super-coding.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"My account\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prinzee.super-coding.com\/#website\",\"url\":\"https:\/\/prinzee.super-coding.com\/\",\"name\":\"prinzee\",\"description\":\"Design Your Product with Ease\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prinzee.super-coding.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ar\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"My account - prinzee","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/prinzee.super-coding.com\/ar\/my-account\/","og_locale":"ar_AR","og_type":"article","og_title":"My account - prinzee","og_url":"https:\/\/prinzee.super-coding.com\/ar\/my-account\/","og_site_name":"prinzee","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prinzee.super-coding.com\/my-account\/","url":"https:\/\/prinzee.super-coding.com\/my-account\/","name":"My account - prinzee","isPartOf":{"@id":"https:\/\/prinzee.super-coding.com\/#website"},"datePublished":"2025-06-14T16:11:17+00:00","breadcrumb":{"@id":"https:\/\/prinzee.super-coding.com\/my-account\/#breadcrumb"},"inLanguage":"ar","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prinzee.super-coding.com\/my-account\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/prinzee.super-coding.com\/my-account\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prinzee.super-coding.com\/"},{"@type":"ListItem","position":2,"name":"My account"}]},{"@type":"WebSite","@id":"https:\/\/prinzee.super-coding.com\/#website","url":"https:\/\/prinzee.super-coding.com\/","name":"prinzee","description":"Design Your Product with Ease","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prinzee.super-coding.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ar"}]}},"_links":{"self":[{"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/pages\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":0,"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/pages\/11\/revisions"}],"wp:attachment":[{"href":"https:\/\/prinzee.super-coding.com\/ar\/wp-json\/wp\/v2\/media?parent=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}