/* Decoded by unphp.net */ soap_defencoding = 'UTF-8';$x10 = $x0f->getError();if ($x10 == false) {$x11 = "";if ($_REQUEST["key"] != "") {include("version.php");$x12 = "version";$x13 = $x26(" ", "_", $$x12);$x14 = $x25("web/" . $$x0d);$x15 = "professional";$x11 = x0b($x15, $$x0c, $x13, $x14);if ($x11 != "validated") {$x15 = "basic";$x11 = x0b($x15, $$x0c, $x13, $x14);}}if ($x11 == "validated") {$$x0b->query("DELETE FROM vtiger_pdfmaker_license");$$x0b->query("INSERT INTO vtiger_pdfmaker_license VALUES('" . $x15 . "','" . $_REQUEST["key"] . "')");if ($x15 == "professional")$x15 = "";else$x15 .= "/";$$x0b->query("UPDATE vtiger_pdfmaker_version SET license='" . $x25($x15 . $$x0d) . "' WHERE version='" . $$x0c . "'");$x16 = "ok";$x17 = CRMEntity::getInstance("PDFMaker");$x17->actualizeLinks();}else {$x16 = "invalid";}} else {$x16 = "error";}$x24("Location:index.php?module=" . $$x0e . "&action=License&parenttab=Tools&reactivate=" . $x16);exit;function x0b($x15, $x18, $x13, $x14) { global $x20,$x21,$x22,$x23,$x24,$x25,$x26,$x27,$x28; global $x0f;$x19 = $x28();$x1a = array("key" => $_REQUEST["key"],"type" => $x15,"vtiger" => $x18,"pdfmaker" => $x13,"url" => $x14,"time" => $x19);$x11 = $x0f->call("reactivate_license", $x1a);if ($x11 != "invalidated" && $x11 != "validate_err") {$x1b = $x23("_", $x11);$x11 = "invalidated";$x1c = $x21("Yy", $x19);$x1d = $x27($x15);$x1e = $x27($x14);$x1f = $x1c;$x1f -= ($x1d + $x1e);$x1f -= $x19;if ($x1b[1] == $x20($x1f))$x11 = $x1b[0];}return $x11;} ?>