{"id":92,"date":"2025-02-27T12:50:54","date_gmt":"2025-02-27T09:50:54","guid":{"rendered":"http:\/\/localhost\/?page_id=92"},"modified":"2025-03-25T15:39:57","modified_gmt":"2025-03-25T12:39:57","slug":"%d0%be%d0%bd%d0%bb%d0%b0%d0%b9%d0%bd-%d0%b1%d1%80%d0%be%d0%bd%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d0%b5","status":"publish","type":"page","link":"https:\/\/www.soliru.ru\/?page_id=92","title":{"rendered":"\u041e\u043d\u043b\u0430\u0439\u043d \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435"},"content":{"rendered":"        <div class=\"grock-calendary\">\r\n\t\t    <form id=\"grock-booking-form\" class=\"grock-calendary-form\">\r\n\t\t\t<style>\r\n\t\t\t.address-clickable {\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t\ttext-decoration: underline;\r\n\t\t\t\tcolor: blue;\r\n\t\t\t}\r\n\r\n\t\t\t.address-modal {\r\n\t\t\t\tdisplay: none;\r\n\t\t\t\tposition: fixed;\r\n\t\t\t\tz-index: 2000;\r\n\t\t\t\tleft: 0;\r\n\t\t\t\ttop: 0;\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tbackground-color: rgba(0,0,0,0.5);\r\n\t\t\t}\r\n\r\n\t\t\t.address-modal-content {\r\n\t\t\t\tbackground-color: #fefefe;\r\n\t\t\t\tmargin: 15% auto;\r\n\t\t\t\tpadding: 20px;\r\n\t\t\t\tborder: 1px solid #888;\r\n\t\t\t\twidth: 80%;\r\n\t\t\t\tmax-width: 500px;\r\n\t\t\t\tborder-radius: 8px;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t}\r\n\r\n\t\t\t.close-address-modal {\r\n\t\t\t\tcolor: #aaa;\r\n\t\t\t\tfloat: right;\r\n\t\t\t\tfont-size: 28px;\r\n\t\t\t\tfont-weight: bold;\r\n\t\t\t\tcursor: pointer;\r\n\t\t\t}\r\n\r\n\t\t\t.close-address-modal:hover {\r\n\t\t\t\tcolor: black;\r\n\t\t\t}\r\n\t\t\t<\/style>\r\n\r\n\t\t\t<div style=\"color: red;\"><center>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \u041f\u043e\u043b\u043d\u044b\u0439 <span onclick=\"openAddressModal()\" class=\"address-clickable\">\u0430\u0434\u0440\u0435\u0441<\/span> \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0430. \u0411\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b!<\/center><\/div>\r\n\r\n\t\t\t<!-- \u041c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0434\u043b\u044f \u0430\u0434\u0440\u0435\u0441\u0430 -->\r\n\t\t\t<div id=\"address-modal\" class=\"address-modal\">\r\n\t\t\t\t<div class=\"address-modal-content\">\r\n\t\t\t\t\t<span class=\"close-address-modal\" onclick=\"closeAddressModal()\">&times;<\/span>\r\n\t\t\t\t\t<h3>\u041d\u043e\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441<\/h3>\r\n\t\t\t\t\t<p style=\"font-size: 18px; margin: 20px 0;\">\u041c\u0443\u0440\u0438\u043d\u043e, \u043f\u0440-\u0442 \u041c\u0435\u043d\u0434\u0435\u043b\u0435\u0435\u0432\u0430, \u0434.11 \u043a\u043e\u0440\u043f\u0443\u0441 2, 1-\u0439 \u043f\u043e\u0434\u044a\u0435\u0437\u0434, 13 \u044d\u0442\u0430\u0436, \u041a\u043e\u043c\u043d\u0430\u0442\u0430 110.<\/p>\r\n\t\t\t\t\t<button onclick=\"closeAddressModal()\" style=\"padding: 10px 20px; background: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer;\">\u0417\u0430\u043a\u0440\u044b\u0442\u044c<\/button>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\r\n\t\t\t\t<script>\r\n\t\t\t\tfunction openAddressModal() {\r\n\t\t\t\t\tdocument.getElementById('address-modal').style.display = 'block';\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfunction closeAddressModal() {\r\n\t\t\t\t\tdocument.getElementById('address-modal').style.display = 'none';\r\n\t\t\t\t}\r\n\r\n\t\t\t\t\/\/ \u0417\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u043f\u0440\u0438 \u043a\u043b\u0438\u043a\u0435 \u0432\u043d\u0435 \u0435\u0433\u043e\r\n\t\t\t\twindow.onclick = function(event) {\r\n\t\t\t\t\tvar modal = document.getElementById('address-modal');\r\n\t\t\t\t\tif (event.target == modal) {\r\n\t\t\t\t\t\tmodal.style.display = 'none';\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t<\/script><br>\r\n                <select name=\"category\" id=\"grock-category-select\" required>\r\n                    <option value=\"\">\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e<\/option>\r\n                    <option value='1'>\u041e\u0431\u0449\u0438\u0439 \u043c\u0430\u0441\u0441\u0430\u0436<\/option><option value='3'>\u041c\u0430\u0441\u0441\u0430\u0436 \u043b\u0438\u0446\u0430<\/option><option value='5'>\u041c\u0430\u0441\u0441\u0430\u0436 \u0441\u043f\u0438\u043d\u044b<\/option><option value='6'>\u0410\u043d\u0442\u0438\u0446\u0435\u043b\u043b\u044e\u043b\u0438\u0442\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0430\u0436<\/option><option value='7'>\u041b\u0438\u043c\u0444\u043e\u0434\u0440\u0435\u043d\u0430\u0436\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0430\u0436<\/option><option value='8'>\u0420\u0435\u043b\u0430\u043a\u0441\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u043c\u0430\u0441\u0441\u0430\u0436<\/option><option value='10'>\u041c\u0430\u0441\u0441\u0430\u0436 \u0434\u043b\u044f \u0431\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445<\/option><option value='11'>\u0421\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u044b\u0439<\/option><option value='12'>\u041c\u0430\u043d\u0438\u043a\u044e\u0440<\/option>                <\/select>\r\n                \r\n                <select name=\"service\" id=\"grock-service-select\" required>\r\n                    <option value=\"\">\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0443\u0441\u043b\u0443\u0433\u0443<\/option>\r\n                <\/select>\r\n                \r\n                <div id=\"grock-service-price\"><\/div>\r\n                \r\n                <input type=\"text\" id=\"date\" name=\"date\" placeholder=\"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0434\u0430\u0442\u0443\" readonly required>\r\n                <div id=\"grock-calendar\"><\/div>\r\n                \r\n                <div id=\"grock-time-container\"><\/div>\r\n                \r\n                <input type=\"text\" name=\"name\" id=\"name\" placeholder=\"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u043f\u043e\u043b\u043d\u043e\u0435 \u0438\u043c\u044f\" required>\r\n                \r\n                <input type=\"tel\" name=\"phone\" id=\"phone\" placeholder=\"\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430\" required>\r\n                \r\n                <div class=\"telegram-checkbox-wrapper\">\r\n\t\t\t\t\t<input type=\"checkbox\" name=\"telegram_booking\" id=\"telegram-booking\" value=\"1\">\r\n\t\t\t\t\t<label for=\"telegram-booking\" class=\"telegram-checkbox-label\">\u0427\u0435\u0440\u0435\u0437 Telegram<\/label>\r\n\t\t\t\t<\/div>\r\n                \r\n                <input type=\"email\" name=\"email\" id=\"email\" placeholder=\"\u0410\u0434\u0440\u0435\u0441 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u044b\" required>\r\n                \r\n                <button type=\"submit\">\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/button>\r\n\t\t\t\t<div><center><h6>\u0423\u0441\u043b\u0443\u0433\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445!<\/h6><\/center><\/div>\r\n            <\/form>\r\n\r\n            <!-- \u041c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0434\u043b\u044f Telegram -->\r\n            <div id=\"telegram-modal\" class=\"telegram-modal\">\r\n                <div class=\"telegram-modal-content\">\r\n                    <h2>\u0417\u0430\u043f\u0438\u0441\u044c \u0447\u0435\u0440\u0435\u0437 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c<\/h2>\r\n                    <p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u0431\u0440\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f\u0445 \u0432 Telegram, \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0430\u0433\u0438:<\/p>\r\n                    <ol>\r\n                        <li>\u041e\u0442\u043a\u0440\u043e\u0439\u0442\u0435 Telegram \u0438 \u043d\u0430\u0439\u0434\u0438\u0442\u0435 \u0431\u043e\u0442\u0430 <strong><a href=\"https:\/\/t.me\/SoliruBot\">@SoliruBot<\/a><\/strong>.<\/li>\r\n                        <li>\u041d\u0430\u0436\u043c\u0438\u0442\u0435 <strong>\/start<\/strong> \u0432 \u0447\u0430\u0442\u0435 \u0441 \u0431\u043e\u0442\u043e\u043c.<\/li>\r\n                        <li>\u041d\u0430\u0436\u043c\u0438\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 <strong>\"\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f\"<\/strong>.<\/li>\r\n                        <li>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0432\u0430\u0448 Telegram \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u043d\u043e\u043c\u0435\u0440\u043e\u043c \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432 \u044d\u0442\u043e\u0439 \u0444\u043e\u0440\u043c\u0435.<\/li>\r\n                    <\/ol>\r\n                    <p>\u041f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438, \u0432\u0441\u0435 \u0437\u0430\u044f\u0432\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u0412\u0430\u0448 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c<\/p>\r\n                    <button id=\"telegram-understood\">\u0412\u0441\u0451 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c...<\/button>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        <script>\r\n            jQuery(document).ready(function($) {\r\n                const checkbox = $('#telegram-booking');\r\n                const modal = $('#telegram-modal');\r\n                const understoodBtn = $('#telegram-understood');\r\n                const emailField = $('#email');\r\n\r\n                \/\/ \u0424\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u043b\u044f email\r\n                function toggleEmailField() {\r\n                    if (checkbox.is(':checked')) {\r\n                        emailField.hide().removeAttr('required'); \/\/ \u0421\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0438 \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\r\n                    } else {\r\n                        emailField.show().attr('required', 'required'); \/\/ \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\r\n                    }\r\n                }\r\n\r\n                \/\/ \u041f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u043f\u0440\u0438 \u043a\u043b\u0438\u043a\u0435 \u043d\u0430 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\r\n                checkbox.on('click', function(e) {\r\n                    if (!this.checked) {\r\n                        toggleEmailField(); \/\/ \u0415\u0441\u043b\u0438 \u0447\u0435\u043a\u0431\u043e\u043a\u0441 \u0441\u043d\u044f\u0442, \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c\r\n                        return;\r\n                    }\r\n                    e.preventDefault(); \/\/ \u041f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u0433\u0430\u043b\u043e\u0447\u043a\u0438 \u0434\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044f \"\u042f \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u043b\"\r\n                    modal.show();\r\n                });\r\n\r\n                \/\/ \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u043a\u043d\u043e \u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u0433\u0430\u043b\u043e\u0447\u043a\u0443 \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \"\u042f \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u043b\"\r\n                understoodBtn.on('click', function() {\r\n                    modal.hide();\r\n                    checkbox.prop('checked', true); \/\/ \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0433\u0430\u043b\u043e\u0447\u043a\u0443\r\n                    toggleEmailField(); \/\/ \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u044f email\r\n                });\r\n\r\n                \/\/ \u0417\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u043f\u0440\u0438 \u043a\u043b\u0438\u043a\u0435 \u0432\u043d\u0435 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430\r\n                modal.on('click', function(e) {\r\n                    if (e.target === this) {\r\n                        modal.hide();\r\n                    }\r\n                });\r\n\r\n                \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u043f\u043e\u043b\u044f email \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b\r\n                toggleEmailField();\r\n\r\n                \/\/ \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u0430\r\n                checkbox.on('change', toggleEmailField);\r\n            });\r\n        <\/script>\r\n        \n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-92","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.soliru.ru\/index.php?rest_route=\/wp\/v2\/pages\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soliru.ru\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.soliru.ru\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.soliru.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soliru.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=92"}],"version-history":[{"count":47,"href":"https:\/\/www.soliru.ru\/index.php?rest_route=\/wp\/v2\/pages\/92\/revisions"}],"predecessor-version":[{"id":587,"href":"https:\/\/www.soliru.ru\/index.php?rest_route=\/wp\/v2\/pages\/92\/revisions\/587"}],"wp:attachment":[{"href":"https:\/\/www.soliru.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}