Guest User

Untitled

a guest
Oct 26th, 2024
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP8 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 8.1.0.9
  8. * @ Author : DeZender
  9. * @ Release on : 27.10.2023
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. require_once 'licence.php';
  15. $api = new LicenseBoxExternalAPI();
  16. $res = $api->verify_license();
  17.  
  18. if ((bool) $res['status']) {
  19. echo '<meta http-equiv="refresh" content="0; url=../">';
  20. }
  21. else {
  22. echo '<!DOCTYPE html>' . "\n" . '<html>' . "\n" . ' <head>' . "\n" . ' <meta charset="utf-8"/>' . "\n" . ' <title>Eral Bilişim - Licence Verify</title>' . "\n" . ' <meta name="viewport" content="width=device-width,initial-scale=1">' . "\n" . ' <meta name="robots" content="noindex, nofollow">' . "\n" . ' <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.8.2/css/bulma.min.css" crossorigin="anonymous"/>' . "\n" . ' <style type="text/css">' . "\n" . ' body, html {' . "\n" . ' background: #F4F5F7;' . "\n" . ' }' . "\n" . ' </style>' . "\n" . ' </head>' . "\n" . ' <body>' . "\n" . ' <div class="container" style="padding-top: 20px;"> ' . "\n" . ' <div class="section">' . "\n" . ' <div class="columns is-centered">' . "\n" . ' <div class="column is-two-fifths">' . "\n" . ' <center>' . "\n" . ' <h1 class="title" style="padding-top: 20px">Licence Verify</h1><br>' . "\n" . ' </center>' . "\n" . ' <div class="box">' . "\n" . ' ';
  23. $license_code = NULL;
  24. $client_name = NULL;
  25. if (!empty($_POST['license']) && !empty($_POST['client'])) {
  26. $license_code = strip_tags(trim($_POST['license']));
  27. $client_name = strip_tags(trim($_POST['client']));
  28. $activate_response = $api->activate_license($license_code, $client_name);
  29.  
  30. if (empty($activate_response)) {
  31. $msg = 'Server is unavailable.';
  32. }
  33. else {
  34. $msg = $activate_response['message'];
  35. }
  36.  
  37. if (!$activate_response['status']) {
  38. echo ' <form action="index.php" method="POST">' . "\n" . ' <div class="notification is-danger is-light">';
  39. echo ucfirst($msg);
  40. ....................................................................
  41. .........................................
  42. ....................
Advertisement
Add Comment
Please, Sign In to add comment