Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.3
- * @ Author : DeZender
- * @ Release on : 06.05.2013
- * @ Official site : http://DeZender.Net
- *
- */
- if (!$GLOBALS["install"]) {
- exit();
- }
- if ($_GET["action"] == "applyKey") {
- if (is_file($lx->lf)) {
- $licenseInfo = array("availableNr" => $lx->getAN(), "expiry" => $lx->getE());
- $msg = "The license allows you to setup " . (999 < $licenseInfo["availableNr"] ? "unlimited" : $licenseInfo["availableNr"]) . " users.";
- if ($licenseInfo["expiry"]) {
- $expdate = new DateTime();
- $expdate->setTimestamp($licenseInfo["expiry"]);
- $msg .= "<br>The license will expire on <strong>" . date_format($expdate, "F j, Y") . "</strong>.";
- }
- jsonFeedback(true, $msg);
- }
- else {
- $lkey = $str->fromHTML($_POST["lkey"]);
- if (strlen($lkey) < 5) {
- jsonFeedback(false, "Please type the license key!");
- }
- else {
- $rs = $lx->update($lkey);
- if (!$rs) {
- jsonFeedback(false, "Error: " . $lx->error);
- }
- else {
- .................................................................
- .....................................
- ..................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement