{"id":8,"date":"2026-04-11T00:26:59","date_gmt":"2026-04-11T00:26:59","guid":{"rendered":"https:\/\/wofir.com\/?page_id=8"},"modified":"2026-04-11T00:29:26","modified_gmt":"2026-04-11T00:29:26","slug":"%d8%a7%d8%a8%d8%af%d8%a3-%d9%85%d8%aa%d8%ac%d8%b1%d9%83","status":"publish","type":"page","link":"https:\/\/wofir.com\/","title":{"rendered":"\u0627\u0628\u062f\u0623 \u0645\u062a\u062c\u0631\u0643"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"8\" class=\"elementor elementor-8\">\n\t\t\t\t<div class=\"elementor-element elementor-element-3e2e1ba e-flex e-con-boxed e-con e-parent\" data-id=\"3e2e1ba\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-26df741 elementor-widget elementor-widget-html\" data-id=\"26df741\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"waas-container\" style=\"max-width: 500px; margin: auto; text-align: center; font-family: Arial, sans-serif; padding: 30px; border: 1px solid #eee; border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); direction: rtl;\">\r\n    <h2 style=\"color: #2c3e50; margin-bottom: 10px;\">\ud83d\ude80 \u0623\u0646\u0634\u0626 \u0645\u062a\u062c\u0631\u0643 \u0627\u0644\u0627\u062d\u062a\u0631\u0627\u0641\u064a \u0627\u0644\u0622\u0646<\/h2>\r\n    <p style=\"color: #7f8c8d; margin-bottom: 25px;\">\u0627\u062e\u062a\u0631 \u0627\u0633\u0645\u0627\u064b \u0644\u0645\u062a\u062c\u0631\u0643 \u0628\u0627\u0644\u0644\u063a\u0629 \u0627\u0644\u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629 (\u0645\u062b\u0627\u0644: my-store)<\/p>\r\n\r\n    <input type=\"text\" id=\"storeName\" placeholder=\"store-name\" style=\"width: 100%; padding: 15px; margin-bottom: 20px; border: 2px solid #bdc3c7; border-radius: 8px; font-size: 16px; text-align: left;\" dir=\"ltr\">\r\n\r\n    <button id=\"createBtn\" onclick=\"createStore()\" style=\"width: 100%; padding: 15px; background: #27ae60; color: #fff; border: none; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: 0.3s;\">\u2728 \u0627\u0628\u062f\u0623 \u0628\u0646\u0627\u0621 \u0627\u0644\u0645\u062a\u062c\u0631<\/button>\r\n\r\n    <!-- \u0634\u0631\u064a\u0637 \u0627\u0644\u062a\u062d\u0645\u064a\u0644 -->\r\n    <div id=\"loadingArea\" style=\"display: none; margin-top: 25px;\">\r\n        <img decoding=\"async\" src=\"https:\/\/i.gifer.com\/ZZ5H.gif\" width=\"60\" alt=\"loading\" style=\"margin-bottom: 15px;\">\r\n        <p style=\"color: #2980b9; font-weight: bold; font-size: 16px;\">\u062c\u0627\u0631\u064a \u0628\u0646\u0627\u0621 \u0645\u062a\u062c\u0631\u0643 \u0648\u062a\u062c\u0647\u064a\u0632 \u0627\u0644\u0633\u064a\u0631\u0641\u0631\u0627\u062a...<\/p>\r\n        <p style=\"color: #7f8c8d; font-size: 14px;\">\u0627\u0644\u0631\u062c\u0627\u0621 \u0639\u062f\u0645 \u0625\u063a\u0644\u0627\u0642 \u0647\u0630\u0647 \u0627\u0644\u0635\u0641\u062d\u0629 (\u064a\u0633\u062a\u063a\u0631\u0642 \u062d\u0648\u0627\u0644\u064a 30 \u062b\u0627\u0646\u064a\u0629)<\/p>\r\n    <\/div>\r\n\r\n    <!-- \u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u0646\u062c\u0627\u062d -->\r\n    <div id=\"successArea\" style=\"display: none; margin-top: 25px; padding: 20px; background: #e8f8f5; color: #16a085; border-radius: 8px; text-align: right; border: 1px solid #1abc9c;\">\r\n        <h3 style=\"margin-top: 0; color: #16a085;\">\ud83c\udf89 \u0645\u0628\u0631\u0648\u0643! \u0645\u062a\u062c\u0631\u0643 \u062c\u0627\u0647\u0632 \u0644\u0644\u0639\u0645\u0644<\/h3>\r\n        <p style=\"margin: 10px 0; color: #2c3e50;\"><b>\ud83c\udf10 \u0631\u0627\u0628\u0637 \u0627\u0644\u0645\u062a\u062c\u0631:<\/b> <a id=\"storeLink\" href=\"#\" target=\"_blank\" style=\"color: #2980b9; text-decoration: none;\"><\/a><\/p>\r\n        <p style=\"margin: 10px 0; color: #2c3e50;\"><b>\ud83d\udc64 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645:<\/b> admin<\/p>\r\n        <p style=\"margin: 10px 0; color: #2c3e50;\"><b>\ud83d\udd11 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631:<\/b> password123<\/p>\r\n        <a id=\"adminLink\" href=\"#\" target=\"_blank\" style=\"display: block; margin-top: 20px; padding: 12px; background: #16a085; color: #fff; text-align: center; text-decoration: none; border-radius: 8px; font-weight: bold;\">\u0627\u0644\u062f\u062e\u0648\u0644 \u0644\u0644\u0648\u062d\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0627\u0644\u0622\u0646<\/a>\r\n    <\/div>\r\n<\/div>\r\n\r\n<script>\r\nasync function createStore() {\r\n    const storeName = document.getElementById('storeName').value.trim().toLowerCase().replace(\/[^a-z0-9-]\/g, '');\r\n    if(!storeName) { alert('\u0627\u0644\u0631\u062c\u0627\u0621 \u0643\u062a\u0627\u0628\u0629 \u0627\u0633\u0645 \u0627\u0644\u0645\u062a\u062c\u0631 \u0628\u0627\u0644\u0644\u063a\u0629 \u0627\u0644\u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629!'); return; }\r\n\r\n    document.getElementById('createBtn').style.display = 'none';\r\n    document.getElementById('loadingArea').style.display = 'block';\r\n    document.getElementById('successArea').style.display = 'none';\r\n\r\n    try {\r\n        \/\/ \u0627\u0644\u0631\u0627\u0628\u0637 \u064a\u0634\u064a\u0631 \u0627\u0644\u0622\u0646 \u0625\u0644\u0649 n8n \u0639\u0644\u0649 \u0633\u064a\u0631\u0641\u0631\u0643 \u0627\u0644\u062d\u0642\u064a\u0642\u064a\r\n        const response = await fetch('https:\/\/n8n.wofir.com\/webhook\/create-site', {\r\n            method: 'POST',\r\n            headers: { 'Content-Type': 'application\/json' },\r\n            body: JSON.stringify({ site_name: storeName })\r\n        });\r\n\r\n        if(response.ok) {\r\n            document.getElementById('loadingArea').style.display = 'none';\r\n            document.getElementById('successArea').style.display = 'block';\r\n\r\n            const siteUrl = 'https:\/\/' + storeName;\r\n            document.getElementById('storeLink').href = siteUrl;\r\n            document.getElementById('storeLink').innerText = siteUrl;\r\n            document.getElementById('adminLink').href = siteUrl + '\/wp-admin';\r\n        } else {\r\n            alert('\u062d\u062f\u062b \u062e\u0637\u0623 \u0623\u062b\u0646\u0627\u0621 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u0645\u062a\u062c\u0631. \u062d\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062e\u0631\u0649.');\r\n            document.getElementById('createBtn').style.display = 'block';\r\n            document.getElementById('loadingArea').style.display = 'none';\r\n        }\r\n    } catch (error) {\r\n        alert('\u0644\u0627 \u064a\u0645\u0643\u0646 \u0627\u0644\u0627\u062a\u0635\u0627\u0644 \u0628\u0627\u0644\u0633\u064a\u0631\u0641\u0631. \u062a\u0623\u0643\u062f \u0623\u0646 n8n \u064a\u0639\u0645\u0644.');\r\n        document.getElementById('createBtn').style.display = 'block';\r\n        document.getElementById('loadingArea').style.display = 'none';\r\n    }\r\n}\r\n<\/script>\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>\ud83d\ude80 \u0623\u0646\u0634\u0626 \u0645\u062a\u062c\u0631\u0643 \u0627\u0644\u0627\u062d\u062a\u0631\u0627\u0641\u064a \u0627\u0644\u0622\u0646 \u0627\u062e\u062a\u0631 \u0627\u0633\u0645\u0627\u064b \u0644\u0645\u062a\u062c\u0631\u0643 \u0628\u0627\u0644\u0644\u063a\u0629 \u0627\u0644\u0625\u0646\u062c\u0644\u064a\u0632\u064a\u0629 (\u0645\u062b\u0627\u0644: my-store) \u2728 \u0627\u0628\u062f\u0623 \u0628\u0646\u0627\u0621 \u0627\u0644\u0645\u062a\u062c\u0631 \u062c\u0627\u0631\u064a \u0628\u0646\u0627\u0621 \u0645\u062a\u062c\u0631\u0643 \u0648\u062a\u062c\u0647\u064a\u0632 \u0627\u0644\u0633\u064a\u0631\u0641\u0631\u0627\u062a&#8230; \u0627\u0644\u0631\u062c\u0627\u0621 \u0639\u062f\u0645 \u0625\u063a\u0644\u0627\u0642 \u0647\u0630\u0647 \u0627\u0644\u0635\u0641\u062d\u0629 (\u064a\u0633\u062a\u063a\u0631\u0642 \u062d\u0648\u0627\u0644\u064a 30 \u062b\u0627\u0646\u064a\u0629) \ud83c\udf89 \u0645\u0628\u0631\u0648\u0643! \u0645\u062a\u062c\u0631\u0643 \u062c\u0627\u0647\u0632 \u0644\u0644\u0639\u0645\u0644 \ud83c\udf10 \u0631\u0627\u0628\u0637 \u0627\u0644\u0645\u062a\u062c\u0631: \ud83d\udc64 \u0627\u0633\u0645 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645: admin \ud83d\udd11 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631: password123 \u0627\u0644\u062f\u062e\u0648\u0644 \u0644\u0644\u0648\u062d\u0629 \u0627\u0644\u062a\u062d\u0643\u0645 \u0627\u0644\u0622\u0646<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wofir.com\/index.php?rest_route=\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wofir.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wofir.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wofir.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wofir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8"}],"version-history":[{"count":4,"href":"https:\/\/wofir.com\/index.php?rest_route=\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":13,"href":"https:\/\/wofir.com\/index.php?rest_route=\/wp\/v2\/pages\/8\/revisions\/13"}],"wp:attachment":[{"href":"https:\/\/wofir.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}