Advertisement
Guest User

Untitled

a guest
May 5th, 2022
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP7 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 4.1.0.1
  8. * @ Author : DeZender
  9. * @ Release on : 29.08.2020
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. $dosya_yolu = '//' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']);
  15. require_once 'baglan.php';
  16.  
  17. if (isset($_POST['subscribe'])) {
  18. $kod = $_POST['kod'];
  19. $kodkontrol = $db->prepare('SELECT kod FROM lisans');
  20. $kodkontrol->execute();
  21.  
  22. if ($kodkontrol->rowCount()) {
  23. $KODDurum = $kodkontrol->fetch(PDO::FETCH_ASSOC);
  24. $sorgu = $db->prepare('UPDATE lisans SET' . "\r\n\t\t\t" . 'kod = ?' . "\r\n\t\t\t" . 'WHERE kod = ?');
  25. $guncelle = $sorgu->execute([$kod, $KODDurum['kod']]);
  26. unlink('./ls.txt');
  27. $bilgi = '<span class="success"><i class="fa fa-exclamation-triangle"></i>Lisans kodunuz kontrol ediliyor.</span>';
  28. header('Refresh:2; url=index.html');
  29. }
  30. else {
  31. $sorgu = $db->prepare('INSERT INTO lisans SET' . "\r\n\t\t\t" . 'kod = ?');
  32. $ekle = $sorgu->execute([$kod]);
  33. .................................................
  34. ..............................
  35. ...........
Advertisement
RAW Paste Data Copied
Advertisement