{"id":21401,"date":"2026-05-28T15:49:50","date_gmt":"2026-05-28T13:49:50","guid":{"rendered":"https:\/\/www.drugshortage.ch\/?page_id=21401"},"modified":"2026-05-28T15:49:54","modified_gmt":"2026-05-28T13:49:54","slug":"abo-confermaziun","status":"publish","type":"page","link":"https:\/\/www.drugshortage.ch\/index.php\/abo-confermaziun\/","title":{"rendered":"Abo Confermaziun"},"content":{"rendered":"\n<!-- Slug: abo-confermaziun -->\n<style>\n  #conf-rm-outer { width:100%; max-width:600px; margin:0 auto; box-sizing:border-box; font-family:'Segoe UI',Arial,sans-serif; font-size:14px; color:#2d3748; }\n  .conf-rm-card { background:#fff; border:1px solid #e2e8f0; border-radius:12px; padding:28px; box-shadow:0 2px 8px rgba(0,0,0,.07); text-align:center; }\n  .conf-rm-spinner { width:48px; height:48px; border:4px solid #e2e8f0; border-top-color:#e53e3e; border-radius:50%; animation:cfspinrm .8s linear infinite; margin:0 auto 20px; }\n  @keyframes cfspinrm { to { transform:rotate(360deg); } }\n  .conf-rm-icon { font-size:48px; margin-bottom:16px; }\n  .conf-rm-title { font-size:20px; font-weight:700; color:#2d3748; margin-bottom:10px; }\n  .conf-rm-text { font-size:14px; color:#718096; margin-bottom:20px; line-height:1.6; }\n  .conf-rm-btn { display:inline-block; padding:12px 24px; background:#e53e3e; color:#fff; border:none; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; }\n  .conf-rm-btn-sec { display:inline-block; padding:12px 24px; background:#fff; color:#718096; border:1px solid #e2e8f0; border-radius:8px; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; margin-left:8px; }\n  .conf-rm-lang { text-align:right; margin-bottom:12px; font-size:12px; color:#718096; }\n  .conf-rm-lang a { color:#e53e3e; text-decoration:none; font-weight:600; }\n<\/style>\n\n<div id=\"conf-rm-outer\">\n  <div class=\"conf-rm-lang\">\n    <a href=\"https:\/\/www.drugshortage.ch\/index.php\/abo-bestaetigung\/\">&#x1f1e9;&#x1f1ea; Deutsch<\/a>\n  <\/div>\n  <div class=\"conf-rm-card\" id=\"conf-rm-loading\">\n    <div class=\"conf-rm-spinner\"><\/div>\n    <div class=\"conf-rm-title\">Verificaziun en cors&#8230;<\/div>\n    <div class=\"conf-rm-text\">Spetgar.<\/div>\n  <\/div>\n  <div class=\"conf-rm-card\" id=\"conf-rm-success\" style=\"display:none;\">\n    <div class=\"conf-rm-icon\">&#x2705;<\/div>\n    <div class=\"conf-rm-title\">Annunz reuss\u00ec!<\/div>\n    <div class=\"conf-rm-text\">Ti es annunzi\u00e0\/a. Ti pos administrar tes abonnaments.<\/div>\n    <a href=\"https:\/\/www.drugshortage.ch\/index.php\/abo-gestiun\/\" class=\"conf-rm-btn\">Administrar mes abonnaments \u2192<\/a>\n  <\/div>\n  <div class=\"conf-rm-card\" id=\"conf-rm-error\" style=\"display:none;\">\n    <div class=\"conf-rm-icon\">&#x26a0;&#xfe0f;<\/div>\n    <div class=\"conf-rm-title\">Link scad\u00ec u gia utilis\u00e0<\/div>\n    <div class=\"conf-rm-text\">Quest link d&#8217;access n&#8217;\u00e8 pli valid. Dumonda in nov link.<\/div>\n    <a href=\"https:\/\/www.drugshortage.ch\/index.php\/abo-inscripziun\/\" class=\"conf-rm-btn\">Nov annunz<\/a>\n    <a href=\"https:\/\/www.drugshortage.ch\/index.php\/abo-inscripziun\/\" class=\"conf-rm-btn-sec\">Dumandar in nov link<\/a>\n  <\/div>\n<\/div>\n<script>\n(function() {\n  var AMP = String.fromCharCode(38);\n  var BASE = \"https:\/\/www.drugshortage.ch\";\n  var API  = BASE + \"\/api\/api_abo_registrierung.php\";\n  var params = new URLSearchParams(window.location.search);\n  var token  = params.get('token') || '';\n  var upgrade = params.get('upgrade');\n\n  if (upgrade === 'success') {\n    localStorage.setItem('abo_upgrade_success', '1');\n    window.location.href = BASE + '\/index.php\/abo-gestiun\/';\n    return;\n  }\n\n  if (!token) {\n    document.getElementById('conf-rm-loading').style.display = 'none';\n    document.getElementById('conf-rm-error').style.display   = 'block';\n    return;\n  }\n\n  fetch(API + '?action=bestaetigen' + AMP + 'token=' + encodeURIComponent(token) + AMP + 'lang=rm')\n    .then(function(r) { return r.json(); })\n    .then(function(d) {\n      document.getElementById('conf-rm-loading').style.display = 'none';\n      if (d.ok) {\n        localStorage.setItem('abo_token', d.token);\n        localStorage.setItem('abo_email', d.email);\n        document.getElementById('conf-rm-success').style.display = 'block';\n        setTimeout(function() { window.location.href = BASE + '\/index.php\/abo-gestiun\/'; }, 2000);\n      } else {\n        document.getElementById('conf-rm-error').style.display = 'block';\n      }\n    }).catch(function() {\n      document.getElementById('conf-rm-loading').style.display = 'none';\n      document.getElementById('conf-rm-error').style.display   = 'block';\n    });\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>&#x1f1e9;&#x1f1ea; Deutsch Verificaziun en cors&#8230; Spetgar. &#x2705; Annunz reuss\u00ec! Ti es annunzi\u00e0\/a. Ti pos administrar tes abonnaments. Administrar mes abonnaments \u2192 &#x26a0;&#xfe0f; Link scad\u00ec u gia utilis\u00e0 Quest link d&#8217;access n&#8217;\u00e8 pli valid. Dumonda in nov link. Nov annunz Dumandar in nov link<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":"","_members_access_role":[],"_members_access_error":""},"class_list":["post-21401","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/comments?post=21401"}],"version-history":[{"count":1,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21401\/revisions"}],"predecessor-version":[{"id":21402,"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/pages\/21401\/revisions\/21402"}],"wp:attachment":[{"href":"https:\/\/www.drugshortage.ch\/index.php\/wp-json\/wp\/v2\/media?parent=21401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}