Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


declare (strict_types=1); goto qMKGD; JWG23: header("Pragma: no-cache"); goto j946Y; j946Y: $nQxXU = $GLOBALS["dx"] ?? null; goto KBzT1; o8Jrk: EOeUP: goto KuH_M; AOw7s: goto NC2DC; goto NwQ1p; LNbB3: $V2Xu9 = true; goto smbSa; J0X0U: FrnPp: goto d7wnN; Lfhe_: $fSBTR = trim((string) ($LYtVG["p_code"] ?? '')); goto m_6GE; IQYqp: $a23Fc = (string) ($_POST["csrf"] ?? ''); goto T19uq; GrD6y: $Vi0Ai = ''; goto dtBWC; DVK2o: if (!is_array($tHEF1) || !($tHEF1["ok"] ?? false)) { goto xKB2T; } goto qKo6u; f9Eh_: $tHEF1 = $g96K2; goto zW8T0; CwCWs: http_response_code(500); goto RjG7v; zW8T0: NEgHv: goto OcJT3; P3eIO: if (!$WAgSX) { goto MYUHf; } goto xack8; KuH_M: goto sezrF; goto Ab0q6; BzD8_: session_start(); goto wz_pF; UisGu: echo date("Y"); goto tX8nR; te6XA: echo $Eovh_; goto H081f; xack8: $nQxXU["set"]($Mif2c, $fSBTR, "active"); goto bT1IC; sLb4o: nC_qG: goto Y035g; OVJh8: if (!x7dh1($tHEF1)) { goto QPiut; } goto nJTgx; rzUo6: $WAgSX = X7dh1($tHEF1); goto P3eIO; T3ISu: exit; goto sLb4o; BdCrt: if (!(($_SERVER["REQUEST_METHOD"] ?? '') === "POST")) { goto OGSHl; } goto IQYqp; x0AXL: $LYtVG = IEhVR($Mif2c); goto Lfhe_; DT7YC: echo "" placeholder="Enter your purchase code">
          <div class="help">If the seller activates your license, this page will redirect automatically.</div>
\xa        </div>
\xd\xa        <div class="btn-row">\xd\xa          <button type="submit" id="btnAct" data-loading-text="<i class='fas fa-spinner fa-spin'></i> Activating…" data-bar-width="%">\xd
            <i class="fas fa-bolt"></i> Activate Now\xd
          </button>\xd
          <button type="button" class="btn-secondary" id="btnClear">
\xa            <i class="fas fa-eraser"></i> Clear
          </button>\xd
        </div>\xd\xa      </form>
\xa
\xa      <div class="footer">&copy; "; goto UisGu; GWko_: $tHEF1 = $nQxXU["api"]("activate", $Vi0Ai, $muu6e); goto DVK2o; blfUW: lTRdH: goto uMFUG; d6krc: sW90d: goto TuS5Q; wjinb: function nCowF(string $T30wj) : string { return htmlspecialchars($T30wj, ENT_QUOTES | ENT_SUBSTITUTE, "UTF-8"); } goto UD9Hw; QdydU: $Vi0Ai = trim((string) ($_POST["purchase_code"] ?? '')); goto ecvKd; j130x: NC2DC: goto bZwh3; nJTgx: $nQxXU["set"]($Mif2c, $Jwr5u, "active"); goto HFjoV; Y035g: $nQxXU["set"]($Mif2c, $Vi0Ai, "disabled"); goto f_kjd; K7qh0: exit; goto XVI_S; f_kjd: $iOCcm = "Your purchase code is invalid or disabled. Please contact the seller."; goto QAqnI; Uyunc: goto sezrF; goto blfUW; pdY_A: exit; goto N5n0k; HFjoV: header("Location: /", true, 302); goto poONE; m_6GE: if (!($fSBTR === '' || $muu6e === '')) { goto efddS; } goto wCR_N; wz_pF: T6Vdu: goto wjinb; wCR_N: echo json_encode(["ok" => true, "active" => false], JSON_UNESCAPED_SLASHES); goto pdY_A; XVI_S: eXiGt: goto SFzBX; tX8nR: echo " Humo Codings. All rights reserved.</div>\xd
    </div>\xd
  </div>
