{"id":52,"date":"2026-10-08T00:47:31","date_gmt":"2026-10-07T22:47:31","guid":{"rendered":"https:\/\/demo.swissai.dev\/pizzeria\/ru\/agenda\/"},"modified":"2026-10-08T00:47:31","modified_gmt":"2026-10-07T22:47:31","slug":"agenda","status":"publish","type":"page","link":"https:\/\/demo.swissai.dev\/pizzeria\/ru\/agenda\/","title":{"rendered":"\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435"},"content":{"rendered":"\n<div class=\"wp-block-group sd-section sd-page-head has-global-padding is-layout-constrained wp-container-core-group-is-layout-d1c35fb7 wp-block-group-is-layout-constrained\">\n\n<p class=\"sd-eyebrow\">\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/p><h1>\u0411\u0440\u043e\u043d\u0438, \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c<\/h1><p class=\"sd-lead\">\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0435\u0441\u0442\u044c \u0434\u043d\u0435\u0439, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 \u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434. \u0418\u043c\u0435\u043d\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u044b, \u043d\u043e\u043c\u0435\u0440\u0430 \u0441\u043a\u0440\u044b\u0442\u044b: \u044d\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u0439. \u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u043e\u0447\u044c \u0432 \u0447\u0435\u0442\u044b\u0440\u0435 \u0447\u0430\u0441\u0430.<\/p>\n\n<\/div>\n\n\n<div class=\"wp-block-group sd-section sd-last has-global-padding is-layout-constrained wp-container-core-group-is-layout-d1c35fb7 wp-block-group-is-layout-constrained\">\n\n<div class=\"sd-agenda\" id=\"sd-agenda-1\" data-cfg=\"{&quot;ajax&quot;:&quot;https:\\\/\\\/demo.swissai.dev\\\/pizzeria\\\/wp-admin\\\/admin-ajax.php&quot;,&quot;type&quot;:&quot;tables&quot;,&quot;business&quot;:&quot;restaurant&quot;,&quot;lang&quot;:&quot;ru&quot;,&quot;labels&quot;:{&quot;time&quot;:&quot;\\u0412\\u0440\\u0435\\u043c\\u044f&quot;,&quot;service&quot;:&quot;\\u0423\\u0441\\u043b\\u0443\\u0433\\u0430&quot;,&quot;people&quot;:&quot;\\u0413\\u043e\\u0441\\u0442\\u0435\\u0439&quot;,&quot;name&quot;:&quot;\\u0418\\u043c\\u044f&quot;,&quot;phone&quot;:&quot;\\u0422\\u0435\\u043b\\u0435\\u0444\\u043e\\u043d&quot;,&quot;today&quot;:&quot;\\u0441\\u0435\\u0433\\u043e\\u0434\\u043d\\u044f&quot;,&quot;updated&quot;:&quot;\\u041e\\u0431\\u043d\\u043e\\u0432\\u043b\\u0435\\u043d\\u043e \\u0432&quot;,&quot;empty&quot;:&quot;\\u043d\\u0435\\u0442 \\u0437\\u0430\\u043f\\u0438\\u0441\\u0435\\u0439 \\u043d\\u0430 \\u0431\\u043b\\u0438\\u0436\\u0430\\u0439\\u0448\\u0438\\u0435 \\u0441\\u0435\\u043c\\u044c \\u0434\\u043d\\u0435\\u0439&quot;,&quot;error&quot;:&quot;\\u0420\\u0430\\u0441\\u043f\\u0438\\u0441\\u0430\\u043d\\u0438\\u0435 \\u0441\\u0435\\u0439\\u0447\\u0430\\u0441 \\u043d\\u0435\\u0434\\u043e\\u0441\\u0442\\u0443\\u043f\\u043d\\u043e.&quot;,&quot;min&quot;:&quot;\\u043c\\u0438\\u043d&quot;},&quot;names&quot;:[]}\"><p class=\"sd-agenda-status\"><\/p><div class=\"sd-agenda-days\"><\/div><\/div><script>(function () {\n\tvar box = document.getElementById(\"sd-agenda-1\");\n\tvar cfg = JSON.parse(box.getAttribute('data-cfg'));\n\tvar L = cfg.labels, status = box.querySelector('.sd-agenda-status'), days = box.querySelector('.sd-agenda-days');\n\tfunction esc(s) { return String(s).replace(\/[&<>\"]\/g, function (c) { return { '&': '&amp;', '<': '&lt;', '>': '&gt;', '\"': '&quot;' }[c]; }); }\n\tfunction render(d) {\n\t\tif (d.error) { status.textContent = L.error || d.error; return; }\n\t\tstatus.textContent = (L.updated || 'Updated') + ' ' + d.updated + (d.count ? '' : ' \u00b7 ' + (L.empty || ''));\n\t\tvar h = '';\n\t\td.days.forEach(function (day) {\n\t\t\th += '<section class=\"sd-agenda-day' + (day.today ? ' is-today' : '') + '\"><h3>' + esc(day.label) + (day.today ? ' <span>' + esc(L.today || '') + '<\/span>' : '') + '<\/h3><table><thead><tr><th>' + esc(L.time || '') + '<\/th><th>' + esc(cfg.type === 'tables' ? (L.people || '') : (L.service || '')) + '<\/th><th>' + esc(L.name || '') + '<\/th><th>' + esc(L.phone || '') + '<\/th><\/tr><\/thead><tbody>';\n\t\t\tday.rows.forEach(function (r) {\n\t\t\t\tvar what = cfg.type === 'tables' ? esc(r.what) : esc(cfg.names[r.what] || r.what) + (r.minutes ? ' <small>' + r.minutes + ' ' + esc(L.min || 'min') + '<\/small>' : '');\n\t\t\t\th += '<tr><td>' + esc(r.time) + '<\/td><td>' + what + '<\/td><td>' + esc(r.name) + '<\/td><td>' + esc(r.phone) + '<\/td><\/tr>';\n\t\t\t});\n\t\t\th += '<\/tbody><\/table><\/section>';\n\t\t});\n\t\tdays.innerHTML = h;\n\t}\n\tfunction load() {\n\t\tfetch(cfg.ajax + '?action=sd_agenda&type=' + cfg.type + '&business=' + encodeURIComponent(cfg.business) + '&lang=' + cfg.lang, { cache: 'no-store' })\n\t\t\t.then(function (r) { return r.json(); }).then(render).catch(function () { status.textContent = L.error || 'Error'; });\n\t}\n\tload();\n\tsetInterval(load, 20000);\n})();<\/script>\n\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0411\u0440\u043e\u043d\u0438, \u043f\u0440\u0438\u043d\u044f\u0442\u044b\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442\u043e\u043c \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0448\u0435\u0441\u0442\u044c \u0434\u043d\u0435\u0439, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u044b\u0435 \u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044c \u0441\u0435\u043a\u0443\u043d\u0434. \u0418\u043c\u0435\u043d\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u044b, \u043d\u043e\u043c\u0435\u0440\u0430 \u0441\u043a\u0440\u044b\u0442\u044b: \u044d\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u0435\u0442\u0438\u0442\u0435\u043b\u0435\u0439. \u0420\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u043e\u0447\u044c \u0432 \u0447\u0435\u0442\u044b\u0440\u0435 \u0447\u0430\u0441\u0430.<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":28,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-52","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/pages\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":1,"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/pages\/52\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/pages\/52\/revisions\/53"}],"up":[{"embeddable":true,"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/pages\/28"}],"wp:attachment":[{"href":"https:\/\/demo.swissai.dev\/pizzeria\/wp-json\/wp\/v2\/media?parent=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}