{"id":61,"date":"2026-04-11T16:02:51","date_gmt":"2026-04-11T16:02:51","guid":{"rendered":"http:\/\/myimmolib.com\/?page_id=61"},"modified":"2026-04-11T16:04:47","modified_gmt":"2026-04-11T16:04:47","slug":"espace-locataires","status":"publish","type":"page","link":"https:\/\/myimmolib.com\/index.php\/espace-locataires\/","title":{"rendered":"Espace locataires"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"fr\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>Acc\u00e8s prot\u00e9g\u00e9<\/title>\n  <style>\n    body {\n      font-family: Arial, sans-serif;\n      background-color: #FFFFFF;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      height: 80vh;\n    }\n    .container {\n      background-color: white;\n      padding: 30px;\n      border-radius: 12px;\n      box-shadow: 0 0 10px rgba(0,0,0,0.1);\n    }\n    input[type=\"password\"] {\n      padding: 10px;\n      font-size: 16px;\n      width: 100%;\n      margin-top: 10px;\n    }\n    button {\n      margin-top: 15px;\n      padding: 10px 20px;\n      font-size: 16px;\n      background-color: #1b5e20;\n      color: white;\n      border: none;\n      border-radius: 6px;\n      cursor: pointer;\n    }\n    p#error {\n      color: red;\n      margin-top: 10px;\n    }\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <h2>Espace Locataire<\/h2>\n    <p>Veuillez entrer votre code :<\/p>\n    <input type=\"password\" id=\"password\" placeholder=\"Code d'acc\u00e8s\">\n    <button onclick=\"checkPassword()\">Acc\u00e9der<\/button>\n    <p id=\"error\"><\/p>\n  <\/div>\n\n  <script>\n    function checkPassword() {\n      const password = document.getElementById(\"password\").value;\n\n      \/\/ \ud83d\udd11 Liste des codes + liens associ\u00e9s\n      const accessList = {\n        \"0123\":\"https:\/\/www.google.com\",\n        \"4567\": \"https:\/\/www.google.com\",\n        \"8910\": \"https:\/\/www.wikipedia.org\"\n      };\n\n      if (accessList[password]) {\n        window.open(accessList[password], \"_blank\");\n      } else {\n        document.getElementById(\"error\").textContent = \"Code incorrect.\";\n      }\n    }\n  <\/script>\n<\/body>\n<\/html>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Acc\u00e8s prot\u00e9g\u00e9 Espace Locataire Veuillez entrer votre code : Acc\u00e9der<\/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-61","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/pages\/61","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":2,"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/pages\/61\/revisions"}],"predecessor-version":[{"id":65,"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/pages\/61\/revisions\/65"}],"wp:attachment":[{"href":"https:\/\/myimmolib.com\/index.php\/wp-json\/wp\/v2\/media?parent=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}