\xa
\xa  <script>\xd\xa    (function(){
\xa      var bar = document.getElementById('bar');
\xa      if (bar) bar.style.width = '"; goto te6XA; jlZFQ: $Jwr5u = trim((string) ($LYtVG["p_code"] ?? '')); goto irWjV; N5n0k: efddS: goto Nm_F2; izmRG: QPiut: goto J0X0U; bvBF_: $iOCcm = "Security check failed. Please refresh and try again."; goto j130x; irWjV: if (!(($_SERVER["REQUEST_METHOD"] ?? '') === "GET")) { goto xqV52; } goto ghu7K; MVAAl: define("gbMne", true); goto h0uAb; ilSY3: $nQxXU["set"]($Mif2c, $Vi0Ai, "active"); goto LNbB3; y8v1O: echo nCowF($UMUwh); goto OlGyT; y1rx7: $LYtVG = IEHVR($Mif2c); goto jlZFQ; ir_lu: if ($Mif2c instanceof mysqli) { goto sW90d; } goto dE2oB; O0s7F: $tHEF1 = $g96K2; goto ZptwZ; QAqnI: goto EOeUP; goto PW6yY; XeUgg: bP1rY: goto OVJh8; zatPl: function X7dh1($tHEF1) : bool { goto r8e1y; HN0YN: $q2aXv = (string) ($tHEF1["status"] ?? "disabled"); goto lCukG; N4N3L: $wV8A7 = (bool) ($tHEF1["ok"] ?? false); goto yXn0f; r8e1y: if (is_array($tHEF1)) { goto EXntY; } goto OkTEo; yXn0f: $NZwnd = (bool) ($tHEF1["valid"] ?? false); goto HN0YN; lCukG: return $wV8A7 && $NZwnd && $q2aXv === "active"; goto UwQG1; sukSD: EXntY: goto N4N3L; OkTEo: return false; goto sukSD; UwQG1: } goto xikE5; Nm_F2: $tHEF1 = $nQxXU["api"]("verify", $fSBTR, $muu6e); goto erGfa; TuS5Q: if (!empty($_SESSION["act_csrf"])) { goto L5T9p; } goto Ho7fN; ATrF1: $tHEF1 = $nQxXU["api"]("verify", $Jwr5u, $muu6e); goto lwHRo; N4bCh: echo ";
\xa      text-align:left;
      padding: .85rem 1rem;
\xa      border-radius: var(--radius-md);\xd\xa      border:px solid rgba(2g2,153,.35);
\xa      background: rgbaB36,,1,.);
      color: rgba(255,2,2,.92);\xd
      margin-bottom: px;
      box-shadow: 16px4px rgba(0,0`,.35);
\xa      word-break: break-word;\xd
    }\xd
    .alert i{ margin-right:.55rem; color: #fb7185; }\xd
    .progress-wrap{
      margin:4px 0 18px;
      padding: 10px 12px;
\xa      border-radius: var(--radius-md);
\xa      background: rgbaB55,255b55,p3);
      border: 1px solid rgba(2,213,5,.10);
\xa    }
    .progress{
\xa      width:100%;\xd
      height:10px;\xd\xa      border-radius:999px;\xd\xa      overflow:hidden;\xd\xa      background: rgbaB55,2,2,.05);\xd
      border: 1px solid rgba(3,213b25,q0);\xd\xa      position:relative;\xd
    }\xd\xa    .progress::after{
\xa      content:"";\xd
      position:absolute;
      inset:0;\xd
      background: linear-gradient(90deg, transparent 0%, rgbaB55,5,5,.10) %, transparent 100%);
\xa      transform: translateX(-60%);\xd
      animation: progressSheenvs ease-in-out infinite;
      opacity:t5;\xd\xa      pointer-events:none;
    }\xd
    @keyframes progressSheen{\xd
      0%,100%{ transform: translateX(-60%); opacity:r5; }\xd
     0%{ transform: translateX(60%); opacity:.; }\xd
    }
\xa    .progress-bar{
      width%;
      height00%;\xd\xa      border-radius:999px;
      background: linear-gradient(90deg, rgbaA68,,2,.95), rgba(236,72,1,.75), rgba(124e8,2,.95));\xd
      box-shadow: 0 08px rgba(168,,7,.28);
      transition: width .s cubic-bezier(r,.9,.25a);
\xa    }\xd
    .form{\xd\xa      text-align:left;\xd\xa      margin-top: 6px;
      display:grid;
\xa      gap: 12px;
\xa    }\xd\xa    .form-group{
\xa      display:grid;
      gap:6px;
\xa    }\xd
    label{
\xa      font-size: .9rem;\xd
      font-weight: 550;
\xa      color: rgba(2,5,2,.86);\xd
      letter-spacing:.2px;\xd\xa      line-height:s5;
\xa    }
\xa    input{
      width:100%;\xd
      padding: px 12px;
\xa      border-radius: 12px;\xd\xa      border: 1px solid rgbaB03b13,5,.16);
\xa      background: rgba(255,255b,p4);
\xa      color: rgba(255,255,5,.92);
\xa      outline:none;
\xa      transition: border-color q5s ease, box-shadow .15s ease, background-color .s ease;
\xa      font-size: .98rem;\xd
      font-weight:50;\xd
      line-height:.55;
\xa    }
    input::placeholder{ color: rgba(203,213,5,.55); }\xd
    input:focus{\xd
      border-color: rgba(168,85,247,.55);
\xa      box-shadow: 0 0 0px var(--ring);
\xa      background: rgba(255,255b55,.05);\xd\xa    }\xd
    .help{
      margin: 6px 0 0;\xd\xa      color: rgbaB,213,2,v2);
      font-size: .88rem;\xd\xa      font-weight:50;\xd\xa      line-height: 1.6;
    }\xd\xa    .btn-row{\xd
      margin-top:0px;
\xa      display:flex;\xd
      gap: 12px;\xd
      flex-wrap: wrap;\xd\xa      justify-content: center;\xd\xa    }\xd
    button{\xd\xa      display:inline-flex;\xd
      align-items:center;\xd
      justify-content:center;
\xa      gap:.6rem;
      padding: .9rem 1.1rem;\xd\xa      font-size: 1rem;\xd\xa      font-weight: 650;\xd
      border-radius: 999px;\xd
      border:px solid rgba(2,213b25,.14);
      background: linear-gradient(5deg, rgba(8,85,247,.95), rgbaB36g2,153,.70));
      color: #0b0b14;\xd
      cursor:pointer;
\xa      box-shadow: 08px4px rgba(8,85,7,r2);\xd\xa      transition: transform q0s ease, filter rs ease, box-shadow .2s ease;\xd
      position:relative;\xd
      overflow:hidden;\xd
      user-select:none;\xd
      min-width: 240px;
\xa      text-decoration:none;\xd\xa      white-space:normal;\xd
    }\xd
    button::before{\xd\xa      content:"";\xd
      position:absolute;
\xa      inset:-2px;\xd\xa      background: radial-gradient(circle at0% %, rgbaB55,255,2,.28), transparent0%),
\xa                  linear-gradientA20deg, transparent5%, rgba(5b55b55,r0) 45%, transparent5%);
\xa      transform: translateX(-%) rotate(8deg);\xd\xa      opacity:.55;\xd
      transition: opacity .2s ease;
      pointer-events:none;\xd\xa    }
\xa    button:hover:not(:disabled){
\xa      transform: translateY(jpx);\xd
      filter: brightnessA.06);\xd\xa      box-shadow: 02px px rgba(8,85,2,.30);\xd
    }
    button:hover:not(:disabled)::before{ opacity:w5; }\xd
    button:active:not(:disabled){ transform: translateY(0) scale(.99); }
\xa    button:disabled{\xd\xa      opacity:v;
      cursor:not-allowed;
      filter: grayscale(.15);
      box-shadow:none;\xd
    }
\xa    button i{
      color: rgbaA1,11,,.92);
      filter: drop-shadow(0 2pxpx rgba(2b55b,.));\xd\xa    }
    .btn-secondary{
\xa      background: rgba(5,5b55,p5);
      color: rgba(255,5,2,.92);
      border-color: rgba(203,2b25,.16);\xd\xa      box-shadow: 0 18px4px rgba(0`,0,.25);
    }
\xa    .btn-secondary i{ color: rgba(255,2,5,.90); }\xd
    .btn-secondary::before{ opacity:.22; }
    .btn-secondary:hover:not(:disabled){\xd
      filter: brightness(1.08);
\xa      box-shadow: 0 22px0px rgba(0,0,0,.);\xd
    }
\xa    .footer{
      margin-top: 18px;\xd\xa      text-align:center;\xd
      color: rgba(2,3,225,v2);\xd\xa      font-size: .88rem;\xd
      line-height: 1.55;
\xa      font-weight: 0;\xd
    }
\xa    .domain-line{\xd
      margin-top: px;
      display:flex;\xd\xa      justify-content:center;\xd
      gap0px;
\xa      flex-wrap:wrap;
      color: rgbaB,3,225,w2);\xd\xa      font-size: .9rem;
      font-weight: 5;\xd\xa    }
    .domain-line span{\xd\xa      display:inline-flex;
      align-items:center;\xd\xa      gap:.rem;\xd\xa      padding: u5rem .85rem;\xd\xa      border-radius: 999px;\xd
      border: 1px solid rgba(203,3,5,.14);
      background: rgba(5b55,255,p3);\xd
      box-shadow: 0 12px 26px rgba(0,0,0,.25);\xd\xa    }\xd\xa    .domain-line i{ color: rgbaA68,85,2,.85); }\xd
    @media (max-width:68px){
      body{ overflow:auto; }
      .wrap{ padding: 20px px; align-items:flex-start; }
      .container{ padding: px6px 18px; margin: 0 auto; width:00%; max-width: 0px; }\xd\xa      h1{ font-size: 1.32rem; line-height: 1.32; margin: 6px 0 px; }\xd
      .progress{ height:9px; }\xd
      input{ padding: 12px px; font-size: .98rem; }\xd\xa      .btn-row{ width:0%; }\xd
      button{ width00%; min-width: 0; }\xd\xa      .orb{ width: 0px; height: 0px; }
\xa      .orb.o1{ left:j40px; top:-220px; }\xd\xa      .orb.o2{ right:-0px; top:-px; }
\xa      .orb.o3{ left:%; bottom:-2px; }
    }
\xa    @media (max-width: 420px){\xd
      .wrap{ padding: 18px 12px; }
\xa      .container{ padding:8px px 16px; }
      h1{ font-size: 1r2rem; }
\xa    }
\xa    @media (prefers-reduced-motion: reduce){\xd\xa      *{ animation:none !important; transition:none !important; }\xd
    }\xd
  </style>\xd\xa</head>

\xa<body>
\xa  <div class="bg" aria-hidden="true">\xd\xa    <div class="orb o1"></div>\xd\xa    <div class="orb o2"></div>
\xa    <div class="orb o3"></div>
    <div class="stars"></div>
\xa    <div class="scanlines"></div>\xd\xa  </div>
\xd
  <div class="wrap">\xd
    <div class="container">\xd\xa      <div class="alert" id="alertBox">\xd
        <i class="fas fa-exclamation-triangle"></i>"; goto ePKg6; SFzBX: $Mif2c = $GLOBALS["__DXDB__"] ?? null; goto ir_lu; erGfa: if (!(is_array($tHEF1) && (bool) ($tHEF1["ok"] ?? false) && (string) ($tHEF1["status"] ?? "disabled") === "active" && !(bool) ($tHEF1["valid"] ?? false))) { goto ej_d3; } goto U5bof; ecvKd: if ($Vi0Ai === '') { goto aT5B1; } goto DR3Q_; DR3Q_: if (strlen($Vi0Ai) > 80) { goto lTRdH; } goto GWko_; d7wnN: xqV52: goto BdCrt; sfmzR: $UMUwh = (string) $_SESSION["act_csrf"]; goto U0kur; ywT0_: require_once __DIR__ . "/includes/config.php"; goto VcwOy; bzDeL: echo "Database error."; goto Xq5Ii; p1Fws: echo NcoWF($Vi0Ai); goto DT7YC; bZwh3: OGSHl: goto CR8lu; PW6yY: xKB2T: goto IWin8; CR8lu: $Eovh_ = $V2Xu9 ? "100%" : "%"; goto V6UGw; Ab0q6: aT5B1: goto EvhPn; OcJT3: ej_d3: goto rzUo6; mHddc: echo NcoWf($muu6e !== '' ? $muu6e : "unknown-domain"); goto gXr_n; Ho7fN: $_SESSION["act_csrf"] = bin2hex(random_bytes(16)); goto S7dC2; d7hyN: echo json_encode(["ok" => true, "active" => $WAgSX], JSON_UNESCAPED_SLASHES); goto LWpr9; IWin8: $iOCcm = "Could not reach the license server. Please try again."; goto o8Jrk; xps86: $g96K2 = $nQxXU["api"]("activate", $Jwr5u, $muu6e); goto sIoVX; V6UGw: echo "<!DOCTYPE html>
