{"id":16512,"date":"2024-05-09T17:39:28","date_gmt":"2024-05-09T15:39:28","guid":{"rendered":"https:\/\/ede2.pensivo.com\/?page_id=16512"},"modified":"2025-11-10T15:37:51","modified_gmt":"2025-11-10T14:37:51","slug":"login-page","status":"publish","type":"page","link":"https:\/\/ede2.pensivo.com\/fr\/login-page\/","title":{"rendered":"Login"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"16512\" class=\"elementor elementor-16512\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-901b036 elementor-section-boxed elementor-section-height-default elementor-section-height-default exad-glass-effect-no wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no exad-sticky-section-no\" data-id=\"901b036\" 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-800cda4 exad-glass-effect-no exad-sticky-section-no\" data-id=\"800cda4\" 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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-dca76ad elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default exad-glass-effect-no wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no wpr-equal-height-no exad-sticky-section-no\" data-id=\"dca76ad\" 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-50 elementor-inner-column elementor-element elementor-element-dc06118 exad-glass-effect-no exad-sticky-section-no elementor-invisible\" data-id=\"dc06118\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;zoomIn&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ecd912e exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"ecd912e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>Si vous recherchez l'un des cours ci-dessous, cliquez sur le bouton <strong>SE CONNECTER <\/strong>button<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-277a407 exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-html\" data-id=\"277a407\" 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<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n  <meta charset=\"UTF-8\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n  <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/5.15.3\/css\/all.min.css\">\r\n<style>\r\n.container {\r\n  width: 100%;\r\n  margin: 10px auto;\r\n  padding: 10px;\r\n  font-family: Arial, sans-serif;\r\n}\r\n\r\n.course {\r\n  display: flex;\r\n  justify-content: space-between;\r\n  align-items: center;\r\n  width: 100%;\r\n  color: #fff;\r\n  border-bottom: 1px solid #ddd;\r\n  margin: 10px auto;\r\n  padding: 15px; \r\n  box-sizing: border-box;\r\n  overflow: hidden;\r\n  transition: max-height 0.3s ease-in-out;\r\n}\r\n\r\n.location {\r\n  font-weight: bold;\r\n  color: #fff;\r\n  font-weight: 700;\r\n}\r\n\r\n.date {\r\n  color: #fff;\r\n  margin-left: auto;\r\n  font-weight: 700;\r\n}\r\n\r\n.btn-container{\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n}\r\n\r\n#login-btn-class{\r\n    color:white;\r\n    background-color:#616161;\r\n    padding: 10px 40px;\r\n    border-radius: 4px;\r\n    transition: 0.3s;\r\n}\r\n\r\n#login-btn-class:hover{\r\n    background-color: #616161;\r\n}\r\n\r\n    \/* New class to center everything *\/\r\n    #loadingContent {\r\n      margin-top: 20px;\r\n      text-align: center;\r\n      color: white;\r\n      display: none; \/* Initially hidden *\/\r\n    }\r\n\r\n    \/* Styling for the loading indicator and text *\/\r\n    #loadingIndicator {\r\n      display: block;\r\n      width: 100px;\r\n      margin: 20px auto;\r\n    }\r\n\r\n    #loadingText {\r\n      font-size: 18px;\r\n      font-weight: 600;\r\n      margin-top: 10px;\r\n    }\r\n\r\n<\/style>\r\n<\/head>\r\n\r\n<body>\r\n      <div class=\"btn-container\">\r\n  <a href=\"https:\/\/live-ede2.pensivo.com\/login\" id=\"login-btn-class\">SE CONNECTER<\/a>\r\n  <\/div>\r\n<div id=\"courseList\" class=\"container\">\r\n    <!-- Loading GIF and text appear while fetching -->\r\n    <div id=\"loadingContent\">\r\n      <img decoding=\"async\" id=\"loadingIndicator\" src=\"https:\/\/ede2.pensivo.com\/wp-content\/uploads\/2025\/03\/loadingProcess.gif\" alt=\"Loading...\">\r\n      <p id=\"loadingText\">Loading, please wait...<\/p>\r\n    <\/div>\r\n  <\/div>\r\n<script>\r\nvar loginBtn = document.getElementById('login-btn-class');\r\nconst loadingContent = document.getElementById('loadingContent');\r\nconst isFrenchURL = window.location.href.includes(\"\/fr\/\");\r\n\/\/ Set the loading text based on the language\r\nconst loadingText = isFrenchURL ? \"Chargement, veuillez patienter...\" : \"Loading, please wait...\";\r\n\/\/ Update the loading text in the DOM\r\nconst loadingTextElement = document.getElementById('loadingText');\r\nloadingTextElement.textContent = loadingText;\r\n\/\/ Show loading content while fetching\r\nloadingContent.style.display = 'block';\r\nfetch('https:\/\/apilive2.pensivo.com\/api\/v1\/p1\/Public\/forkedLogic', {\r\n  headers: {\r\n      'accept': '*\/*',\r\n      'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMzEwNzUiLCJzdWIiOiIzMTA3NSIsImZpcnN0TmFtZSI6IlN1cGVyIiwibGFzdE5hbWUiOiJBZG1pbiIsImVtYWlsIjoiamNoYXJldHRlQHBlbnNpdm8uY29tIiwicm9sZSI6IldvcmRwcmVzcyIsImF1ZCI6InBlbnNpdm8iLCJqdGkiOiI0YjI2YWQ5ZS05NDI4LTRjYTktODIyZS01YjRjMWM2MjlmNzciLCJleHAiOjIwMjk4MjY4MzksImlzcyI6Imh0dHBzOi8vcGVuc2l2by5jb20vIn0.2emPQkxoEkCmmovLO65GyQme8lovdh5PuJ6vhZHbg4o'\r\n  }\r\n}).then(response => response.json())\r\n    .then(data => {\r\n        const courseList = document.getElementById('courseList');\r\n        loadingContent.style.display = 'none';\r\n\r\n        \/\/ const sortedCourses = data.sort((a, b) => {\r\n        \/\/     const yearA = parseInt(a.date.slice(-4));\r\n        \/\/     const yearB = parseInt(b.date.slice(-4));\r\n        \/\/     return yearB - yearA;\r\n        \/\/ });\r\n\r\n        data.new_site_details.events.forEach(course => {\r\n            const isFrenchURL = window.location.href.includes(\"\/fr\/\");\r\n            const location = isFrenchURL ? course.title_fr : course.title_en;\r\n            const date = isFrenchURL ? course.date_range_fr : course.date_range_en;\r\n\r\n            const courseDiv = document.createElement('div');\r\n            courseDiv.className = 'course';\r\n\r\n            const locationDiv = document.createElement('div');\r\n            locationDiv.className = 'location';\r\n            locationDiv.textContent = location;\r\n\r\n            const dateDiv = document.createElement('div');\r\n            dateDiv.className = 'date';\r\n            dateDiv.textContent = date;\r\n\r\n            courseDiv.appendChild(locationDiv);\r\n            courseDiv.appendChild(dateDiv);\r\n\r\n            courseList.appendChild(courseDiv);\r\n        });\r\n        loginBtn.href=data.new_site_details.login_url;\r\n    });\r\n<\/script>\r\n\r\n<\/body>\r\n<\/html>\r\n\r\n\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<div class=\"elementor-column elementor-col-50 elementor-inner-column elementor-element elementor-element-4601f56 exad-glass-effect-no exad-sticky-section-no elementor-invisible\" data-id=\"4601f56\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;,&quot;animation&quot;:&quot;zoomIn&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-670ae69 exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"670ae69\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2>Si vous cherchez autre chose, cliquez sur le bouton <strong>SE CONNECTER<\/strong> button\u200b<\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-611a694 exad-sticky-section-no exad-glass-effect-no elementor-widget elementor-widget-html\" data-id=\"611a694\" 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<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n  <meta charset=\"UTF-8\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n  <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/5.15.3\/css\/all.min.css\">\r\n<style>\r\n\r\n.btn-container{\r\n    display: flex;\r\n    align-items: center;\r\n    justify-content: center;\r\n    width: 100%;\r\n  margin: 10px auto;\r\n  padding: 10px;\r\n  font-family: Arial, sans-serif;\r\n}\r\n\r\n#old-login-btn-class{\r\n    color:white;\r\n    background-color:#616161;\r\n    padding: 10px 40px;\r\n    border-radius: 4px;\r\n    transition: 0.3s;\r\n}\r\n\r\n#login-btn-class:hover{\r\n    background-color: #616161;\r\n}\r\n<\/style>\r\n<\/head>\r\n\r\n<body>\r\n  <div class=\"btn-container\">\r\n  <a href=\"https:\/\/legacy-ede2.pensivo.com\/index.php?fuseaction=public.login\" id=\"old-login-btn-class\">SE CONNECTER<\/a>\r\n  <\/div>\r\n<script>\r\nconst loginBtnOld = document.getElementById('old-login-btn-class');\r\nfetch('https:\/\/apilive2.pensivo.com\/api\/v1\/p1\/Public\/forkedLogic', {\r\n  headers: {\r\n      'accept': '*\/*',\r\n      'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9uYW1lIjoiMzEwNzUiLCJzdWIiOiIzMTA3NSIsImZpcnN0TmFtZSI6IlN1cGVyIiwibGFzdE5hbWUiOiJBZG1pbiIsImVtYWlsIjoiamNoYXJldHRlQHBlbnNpdm8uY29tIiwicm9sZSI6IldvcmRwcmVzcyIsImF1ZCI6InBlbnNpdm8iLCJqdGkiOiI0YjI2YWQ5ZS05NDI4LTRjYTktODIyZS01YjRjMWM2MjlmNzciLCJleHAiOjIwMjk4MjY4MzksImlzcyI6Imh0dHBzOi8vcGVuc2l2by5jb20vIn0.2emPQkxoEkCmmovLO65GyQme8lovdh5PuJ6vhZHbg4o'\r\n  }\r\n}).then(response => response.json())\r\n    .then(data => {\r\n\r\n        \/\/ const sortedCourses = data.sort((a, b) => {\r\n        \/\/     const yearA = parseInt(a.date.slice(-4));\r\n        \/\/     const yearB = parseInt(b.date.slice(-4));\r\n        \/\/     return yearB - yearA;\r\n        \/\/ });\r\n\r\n        loginBtnOld.href= data.old_site_details.login_url;\r\n    });\r\n<\/script>\r\n\r\n<\/body>\r\n<\/html>\r\n\r\n\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\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>If you are looking for any of the courses listed below, click this LOGIN button LOGIN Loading, please wait&#8230; If you are looking for anything else, click this LOGIN button\u200b LOGIN<\/p>","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"_eb_attr":"","footnotes":""},"class_list":["post-16512","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/pages\/16512","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/comments?post=16512"}],"version-history":[{"count":25,"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/pages\/16512\/revisions"}],"predecessor-version":[{"id":17142,"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/pages\/16512\/revisions\/17142"}],"wp:attachment":[{"href":"https:\/\/ede2.pensivo.com\/fr\/wp-json\/wp\/v2\/media?parent=16512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}