{"id":793,"date":"2025-05-29T07:46:42","date_gmt":"2025-05-29T05:46:42","guid":{"rendered":"https:\/\/www.bourget-nautic.fr\/?page_id=793"},"modified":"2025-06-02T09:25:53","modified_gmt":"2025-06-02T07:25:53","slug":"test-dd","status":"publish","type":"page","link":"https:\/\/www.bourget-nautic.fr\/de\/test-dd\/","title":{"rendered":"Test DD"},"content":{"rendered":"<!--themify_builder_content-->\n<div id=\"themify_builder_content-793\" data-postid=\"793\" class=\"themify_builder_content themify_builder_content-793 themify_builder tf_clear\">\n                    <div  data-lazy=\"1\" class=\"module_row themify_builder_row tb_qmzw184 tb_first tf_w\">\n                        <div class=\"row_inner col_align_top tb_col_count_1 tf_box tf_rel\">\n                        <div  data-lazy=\"1\" class=\"module_column tb-column col-full tb_6a9e185 first\">\n                    <!-- module text -->\n<div  class=\"module module-text tb_bdj8807   \" data-lazy=\"1\">\n        <div  class=\"tb_text_wrap\">\n        <p>[eebb-debug]<\/p>    <\/div>\n<\/div>\n<!-- \/module text --><!-- module text -->\n<div  class=\"module module-text tb_2bzm190   \" data-lazy=\"1\">\n        <div  class=\"tb_text_wrap\">\n        <div id=\"etat-commerce-bourget\" style=\"min-height: 40px;\"><\/div>\n    <script>\n    (function(){\n        fetch(\"https:\/\/www.bourget-nautic.fr\/wp-admin\/admin-ajax.php?action=ecb_get_etats\")\n        .then(res => res.json())\n        .then(data => {\n            let commerce = \"bourget\";\n            let etat = data[\"etat_\" + commerce];\n            let couleur = (etat === \"ouvert\") ? \"#28a745\" : \"#dc3545\";\n            let texte = (etat === \"ouvert\") ? \"OUVERT, venez nous rejoindre !\" : \"FERM\u00c9, d\u00e9sol\u00e9 la navigation n'est pas possible pour l'instant...\";\n            let html = `<span style=\"display:flex; align-items:center; gap:10px; font-family:inherit; font-size:inherit;\">\n                <span style=\"display:inline-flex; align-items:center; justify-content:center;\n                    background-color:${couleur}; color:#fff; padding:6px 14px; font-weight:bold;\n                    border-radius:0; min-width:90px; height:30px; box-sizing:border-box;\n                    text-transform:uppercase; white-space:nowrap;\">${etat.toUpperCase()}<\/span>\n                <span style=\"white-space: normal;\">${texte}<\/span>\n            <\/span>`;\n            document.getElementById(\"etat-commerce-bourget\").innerHTML = html;\n        });\n    })();\n    <\/script>    <\/div>\n<\/div>\n<!-- \/module text --><!-- module text -->\n<div  class=\"module module-text tb_6nbg978   \" data-lazy=\"1\">\n        <div  class=\"tb_text_wrap\">\n        <div id=\"etat-commerce-brison\" style=\"min-height: 40px;\"><\/div>\n    <script>\n    (function(){\n        fetch(\"https:\/\/www.bourget-nautic.fr\/wp-admin\/admin-ajax.php?action=ecb_get_etats\")\n        .then(res => res.json())\n        .then(data => {\n            let commerce = \"brison\";\n            let etat = data[\"etat_\" + commerce];\n            let couleur = (etat === \"ouvert\") ? \"#28a745\" : \"#dc3545\";\n            let texte = (etat === \"ouvert\") ? \"OUVERT, venez nous rejoindre !\" : \"FERM\u00c9, d\u00e9sol\u00e9 la navigation n'est pas possible pour l'instant...\";\n            let html = `<span style=\"display:flex; align-items:center; gap:10px; font-family:inherit; font-size:inherit;\">\n                <span style=\"display:inline-flex; align-items:center; justify-content:center;\n                    background-color:${couleur}; color:#fff; padding:6px 14px; font-weight:bold;\n                    border-radius:0; min-width:90px; height:30px; box-sizing:border-box;\n                    text-transform:uppercase; white-space:nowrap;\">${etat.toUpperCase()}<\/span>\n                <span style=\"white-space: normal;\">${texte}<\/span>\n            <\/span>`;\n            document.getElementById(\"etat-commerce-brison\").innerHTML = html;\n        });\n    })();\n    <\/script>    <\/div>\n<\/div>\n<!-- \/module text --><!-- module text -->\n<div  class=\"module module-text tb_flwa155   \" data-lazy=\"1\">\n        <div  class=\"tb_text_wrap\">\n        <p>\nhttps:\/\/www.bourget-nautic.fr\/changer-etat-interface?cle=Chorizo2025\n<\/p>    <\/div>\n<\/div>\n<!-- \/module text -->        <\/div>\n                        <\/div>\n        <\/div>\n        <\/div>\n<!--\/themify_builder_content-->","protected":false},"excerpt":{"rendered":"<p>[eebb-debug] https:\/\/www.bourget-nautic.fr\/changer-etat-interface?cle=Chorizo2025<\/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-793","page","type-page","status-publish","hentry","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"builder_content":"<p>[eebb-debug]<\/p>\n<p>[etat_bourget]<\/p>\n<p>[etat_brison]<\/p>\n<p>https:\/\/www.bourget-nautic.fr\/changer-etat-interface?cle=Chorizo2025<\/p>","_links":{"self":[{"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/pages\/793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/comments?post=793"}],"version-history":[{"count":5,"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/pages\/793\/revisions"}],"predecessor-version":[{"id":862,"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/pages\/793\/revisions\/862"}],"wp:attachment":[{"href":"https:\/\/www.bourget-nautic.fr\/de\/wp-json\/wp\/v2\/media?parent=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}