{"id":20771,"date":"2026-04-08T18:58:45","date_gmt":"2026-04-08T18:58:45","guid":{"rendered":"https:\/\/camedyc.com\/?page_id=20771"},"modified":"2026-04-16T18:20:12","modified_gmt":"2026-04-16T18:20:12","slug":"swenplis","status":"publish","type":"page","link":"https:\/\/camedyc.com\/fr\/swenplis\/","title":{"rendered":"swenplis"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"20771\" class=\"elementor elementor-20771\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-109d1229 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-invisible\" data-id=\"109d1229\" data-element_type=\"section\" data-settings=\"{&quot;stretch_section&quot;:&quot;section-stretched&quot;,&quot;background_background&quot;:&quot;classic&quot;,&quot;shape_divider_bottom&quot;:&quot;triangle&quot;,&quot;shape_divider_bottom_negative&quot;:&quot;yes&quot;,&quot;animation&quot;:&quot;fadeInUp&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t<div class=\"elementor-shape elementor-shape-bottom\" aria-hidden=\"true\" data-negative=\"true\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewbox=\"0 0 1000 100\" preserveaspectratio=\"none\">\n\t<path class=\"elementor-shape-fill\" d=\"M500.2,94.7L0,0v100h1000V0L500.2,94.7z\"\/>\n<\/svg>\t\t<\/div>\n\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-132ed7e\" data-id=\"132ed7e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2852468 e-con-full e-flex e-con e-parent\" data-id=\"2852468\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e04af00 elementor-widget elementor-widget-image\" data-id=\"e04af00\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"356\" src=\"https:\/\/camedyc.com\/wp-content\/uploads\/2026\/04\/Swen-Plus-12-1.png\" class=\"attachment-large size-large wp-image-20829\" alt=\"\" srcset=\"https:\/\/camedyc.com\/wp-content\/uploads\/2026\/04\/Swen-Plus-12-1.png 911w, https:\/\/camedyc.com\/wp-content\/uploads\/2026\/04\/Swen-Plus-12-1-300x133.png 300w, https:\/\/camedyc.com\/wp-content\/uploads\/2026\/04\/Swen-Plus-12-1-768x341.png 768w, https:\/\/camedyc.com\/wp-content\/uploads\/2026\/04\/Swen-Plus-12-1-18x8.png 18w, https:\/\/camedyc.com\/wp-content\/uploads\/2026\/04\/Swen-Plus-12-1-600x267.png 600w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/>\t\t\t\t\t\t\t\t\t\t\t\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<div class=\"elementor-element elementor-element-8e537e3 e-flex e-con-boxed e-con e-parent\" data-id=\"8e537e3\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;slideshow&quot;,&quot;background_slideshow_gallery&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}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e54731c elementor-widget elementor-widget-html\" data-id=\"e54731c\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t\t<div style=\"max-width:500px;margin:auto;font-family:sans-serif;\">\r\n\r\n  <!-- Search Box -->\r\n  <div style=\"display:flex; gap:10px; margin-bottom:20px;\">\r\n    <input \r\n      type=\"text\" \r\n      id=\"searchInput\" \r\n      placeholder=\"Antre ID, non oswa telef\u00f2n...\" \r\n      style=\"flex:1;padding:12px;border-radius:8px;border:1px solid #ccc;\"\r\n    >\r\n    <button \r\n      onclick=\"searchData()\" \r\n      style=\"padding:12px 20px;background:#007bff;color:white;border:none;border-radius:8px;cursor:pointer;\"\r\n    >\r\n      Rech\u00e8ch\r\n    <\/button>\r\n  <\/div>\r\n\r\n  <!-- Result -->\r\n  <div id=\"results\"><\/div>\r\n\r\n<\/div>\r\n\r\n<script>\r\nconst sheetID = \"1Kyk0A5RjkTBhb3LbpVx2f9Zg88v8ouQyeXDPRi8LvMs\";\r\nconst url = `https:\/\/opensheet.elk.sh\/${sheetID}\/Patients`;\r\n\r\nlet data = [];\r\n\r\n\/\/ Load data\r\nfetch(url)\r\n  .then(res => res.json())\r\n  .then(res => {\r\n    data = res;\r\n  });\r\n\r\nfunction searchData() {\r\n  const value = document.getElementById(\"searchInput\").value.toLowerCase();\r\n  const resultsDiv = document.getElementById(\"results\");\r\n  resultsDiv.innerHTML = \"\";\r\n\r\n  if (!value) {\r\n    resultsDiv.innerHTML = \"<p>Tanpri antre yon val\u00e8<\/p>\";\r\n    return;\r\n  }\r\n\r\n  const filtered = data.filter(row =>\r\n    (row.Nom && row.Nom.toLowerCase().includes(value)) ||\r\n    (row.ID && row.ID.toLowerCase().includes(value)) ||\r\n    (row.Telephone && row.Telephone.toLowerCase().includes(value))\r\n  );\r\n\r\n  if (filtered.length === 0) {\r\n    resultsDiv.innerHTML = \"<p>Pa gen rezilta<\/p>\";\r\n    return;\r\n  }\r\n\r\n  filtered.forEach(row => {\r\n    const card = `\r\n      <div style=\"\r\n        background:#fff;\r\n        padding:15px;\r\n        margin-bottom:10px;\r\n        border-radius:10px;\r\n        box-shadow:0 2px 8px rgba(0,0,0,0.1);\r\n      \">\r\n        <h3 style=\"margin:0;\">${row.Nom} ${row.Prenom}<\/h3>\r\n        <p style=\"margin:5px 0;\"><strong>ID:<\/strong> ${row.ID}<\/p>\r\n        <p style=\"margin:5px 0;\"><strong>T\u00e9l\u00e9phone:<\/strong> ${row.Telephone}<\/p>\r\n        <p style=\"margin:5px 0;\"><strong>Points:<\/strong> ${row.Points}<\/p>\r\n      <\/div>\r\n    `;\r\n    resultsDiv.innerHTML += card;\r\n  });\r\n}\r\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-0dca218 e-flex e-con-boxed e-con e-parent\" data-id=\"0dca218\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Rech\u00e8ch<\/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-20771","page","type-page","status-publish","hentry"],"_hostinger_reach_plugin_has_subscription_block":false,"_hostinger_reach_plugin_is_elementor":false,"_links":{"self":[{"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/pages\/20771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/comments?post=20771"}],"version-history":[{"count":26,"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/pages\/20771\/revisions"}],"predecessor-version":[{"id":20833,"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/pages\/20771\/revisions\/20833"}],"wp:attachment":[{"href":"https:\/\/camedyc.com\/fr\/wp-json\/wp\/v2\/media?parent=20771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}