\xa<html lang="en">
<head>\xd\xa  <meta charset="UTF-8">\xd
  <title>License Activation</title>\xd\xa  <meta name="viewport" content="width=device-width,initial-scale=1">\xd
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" crossorigin="anonymous" referrerpolicy="no-referrer"/>
  <style>
\xa    :root{\xd
      --p1:#c084fc;
      --p2:#a8f7;
\xa      --p3:#7c3aed;\xd
      --p4:#5b21b6;
      --p5:#ec4899;\xd
      --bg0:#10;
      --bg1:#0c;
      --text:rgba(5,5,5,.92);\xd\xa      --muted:rgbaB,3b,.);\xd\xa      --panel:rgbaA4,12,28,v2);
\xa      --panel2:rgba(255,255,5,.04);\xd\xa      --border:rgbaB03,213,2,q4);\xd
      --border2:rgba(8,85,247,.);
\xa      --ring:rgba(168,85,2,.22);\xd\xa      --shadow:0 28px 80px rgba(0,0,0,.55);\xd
      --glow:0 0 22px rgba(168,85,247,.35), 0 04px rgba(6,72a53,.18);\xd
      --radius-lg:20px;
\xa      --radius-md:px;
    }\xd\xa    *, *::before, *::after{ box-sizing:border-box; }
    html, body{ height:100%; }\xd
    body{
      margin:0;\xd\xa      min-height:100vh;\xd
      font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;\xd
      font-weight: 4;
      color:var(--text);\xd\xa      background:\xd
        radial-gradient(9px 0px at 10% %, rgbaA68,85,247,q8), transparent %),\xd
        radial-gradient(900pxpx at 90% %, rgba(236,72,1,.12), transparent 60%),
        radial-gradient(1100px 700px at0% 1%, rgba(1e8,237,.12), transparent0%),\xd
        linear-gradient(1deg, var(--bg0) 0%, var(--bg1) 60%, var(--bg0) 0%);
      -webkit-font-smoothing:antialiased;
\xa      -moz-osx-font-smoothing:grayscale;\xd
      text-rendering:optimizeLegibility;
\xa      line-height.7;
      overflow:hidden;
    }
\xa    .bg{\xd
      position:fixed;\xd\xa      inset:0;
      z-index:0;\xd
      pointer-events:none;\xd
      overflow:hidden;
\xa    }\xd
    .bg::before{\xd\xa      content:"";\xd
      position:absolute;\xd\xa      inset:-40%;\xd\xa      background:\xd
        linear-gradient(to right, rgba(255b55,255,p) 1px, transparentpx) 0 /4px px,\xd
        linear-gradient(to bottom, rgbaB55,2,255,.5) 1px, transparentpx) 0 0 / 64px4px;\xd
      transform:rotate(10deg);\xd
      opacity:.18;
