Advertisement
Guest User

Untitled

a guest
Sep 11th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Loader)
  6. *
  7. * @ Version : 2.0.0.3
  8. * @ Author : DeZender
  9. * @ Release on : 06.05.2013
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. if (!$GLOBALS["install"]) {
  15. exit();
  16. }
  17. if ($_GET["action"] == "applyKey") {
  18. if (is_file($lx->lf)) {
  19. $licenseInfo = array("availableNr" => $lx->getAN(), "expiry" => $lx->getE());
  20. $msg = "The license allows you to setup " . (999 < $licenseInfo["availableNr"] ? "unlimited" : $licenseInfo["availableNr"]) . " users.";
  21. if ($licenseInfo["expiry"]) {
  22. $expdate = new DateTime();
  23. $expdate->setTimestamp($licenseInfo["expiry"]);
  24. $msg .= "<br>The license will expire on <strong>" . date_format($expdate, "F j, Y") . "</strong>.";
  25. }
  26. jsonFeedback(true, $msg);
  27. }
  28. else {
  29. $lkey = $str->fromHTML($_POST["lkey"]);
  30. if (strlen($lkey) < 5) {
  31. jsonFeedback(false, "Please type the license key!");
  32. }
  33. else {
  34. $rs = $lx->update($lkey);
  35. if (!$rs) {
  36. jsonFeedback(false, "Error: " . $lx->error);
  37. }
  38. else {
  39. .................................................................
  40. .....................................
  41. ..................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement