{"id":121,"date":"2024-03-11T16:01:42","date_gmt":"2024-03-11T15:01:42","guid":{"rendered":"https:\/\/goodmarning.com\/index.php\/reservation\/"},"modified":"2025-03-03T13:43:53","modified_gmt":"2025-03-03T12:43:53","slug":"reservation","status":"publish","type":"page","link":"https:\/\/goodmarning.com\/en\/reservation\/","title":{"rendered":"Book now"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"121\" class=\"elementor elementor-121\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4240eeef elementor-section-height-min-height elementor-section-boxed elementor-section-height-default elementor-section-items-middle\" data-id=\"4240eeef\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;slideshow&quot;,&quot;background_slideshow_gallery&quot;:[{&quot;id&quot;:205,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/reservation.webp&quot;},{&quot;id&quot;:201,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/chalon-en-champagne.webp&quot;},{&quot;id&quot;:199,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/a-propos.webp&quot;},{&quot;id&quot;:200,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/cgv.webp&quot;},{&quot;id&quot;:202,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/confidentialite.webp&quot;},{&quot;id&quot;:203,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/contact.webp&quot;},{&quot;id&quot;:204,&quot;url&quot;:&quot;https:\\\/\\\/goodmarning.com\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/mentions-legales.webp&quot;}],&quot;background_slideshow_ken_burns&quot;:&quot;yes&quot;,&quot;background_slideshow_loop&quot;:&quot;yes&quot;,&quot;background_slideshow_slide_duration&quot;:5000,&quot;background_slideshow_slide_transition&quot;:&quot;fade&quot;,&quot;background_slideshow_transition_duration&quot;:500,&quot;background_slideshow_ken_burns_zoom_direction&quot;:&quot;in&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-10cea95f\" data-id=\"10cea95f\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3d7cc320 elementor-widget elementor-widget-heading\" data-id=\"3d7cc320\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Book your stay<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-730e09bb elementor-widget elementor-widget-heading\" data-id=\"730e09bb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">You are 2 clicks away from an extraordinary experience<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3aa4f0b0 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"3aa4f0b0\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-36c2f187\" data-id=\"36c2f187\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-65ec4c7 elementor-widget elementor-widget-html\" data-id=\"65ec4c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<iframe id=\"bookingengine\" allowfullscreen src=\"\" style=\"display: block;\" width=\"100%\" height=\"5500px\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n\n<script>\n    document.addEventListener(\"DOMContentLoaded\", function () {\n        const urlParams = new URLSearchParams(window.location.search);\n\n        \/\/ R\u00e9cup\u00e9ration des param\u00e8tres\n        const checkin = urlParams.get(\"checkin\") || null;\n        const checkout = urlParams.get(\"checkout\") || null;\n        const adults = urlParams.get(\"adults\") || 0;\n        const children = urlParams.get(\"children\") || 0;\n        const appart = urlParams.get(\"appart\") || null;\n\n        \/\/ D\u00e9tection de la langue : Fran\u00e7ais par d\u00e9faut\n        let lang = \"fr\"; \/\/ Langue par d\u00e9faut\n        const htmlLang = document.documentElement.lang; \/\/ Langue via TranslatePress\n\n        if (htmlLang && htmlLang.startsWith(\"en\")) {\n            lang = \"en\"; \/\/ Utiliser anglais si TranslatePress d\u00e9tecte la langue\n        }\n\n        const iframe = document.getElementById(\"bookingengine\");\n        if (!iframe) {\n            console.error(\"Iframe non trouv\u00e9 !\");\n            return;\n        }\n\n        \/\/ Construire l'URL de l'iframe\n        let iframeUrl = \"https:\/\/app.superhote.com\/#\/get-available-rentals\/25DIRRh7ZYqnrOjsdaYvkCCdA\";\n        if (checkin && checkout) {\n            iframeUrl += `?startDate=${checkin}&endDate=${checkout}&adultsNumber=${adults}&childrenNumber=${children}&lang=${lang}`;\n        } else {\n            iframeUrl += `?lang=${lang}`;\n        }\n\n        if (appart) {\n            iframeUrl += `&appart=${appart}`;\n        }\n\n        \/\/ Attribuer l'URL \u00e0 l'iframe\n        iframe.src = iframeUrl;\n    });\n<\/script>\n\n<style>\n    .main-content-container {\n        width: 100%;\n        max-width: 100%;\n        padding: 0;\n        margin: 0;\n    }\n    .gdlr-main-content {\n        margin: 0 !important;\n    }\n    .gdlr-main-content p {\n        margin: 0 !important;\n    }\n    .body-wrapper.gdlr-header-transparent .gdlr-page-title-wrapper {\n        padding-top: 120px;\n        padding-bottom: 40px;\n    }\n<\/style>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>V\u00e9rifiez la disponibilit\u00e9 des logements GoodMarning et pr\u00e9parez vos valises pour un s\u00e9jour inoubliable.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-121","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/pages\/121","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/comments?post=121"}],"version-history":[{"count":86,"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/pages\/121\/revisions"}],"predecessor-version":[{"id":1692,"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/pages\/121\/revisions\/1692"}],"wp:attachment":[{"href":"https:\/\/goodmarning.com\/en\/wp-json\/wp\/v2\/media?parent=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}