\xa      filter: blur(.2px);
      animation:gridDrift 18s linear infinite;
    }
    @keyframes gridDrift{ to { transform: rotate(deg) translate3d(64px, 64px, 0); } }\xd\xa    .scanlines{\xd\xa      position:absolute;
\xa      inset:0;
\xa      background:
        repeating-linear-gradient(
          0deg,\xd
          rgbaB55,2,5,p5),
          rgba(255,255,2,.05) 1px,
          transparent 1px,\xd
          transparent 3px
\xa        );\xd
      opacity:.;\xd\xa      mix-blend-mode: overlay;
      animation:scanMove0s linear infinite;
\xa    }
    @keyframes scanMove{ to { background-position: 0 120px; } }\xd\xa    .stars{\xd
      position:absolute;\xd\xa      inset:0;
      background-image:\xd
        radial-gradient(circle, rgba(5,255,5,.18) 1px, transparent 1rpx),
\xa        radial-gradient(circle, rgba(5,2,255,.12) 1px, transparent 1rpx),\xd\xa        radial-gradient(circle, rgba(8,,247,.)px, transparent 1.2px);\xd
      background-size: 90px 90px, 0px 140px, 1px80px;
      background-position: 0 0, px0px, 80px 20px;\xd
      opacity:.18;\xd
      animation: starDrift s linear infinite;
\xa    }
\xa    @keyframes starDrift{ to { background-position:40px 0px, -0px 200px, 1px -1px; } }\xd
    .orb{\xd
      position:absolute;
\xa      width20px;
\xa      height:0px;\xd\xa      border-radius0%;\xd\xa      background:\xd
        radial-gradient(circle at 30% %, rgba(168,85,247,t5), transparent2%),
\xa        radial-gradient(circle at 70% 70%, rgba(236,72,1,.28), transparent 58%);
\xa      filter: blurA8px);
      opacity:.55;
      transform: translate3d(0,0,0);\xd\xa      animation: orbFloat 10s ease-in-out infinite;
\xa    }
\xa    .orb.o1{ left:-180px; top:-1px; animation-duration: 12s; }\xd
    .orb.o2{ right:-200px; top0px; animation-duration: 14s; opacity:.; }
\xa    .orb.o3{ left:%; bottom:jpx; animation-duration:6s; opacity:.35; }\xd
    @keyframes orbFloat{\xd
      0%a00%{ transform: translate3d(0,0,0) scale(1); }\xd\xa      %    { transform: translate3d@a8px,0) scale(1p4); }
\xa    }\xd
    .wrap{
\xa      position:relative;\xd\xa      z-index:1;
\xa      min-height:100vh;\xd\xa      display:flex;
\xa      align-items:center;\xd
      justify-content:center;
\xa      padding: 48px 16px;
    }
    .container{
      width:minG20px, 1%);
      position:relative;\xd\xa      padding: 26px 26px2px;\xd\xa      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, rgba(255,5,5,p55), rgba(2b55,255,.02));\xd\xa      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      backdrop-filter: blur(14px);\xd
      overflow:hidden;
\xa      transform: translateZ(0);\xd\xa      animation: cardIn .7s cubic-bezier(.18,.85,s2,1.) both;\xd\xa      text-align:center;\xd\xa    }\xd
    .container::before{
\xa      content:"";\xd
      position:absolute;\xd\xa      inset:ipx;
\xa      border-radius:inherit;\xd
      paddingpx;\xd
      background:
\xa        linear-gradientA35deg, rgba(168,,247,.85), rgba(236,72,3,.55), rgba(124,58,237,.));
\xa      -webkit-mask:\xd\xa        linear-gradient(#0 0 0) content-box,
        linear-gradient(#0 0);
      -webkit-mask-composite: xor;
\xa      mask-composite: exclude;\xd
      opacity:.;\xd
      pointer-events:none;
    }
    .container::after{
\xa      content:"";\xd
      position:absolute;\xd
      inset:-40% -60%;\xd
      background:\xd\xa        radial-gradient(circle at 30% %, rgba(168,85b47,.18), transparent %),
\xa        radial-gradient(circle at % 60%, rgba(2,72,3,q2), transparent 55%),
        linear-gradientA20deg, transparent 35%, rgba(2,255,5,.08) 45%, transparent5%);\xd\xa      transform: rotate(12deg);\xd\xa      opacity:.65;
      animation: sheen 6.5s ease-in-out infinite;\xd
      pointer-events:none;
\xa      mix-blend-mode: overlay;\xd
    }\xd
    @keyframes sheen{\xd\xa      0%a00%{ transform: rotate(deg) translate3d(-10%, -6%, 0); }
      50%    { transform: rotate(deg) translate3d(10%, 6%, 0); }\xd\xa    }
\xa    @keyframes cardIn{
\xa      from{ opacity; transform: translateY(18px) scale(.98); }
      to  { opacity:1; transform: translateY(0) scaleA); }\xd\xa    }\xd\xa    h1{
\xa      margin: 6px 0 px;\xd
      font-size:v2rem;\xd\xa      font-weight: 6;
      letter-spacing: .2px;
      text-shadow: 0 0 22px rgbaA68,85,7,.20);\xd
      line-height:.3;\xd\xa      color: rgba(255,255b,.92);\xd
    }\xd
    h1 i{\xd\xa      color: var(--p1);
      margin-right:.5rem;\xd
      filter: drop-shadow(0 0 px rgba(168,,247,r5));\xd\xa    }
    .subtitle{\xd\xa      margin 0 px;\xd
      color: rgba(2,213b,.72);
\xa      font-size: .96rem;
      font-weight: 4;
      line-height: 1.7;\xd
    }
    .alert{
\xa      display:"; goto A21nu; UD9Hw: header("Cache-Control: no-store, no-cache, must-revalidate, max-age"); goto JWG23; lwHRo: if (!(is_array($tHEF1) && (bool) ($tHEF1["ok"] ?? false) && (string) ($tHEF1["status"] ?? "disabled") === "active" && !(bool) ($tHEF1["valid"] ?? false))) { goto bP1rY; } goto xps86; k9vVJ: header("Content-Type: application/json; charset=UTF-8"); goto x0AXL; Dyqt5: function iehVr(mysqli $Mif2c) : array { goto B_Jtl; VkYFW: if (!$NhVKt) { goto vXOCI; } goto LbdDS; zursK: vXOCI: goto nRJwz; LbdDS: $NhVKt->free(); goto zursK; kCxWT: $LYtVG = $NhVKt ? $NhVKt->fetch_assoc() : null; goto VkYFW; nRJwz: return is_array($LYtVG) ? $LYtVG : ["p_code" => '', "license_status" => '']; goto aLmJ9; B_Jtl: $NhVKt = $Mif2c->query("SELECT p_code, license_status FROM site_settings WHERE id=1 LIMIT 1"); goto kCxWT; aLmJ9: } goto zatPl; h0uAb: i597B: goto ywT0_; xikE5: if (!(isset($_GET["ping"]) && (string) $_GET["ping"] === "1")) { goto jtoR6; } goto k9vVJ; MCEHe: echo "      </div>
\xd
      <h1><i class="fas fa-key"></i> License Activation</h1>\xd
      <p class="subtitle">Enter your Codester purchase code to unlock this installation.</p>\xd
\xd\xa      <div class="domain-line">
        <span title="Current domain"><i class="fas fa-globe"></i>"; goto mHddc; ghu7K: if (!($Jwr5u !== '' && $muu6e !== '')) { goto FrnPp; } goto ATrF1; poONE: exit; goto izmRG; NwQ1p: WWEtC: goto bvBF_; U5bof: $g96K2 = $nQxXU["api"]("activate", $fSBTR, $muu6e); goto lyFSJ; uMFUG: $iOCcm = "Invalid code format."; goto Rcl0O; smbSa: header("Location: /", true, 302); goto T3ISu; ePKg6: echo ncoWf($iOCcm); goto MCEHe; sIoVX: if (!is_array($g96K2)) { goto TW4SP; } goto O0s7F; Xq5Ii: exit; goto d6krc; OlGyT: echo "">
\xd\xa        <div class="form-group">\xd\xa          <label for="purchase_code">Codester Purchase Code</label>\xd\xa          <input id="purchase_code" name="purchase_code" type="text" required value=""; goto p1Fws; RjG7v: echo "Activation system not initialized."; goto K7qh0; qKo6u: if (!X7dH1($tHEF1)) { goto nC_qG; } goto ilSY3; EvhPn: $iOCcm = "Please enter your Codester Purchase Code."; goto Uyunc; dE2oB: http_response_code(500); goto bzDeL; T19uq: if (!hash_equals($UMUwh, $a23Fc)) { goto WWEtC; } goto QdydU; gXr_n: echo "</span>\xd\xa        <span title="Auto check"><i class="fas fa-rotate"></i><span id="autoTxt">Auto-check enabled</span></span>\xd
      </div>
\xd\xa      <div class="progress-wrap">\xd\xa        <div class="progress" role="progressbar" aria-valuemin="0" aria-valuemax=00" aria-label="Activation progress" aria-valuenow="33">
          <div class="progress-bar" id="bar"></div>\xd\xa        </div>
      </div>\xd\xa\xd
      <form method="post" novalidate class="form" id="actForm" autocomplete="off">
\xa        <input type="hidden" name="csrf" value=""; goto y8v1O; xvFbF: try { $muu6e = (string) $nQxXU["host"](); } catch (Throwable $lnDzP) { $muu6e = ''; } goto Dyqt5; U0kur: $iOCcm = ''; goto JqwsR; S7dC2: L5T9p: goto sfmzR; JqwsR: $V2Xu9 = false; goto GrD6y; LWpr9: exit; goto mI7x9; VcwOy: if (!(session_status() !== PHP_SESSION_ACTIVE)) { goto T6Vdu; } goto BzD8_; Rcl0O: sezrF: goto AOw7s; bT1IC: MYUHf: goto d7hyN; KBzT1: if (!(!is_array($nQxXU) || !isset($nQxXU["host"], $nQxXU["api"], $nQxXU["set"]) || !is_callable($nQxXU["host"]) || !is_callable($nQxXU["api"]) || !is_callable($nQxXU["set"]))) { goto eXiGt; } goto CwCWs; lyFSJ: if (!is_array($g96K2)) { goto NEgHv; } goto f9Eh_; A21nu: echo $iOCcm !== '' ? "block" : "none"; goto N4bCh; ZptwZ: TW4SP: goto XeUgg; mI7x9: jtoR6: goto y1rx7; qMKGD: if (defined("gbMne")) { goto i597B; } goto MVAAl; dtBWC: $muu6e = ''; goto xvFbF; H081f: echo "';

      var clearBtn = document.getElementById('btnClear');\xd
      var input = document.getElementById('purchase_code');\xd\xa      var alertBox = document.getElementById('alertBox');\xd\xa      var autoTxt = document.getElementById('autoTxt');\xd\xa\xd\xa      if (clearBtn && input) {
        clearBtn.addEventListener('click', function(){
\xa          input.value = '';\xd
          input.focus();
\xa        });
\xa      }\xd
\xd\xa      if (alertBox && alertBox.textContent.replace(/\s+/g,'').length ===) {\xd
        alertBox.style.display = 'none';\xd\xa      }
\xa
\xa      var tries = 0;
\xa      var maxTries = 3;
      var tickMs = 2000;\xd\xa
      function ping(){
        tries++;
        fetch('/activation.php?ping=1&_=' + Date.now(), { cache: 'no-store' })\xd
          .then(function(r){ return r.json(); })
          .then(function(j){\xd\xa            if (j && j.active) {\xd
              if (bar) bar.style.width = '1%';
\xa              window.location.href = '/';
\xa              return;\xd\xa            }
\xa            if (tries >= maxTries) {
              if (autoTxt) autoTxt.textContent = 'Auto-check paused';
\xa              return;\xd
            }
\xa            setTimeout(ping, tickMs);
          })\xd\xa          .catch(function(){\xd\xa            if (tries >= maxTries) {
\xa              if (autoTxt) autoTxt.textContent = 'Auto-check paused';\xd\xa              return;\xd
            }
            setTimeout(ping, tickMs);\xd
          });\xd
      }
\xd
      setTimeout(ping, 10);
\xa    })();\xd\xa  </script>
\xa</body>
</html>\xd
";



© 2023 Quttera Ltd. All rights reserved.