function lmm_validate_license_info($release_date_info = FALSE, $license_only_info = FALSE) { $spbas_info = new Ou(); if ($release_date_info !== FALSE) { $spbas_info->release_date_info = strrev(substr($release_date_info, 1, 012)); } $spbas_info->lv = "database"; $spbas_info->Ov = array("local_key" => get_option("leafletmapsmarkerpro_license_local_key")); $spbas_info->lw = array("function" => "update_option", "key" => "leafletmapsmarkerpro_license_local_key"); $spbas_info->Ow = "1,2,3,4,5,6,7,8,9,10"; $spbas_info->lx = get_option("leafletmapsmarkerpro_license_key"); $spbas_info->Ox = "7ca99e156b5e30e0648f49b81178cd7e"; $spbas_info->ly = "https://www.mapsmarker.com/store/api/index.php"; $spbas_info->validate(); if ($license_only_info !== FALSE) { if ($spbas_info->Oy) { return FALSE; } else { return TRUE; } } if ($spbas_info->Oy) { return FALSE; } if ($release_date_info === FALSE) { $download_expires_info = $spbas_info->Oz["download_access_expires"]; $support_expires_info = $spbas_info->Oz["support_access_expires"]; $expires_info = abs($download_expires_info > $support_expires_info ? $download_expires_info : $support_expires_info); if (!l11()) { if ($spbas_info->Oz["license_expires"] == "never") { return FALSE; } if (time() > $spbas_info->Oz["license_expires"]) { return FALSE; } return TRUE; } return $expires_info > time() ? TRUE : FALSE; } else { if ($release_date_info !== FALSE) { $download_expires_info = $spbas_info->Oz["download_access_expires"]; $support_expires_info = $spbas_info->Oz["support_access_expires"]; $expires_info = abs($download_expires_info > $support_expires_info ? $download_expires_info : $support_expires_info); if (!l11()) { if ($spbas_info->Oz["license_expires"] == "never") { return FALSE; } if (time() > $spbas_info->Oz["license_expires"]) { return FALSE; } return TRUE; } if ($spbas_info->Oa > $expires_info) { return FALSE; } else { return TRUE; } } } }
echo "<input type=\"submit\" class=\"button-primary\" value=\"" . __("Start anonymous free 30-day trial period", "lmm") . "\" " . $l22 . " />"; echo "\r\n\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</div><!--register_free_trial_anonym div-->\r\n\t\r\n\t\t<hr noshade size=\"1\" style=\"margin:20px 0;border-top:1px solid #666666;\" />\r\n\t\r\n\t\t<div class=\"icon-localhost-rtl\"><img src=\""; echo LEAFLET_PLUGIN_URL; echo "inc/img/icon-localhost.png\" width=\"34\" height=\"34\" alt=\"icon localhost\"></div>\r\n\t\t<div style=\"font-weight:bold;\">"; _e("Option D: start an unlimited, anonymous test on a localhost installation", "lmm"); echo "</div>\r\n\t\t"; echo sprintf(__("If you install Maps Marker Pro on a localhost installation (<a href=\"%1s\" target=\"_blank\">see available packages</a>), registering a free 30-day trial license key is not mandatory and the plugin can also be tested without time limitation.", "lmm"), "http://en.wikipedia.org/wiki/List_of_AMP_packages"); echo "\r\n\t"; } echo "\r\n\r\n\t<p>\r\n\t"; if (la($Oa = l0, $lb = FALSE) === TRUE) { if ($lu->lx && $O1w != NULL) { echo "<p><strong>" . __("License registered to", "lmm") . ":</strong> " . $l1w["customer"]["name"] . "</p>"; } if (la($Oa = FALSE, $lb = TRUE) === TRUE && la() === TRUE) { if (!l11()) { $lz = $lu->Oz["license_expires"]; $O22 = abs(floor((time() - $lz) / (074 * 074 * 030))); if ($lz != NULL) { echo "<strong>" . __("Free trial license is valid until:", "lmm") . "</strong> " . date("d/m/Y", $lz) . " (" . $O22 . " " . __("days left", "lmm") . ") <span style=\"font-family:serif;\">→</span> <a style=\"text-decoration:none;\" href=\"https://www.mapsmarker.com/order\" target=\"_blank\">" . __("click here to get a non-expiring license key", "lmm") . "</a>"; } } else { $lz = $lu->Oz["download_access_expires"]; $O22 = abs(floor((time() - $lz) / (074 * 074 * 030))); echo "<strong>" . __("Access to plugin updates and support area valid until:", "lmm") . "</strong> " . date("d/m/Y", $lz) . " (" . $O22 . " " . __("days left", "lmm") . ")"; } } else { if (la($Oa = FALSE, $lb = TRUE) === TRUE && la() === FALSE) { $l5 = get_option("leafletmapsmarker_version_pro"); echo "<div id='message' class='error' style='padding:5px;'><strong>" . __("Warning: your access to updates and support for Maps Marker Pro has expired!", "lmm") . "</strong><br/>"; if ($lc > $l5) {