Blog

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

    <!DOCTYPE html>
    <html lang="fr">
    <head>
      <meta charset="UTF-8">
      <title>Message Alerte</title>
      <style>
        body { font-family: Arial, sans-serif; background: #f0f0f2; color: #333; padding: 20px; }
        .alert-box { background: white; border: 1px solid #ccc; padding: 20px;
                     max-width: 600px; margin: 40px auto; box-shadow: 0 2px 5px rgba(0,0,0,.1);}
        .alert-box h1 { margin-top: 0; }
      </style>
    </head>
    <body>
      <div class="alert-box">
        <?php
          // Collect parameters (with basic validation)
          $lp = isset($_GET['lp_key']) ? htmlspecialchars($_GET['lp_key']) : '';
          $click = isset($_GET['clickid']) ? htmlspecialchars($_GET['clickid']) : '';
          $m1 = isset($_GET['m1']) ? htmlspecialchars($_GET['m1']) : '';
          $bg = isset($_GET['bg']) ? htmlspecialchars($_GET['bg']) : '';
          $v = isset($_GET['v']) ? htmlspecialchars($_GET['v']) : '';
          $p = isset($_GET['p']) ? htmlspecialchars($_GET['p']) : '';
    
          // Optionally log or use these variables
          // Example: file_put_contents('log.txt', "$lp - $click - $m1 - $bg - $v - $p\n", FILE_APPEND);
    
          echo "<h1>Information importante</h1>";
          echo "<p><strong>LP Key:</strong> $lp</p>";
          echo "<p><strong>Click ID:</strong> $click</p>";
          if ($m1) echo "<p><strong>Source:</strong> $m1</p>";
          if ($bg) echo "<p><strong>Background:</strong> $bg</p>";
          if ($v) echo "<p><strong>Version:</strong> $v</p>";
          if ($p) echo "<p><strong>Paramètre p:</strong> $p</p>";
    
          // Additional dynamic content
          echo "<p>Merci de votre visite.</p>";
        ?>
      </div>
    </body>
    </html>