{"id":1348,"date":"2025-05-16T09:47:13","date_gmt":"2025-05-16T13:47:13","guid":{"rendered":"https:\/\/dmcc-series.com\/test-bracket\/"},"modified":"2025-05-28T23:19:20","modified_gmt":"2025-05-29T03:19:20","slug":"test-bracket","status":"publish","type":"page","link":"https:\/\/dmcc-series.com\/en\/test-bracket\/","title":{"rendered":"test bracket"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1348\" class=\"elementor elementor-1348 elementor-1346\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-994a6fc e-flex e-con-boxed e-con e-parent\" data-id=\"994a6fc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7efc1ae elementor-widget elementor-widget-html\" data-id=\"7efc1ae\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div id=\"sheetDataWrapper\" style=\"overflow-x:auto;\">\r\n  <div id=\"sheetData\">Loading...<\/div>\r\n<\/div>\r\n\r\n<style>\r\n  #sheetDataWrapper {\r\n    width: 100%;\r\n    max-width: 100%;\r\n  }\r\n\r\n  #sheetData table {\r\n    width: 100%;\r\n    border-collapse: collapse;\r\n    min-width: 600px;\r\n  }\r\n\r\n  #sheetData th,\r\n  #sheetData td {\r\n    padding: 8px 12px;\r\n    text-align: center;\r\n    border: 1px solid #ccc;\r\n    white-space: nowrap;\r\n  }\r\n\r\n  #sheetData th {\r\n    background-color: #f2f2f2;\r\n    font-weight: bold;\r\n  }\r\n\r\n  @media screen and (max-width: 768px) {\r\n    #sheetData th,\r\n    #sheetData td {\r\n      padding: 6px 8px;\r\n      font-size: 14px;\r\n    }\r\n  }\r\n<\/style>\r\n\r\n<script>\r\n  async function fetchLiveFirebase() {\r\n    try {\r\n      const res = await fetch(\"https:\/\/driftlivescoring-default-rtdb.firebaseio.com\/liveQualif.json\");\r\n      const json = await res.json();\r\n      const values = json.rows;\r\n\r\n      let html = '<table>';\r\n      values.forEach((row, rowIndex) =&gt; {\r\n        html += '<tr>';\r\n        row.forEach((cell) =&gt; {\r\n          html += rowIndex === 0\r\n            ? `<th>${cell}<\/th>`\r\n            : `<td>${cell}<\/td>`;\r\n        });\r\n        html += '<\/tr>';\r\n      });\r\n      html += '<\/table>';\r\n      document.getElementById('sheetData').innerHTML = html;\r\n    } catch (err) {\r\n      console.error('Error loading data from Firebase:', err);\r\n      document.getElementById('sheetData').innerText = 'Erreur de chargement.';\r\n    }\r\n  }\r\n\r\n  fetchLiveFirebase();\r\n  setInterval(fetchLiveFirebase, 10000); \/\/ Refresh every 10 seconds\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Loading&#8230;<\/p>\n","protected":false},"author":233903676,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_crdt_document":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-1348","page","type-page","status-publish","hentry"],"acf":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/Pgl5nb-lK","jetpack-related-posts":[{"id":1602,"url":"https:\/\/dmcc-series.com\/en\/live-bracket-pro\/","url_meta":{"origin":1348,"position":0},"title":"Live Bracket &#8211; Pro","author":"C\u00e9dric Mallette","date":"June 26, 2025","format":false,"excerpt":"Qualifying score Updated in: 60s Loading... Qualifying results Update: 60s Loading... Top 16 Updated in: 60s Loading... Update: 60s Loading...","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1598,"url":"https:\/\/dmcc-series.com\/live-bracket-pro\/","url_meta":{"origin":1348,"position":1},"title":"Live Bracket &#8211; Pro","author":"C\u00e9dric Mallette","date":"June 26, 2025","format":false,"excerpt":"Pointage de Qualification Mise \u00e0 jour dans : 60s Chargement... R\u00e9sultats de Qualifications Mise \u00e0 jour : 60s Chargement... Top 16 Mise \u00e0 jour dans : 60s Chargement... Mise \u00e0 jour : 60s Chargement...","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1346,"url":"https:\/\/dmcc-series.com\/test-bracket\/","url_meta":{"origin":1348,"position":2},"title":"test bracket","author":"C\u00e9dric Mallette","date":"May 16, 2025","format":false,"excerpt":"Mise \u00e0 jour : 60s Chargement...","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1596,"url":"https:\/\/dmcc-series.com\/en\/live-bracket-pro-am\/","url_meta":{"origin":1348,"position":3},"title":"Live Bracket &#8211; Pro-Am","author":"C\u00e9dric Mallette","date":"June 26, 2025","format":false,"excerpt":"Qualifying score Update: 60s Loading... Qualifying results Update: 60s Loading... TOP 16 Update: 60s Loading... Update: 60s Loading...","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1592,"url":"https:\/\/dmcc-series.com\/live-bracket-pro-am\/","url_meta":{"origin":1348,"position":4},"title":"Live Bracket &#8211; Pro-Am","author":"C\u00e9dric Mallette","date":"June 26, 2025","format":false,"excerpt":"Pointage de Qualification Mise \u00e0 jour : 60s Chargement... R\u00e9sultats de Qualifications Mise \u00e0 jour : 60s Chargement... TOP 16 Mise \u00e0 jour : 60s Chargement... Mise \u00e0 jour : 60s Chargement...","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1525,"url":"https:\/\/dmcc-series.com\/en\/top-16-pro\/","url_meta":{"origin":1348,"position":5},"title":"Top 16 &#8211; Pro","author":"C\u00e9dric Mallette","date":"May 29, 2025","format":false,"excerpt":"Last update: 0s Loading...","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/pages\/1348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/users\/233903676"}],"replies":[{"embeddable":true,"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/comments?post=1348"}],"version-history":[{"count":10,"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/pages\/1348\/revisions"}],"predecessor-version":[{"id":1494,"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/pages\/1348\/revisions\/1494"}],"wp:attachment":[{"href":"https:\/\/dmcc-series.com\/en\/wp-json\/wp\/v2\/media?parent=1348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}