{"id":1634,"date":"2026-06-16T15:34:29","date_gmt":"2026-06-16T15:34:29","guid":{"rendered":"https:\/\/adelformation.com\/fr\/formations-interne\/liste\/"},"modified":"2026-06-16T15:34:29","modified_gmt":"2026-06-16T15:34:29","slug":"liste","status":"publish","type":"page","link":"https:\/\/adelformation.com\/en\/formations-interne\/liste\/","title":{"rendered":"Formations"},"content":{"rendered":"<div class=\"adel-wrap\">\n\n    \n    <div id=\"adel-list-view\" class=\"adel-formations-list\">\n\n                    <div class=\"adel-cards\">\n                                <div class=\"adel-card\">\n                                        <div class=\"adel-card-body\">\n                        <div class=\"adel-card-date\">\n                            1 September 2026 \u2014 14h00                        <\/div>\n                        <h3 class=\"adel-card-title\">REZA (en)<\/h3>\n                        <p class=\"adel-card-desc\">REZA (en)<\/p>\n                        <div class=\"adel-card-footer\">\n                            <span class=\"adel-card-prix\">\n                                200,00&nbsp;\u20ac\n                            <\/span>\n                            <button type=\"button\"\n                                    class=\"adel-btn adel-btn-primary adel-btn-sm adel-detail-btn\"\n                                    data-formation-id=\"1\">\n                                Learn more                            <\/button>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                            <\/div>\n        \n    <\/div>\n\n    <div id=\"adel-detail-panel\" style=\"display:none;\"><\/div>\n\n<\/div>\n\n<script>\n(function () {\n    var listView    = document.getElementById('adel-list-view');\n    var detailPanel = document.getElementById('adel-detail-panel');\n    var currentLang = \"en\";\n\n    function showList() {\n        detailPanel.style.display = 'none';\n        detailPanel.innerHTML     = '';\n        listView.style.display    = '';\n        window.scrollTo(0, 0);\n    }\n\n    function loadDetail(formationId, lang) {\n        listView.style.display    = 'none';\n        detailPanel.innerHTML     = '<div style=\"text-align:center;padding:2em;\">Chargement\u2026<\/div>';\n        detailPanel.style.display = '';\n        window.scrollTo(0, 0);\n\n        var body = new FormData();\n        body.append('action',       'adel_formation_detail');\n        body.append('formation_id', formationId);\n        body.append('lang',         lang);\n        body.append('nonce',        adelAjax.nonce);\n\n        fetch(adelAjax.ajaxurl, { method: 'POST', body: body })\n            .then(function (r) { return r.json(); })\n            .then(function (data) {\n                if (data.success) {\n                    detailPanel.innerHTML = data.data.html;\n                    wireDetailPanel(formationId);\n                } else {\n                    detailPanel.innerHTML = '<div class=\"adel-alert adel-alert-error\">Formation introuvable.<\/div>';\n                }\n            })\n            .catch(function () {\n                detailPanel.innerHTML = '<div class=\"adel-alert adel-alert-error\">Erreur de chargement.<\/div>';\n            });\n    }\n\n    function wireDetailPanel(formationId) {\n        var backLink = detailPanel.querySelector('.adel-back-link');\n        if (backLink) {\n            backLink.addEventListener('click', function (e) {\n                e.preventDefault();\n                showList();\n            });\n        }\n\n        var switchBtn = detailPanel.querySelector('.adel-lang-switch');\n        if (switchBtn) {\n            switchBtn.addEventListener('click', function () {\n                loadDetail(formationId, this.dataset.switchLang);\n            });\n        }\n    }\n\n    document.querySelectorAll('.adel-detail-btn').forEach(function (btn) {\n        btn.addEventListener('click', function () {\n            loadDetail(this.dataset.formationId, currentLang);\n        });\n    });\n}());\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":1631,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1634","page","type-page","status-publish","hentry","no-post-thumbnail"],"_links":{"self":[{"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/pages\/1634","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/comments?post=1634"}],"version-history":[{"count":0,"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/pages\/1634\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/pages\/1631"}],"wp:attachment":[{"href":"https:\/\/adelformation.com\/en\/wp-json\/wp\/v2\/media?parent=1634"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}