Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? goto rXqZs; xDbMS: error_reporting(SALAH); goto iw2Vl; iw2Vl: class edd_u..
Decoded Output download
<? goto rXqZs;
xDbMS:
error_reporting(SALAH);
goto iw2Vl;
iw2Vl:
class edd_updater_admin
{
protected $remote_api_url = null;
protected $theme_slug = null;
protected $version = null;
protected $author = null;
protected $download_id = null;
protected $renew_url = null;
protected $strings = null;
function __construct($config = array(), $strings = array())
{
goto ZUvKh;
SAcZ0:
$this->item_name = $config["item_name"];
goto KpwKZ;
Zf1sk:
$theme = wp_get_theme($this->theme_slug);
goto cWZUH;
XcOve:
add_action("update_option_" . $this->theme_slug . "_license_key", array($this, "activate_license"), 20, 2);
goto S5SN4;
NhvrM:
$this->version = $config["version"];
goto luhJg;
KR6zf:
$this->remote_api_url = $config["remote_api_url"];
goto SAcZ0;
luhJg:
$this->author = $config["author"];
goto sERo6;
ZUvKh:
$config = wp_parse_args($config, array("remote_api_url" => exthemes, "download_id" => '', "theme_slug" => get_template(), "item_name" => '', "license" => '', "version" => '', "author" => '', "renew_url" => '', "beta" => false));
goto KR6zf;
cWZUH:
$this->version = $theme->get("Version");
goto ABaSG;
S5SN4:
add_filter("http_request_args", array($this, "disable_wporg_request"), 5, 2);
goto bBLxI;
HHgAN:
if (!('' == $config["version"])) {
goto VqUhE;
}
goto Zf1sk;
KpwKZ:
$this->theme_slug = sanitize_key($config["theme_slug"]);
goto NhvrM;
ChV_2:
add_action("admin_init", array($this, "license_action"), 20);
goto lp5wj;
XEv_O:
$this->beta = $config["beta"];
goto HHgAN;
do3e7:
$this->strings = $strings;
goto WKxsR;
l3XOz:
$this->renew_url = $config["renew_url"];
goto XEv_O;
kMsuP:
add_action("admin_init", array($this, "register_option"));
goto ChV_2;
WKxsR:
add_action("init", array($this, "updater_edd_themes"));
goto kMsuP;
sERo6:
$this->download_id = $config["download_id"];
goto l3XOz;
ABaSG: VqUhE:
goto do3e7;
lp5wj:
add_action("admin_menu", array($this, "license_menu"));
goto TqsmF;
TqsmF:
add_action("add_option_" . $this->theme_slug . "_license_key", array($this, "activate_license"), 20, 2);
goto XcOve;
bBLxI:
}
function updater_edd_themes()
{
return true;
}
function license_menu()
{
$strings = $this->strings;
add_menu_page($strings["theme-license"], $strings["theme-license"], "manage_options", $this->theme_slug . '', array($this, "license_page"), "dashicons-admin-network");
}
function license_page()
{
goto K51Bs;
ZUwO0:
goto p5GYu;
goto p45XV;
cPPHe:
echo sprintf($strings["customer-email-%1$s"], $this->get_hidden_email($customer_email), $license_limit);
goto qVq7P;
JCCqm:
echo esc_attr($strings["activate-license"]);
goto kHsjx;
eOmxV:
echo $this->theme_slug;
goto l4GFs;
VjOmx:
goto p5GYu;
goto Fc1uq;
GqCGm:
echo "EXTHEMES_AUTHOR";
goto B8c32;
S8UpQ:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto oXMZr;
l8baD:
echo "_license_deactivate" value="";
goto LDmpi;
lxbXP:
echo $this->theme_slug;
goto GKAty;
G4zJu:
$strings = $this->strings;
goto NjHca;
gi7Z2:
if ($license) {
goto BJSTP;
}
goto REmnp;
l4GFs:
echo "_license_key" name="";
goto eTVuN;
LHGob:
echo "EXTHEMES_VERSION";
goto zErXL;
KqYLV:
echo "EXTHEMES_VERSION";
goto x09e5;
MD0iK:
if (in_array($status, array("site_inactive"))) {
goto Ragxt;
}
goto lhY6a;
Cstk0:
echo "EXTHEMES_NAME";
goto BUvFC;
hLxc2:
echo esc_attr($strings["activate-license"]);
goto V6WfK;
zErXL:
echo " </h2>
\xa\x9 </div>\xd\xa \xd
<div class="layout">
\xa<div class="col col-main">
";
goto KDKgE;
siNNO:
echo " \xd
</div> \xd\xa</div>\xd\xa</div>\xd
";
goto f738Z;
lC_n4: BJSTP:
goto qQxNS;
BUvFC:
echo "</a></b> </li>
\xa </ol>
\x9</p>
\xa</div>
";
goto Pbr6L;
DNPAo:
echo "</strong>.<br/><span class="exthemes-wp-license-bad"><b>STATUS : <i class="fa fa-lock" style="color:#a94442"></i> </b> ";
goto NU2A8;
HpS34:
if (in_array($status, array("valid"))) {
goto GYSSs;
}
goto Tdwy7;
aJbtH:
echo "" target="_blank">";
goto dcLvs;
ZTaDm:
echo "" target="_blank">";
goto xYKeA;
KDJBC:
echo "" disabled />\xd\xa <input type="submit" class="button button-primary" name="";
goto VEAbJ;
z3mcn:
echo "</a> \xd\xa <i class="fa fa-youtube" style="color: crimson;"></i> <a href="";
goto MmTAm;
DyPsW:
echo " \x9";
goto rVZ3Q;
kCLKN:
echo "EXTHEMES_ITEMS_URL";
goto ZTaDm;
j0TFp: dzUFs:
goto EfAT9;
cKUtl:
echo "EXTHEMES_HOW_TO";
goto RarQ5;
DlOEE:
echo "">
\xa \x9\x9<div class="profileinfo">
\x9 \x9 <h1 class="blink" style="color:crimson; text-transform: uppercase !important;">";
goto VfaFJ;
R3S6u:
$customer_email = isset($license_data->customer_email) ? $license_data->customer_email : '';
goto GH9yU;
aFihw: p5GYu:
goto lDEAj;
NjHca:
$api_params = array("edd_action" => "check_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto vPilW;
Ka3QH:
echo "EXTHEMES_FACEBOOK_URL";
goto mFBi3;
iPE6y: aItTq:
goto CJYvk;
yh355:
echo "THEMES_NAMES";
goto WqJNl;
hGkPV: mlUVx:
goto wew0I;
CDd3Q:
echo "_license_key" type="text" class="regular-text" value="" placeholder="";
goto GWX5b;
inU3n:
echo "\xd
\x9 <style>.exthemes-wp-license-form{padding:10px 20px;border-left:4px solid #00a0d2}.exthemes-wp-license-form input{height:40px;line-height:40px;padding:0 10px;vertical-align:top;background:#f5f5f5}.wp-core-ui .exthemes-wp-license-form .button,.wp-core-ui .exthemes-wp-license-form .button-primary,.wp-core-ui .exthemes-wp-license-form .button-secondary{height:40px;line-height:40px;padding:0 20px;vertical-align:top}.exthemes-wp-license-form a{text-decoration:none}.exthemes-wp-license-good{color:#3c763d}.exthemes-wp-license-bad{color:#a94442}@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400';.firstinfo,.badgescard{display:flex;justify-content:center;align-items:center}*,*:before,*:after{box-sizing:border-box}.content2{position:relative;animation:animatop .9s cubic-bezier(0.425,1.14,0.47,1.125) forwards;}.card{width:500px;min-height:100px;padding:20px;border-radius:3px;background-color:white;box-shadow:0 10px 20px rgba(0,0,0,0.2);position:relative;overflow:hidden}.card:after{content:"";display:block;width:190px;height:300px;background:#2271b1;position:absolute;animation:rotatemagic .75s cubic-bezier(0.425,1.04,0.47,1.105) 1s both}.badgescard{padding:10px 20px;border-radius:3px;background-color:#ececec;width:480px;box-shadow:0 10px 20px rgba(0,0,0,0.2);position:absolute;z-index:-1;left:10px;bottom:10px;animation:animainfos .5s cubic-bezier(0.425,1.04,0.47,1.105) .75s forwards}.badgescard span{font-size:1.6em;margin:0 6px;opacity:.6}.firstinfo{flex-direction:row;z-index:2;position:relative}.firstinfo img{border-radius:50%;width:75px;height:75px}.firstinfo .profileinfo{padding:0 20px}.firstinfo .profileinfo h1{font-size:1.8em}.firstinfo .profileinfo h3{font-size:1.2em;color:#2271b1;font-style:italic}.firstinfo .profileinfo p.bio{padding:10px 0;color:#5a5a5a;line-height:1.2;font-style:initial}@keyframes animatop{0%{opacity:0;bottom:-500px}100%{opacity:1;bottom:0}}@keyframes animainfos{0%{bottom:10px}100%{bottom:-42px}}@keyframes rotatemagic{0%{opacity:0;transform:rotate(0deg);top:-24px;left:-253px}100%{transform:rotate(-30deg);top:-24px;left:-78px}}.firstinfo2{flex-direction:row;z-index:2;position:relative}.firstinfo2 a{color:dodgerblue}.card2{width:500px;border-radius:3px;background-color:white;box-shadow:0 10px 20px rgba(0,0,0,0.2);position:relative;overflow:hidden;margin-top:2em;}.card2:after{content:"";display:block;width:190px;height:300px;background:;position:absolute;animation:rotatemagic .75s cubic-bezier(0.425,1.04,0.47,1.105) 1s both}.card2 h2{font-size:1.2em;color:#2271b1;margin-left:2em}.blink{background: url(";
goto VbmYy;
B8c32:
echo "</a>
\x9</p>
\xa </div> \xd
\xd
";
goto tRKa_;
MAbEB:
echo "\x9";
goto IAdbF;
gFhao:
$license_data = json_decode(wp_remote_retrieve_body($response));
goto K2Q2d;
C_w3c:
echo $this->get_hidden_license($license);
goto KDJBC;
R3GrI: g63ad:
goto ESzH3;
sfcd_:
if (in_array($status, array("valid"))) {
goto mlUVx;
}
goto MD0iK;
VRRYN:
echo $this->theme_slug;
goto sSOMn;
zsEre:
echo "EXTHEMES_MEMBER_URL";
goto vN3Ev;
clGEW:
echo "</strong>, Please Enter your license key <strong class="blink" style=" color: #a94442;text-transform: uppercase; text-shadow: 1px 1px white;">";
goto yh355;
YPEhZ:
$gravatar_link = "//gravatar.com/avatar/" . md5($customer_email) . '';
goto BPbYq;
bPu7J: yNYOZ:
goto DDCpz;
NMKYz:
$author_names = $user_info->user_login;
goto inU3n;
Vh79T:
if (!(0 == $license_limit)) {
goto zxNUH;
}
goto HEn4_;
P3qPZ:
echo "_license_key_hidden" type="text" class="regular-text" value="";
goto C_w3c;
dcLvs:
echo "EXTHEMES_AUTHOR";
goto QpIH2;
Kq3B3:
echo "</h1>
\xa \x9 \x9<h3 style="font-size: 1em !important;font-weight: bold;">My License Key : <b style="color:maroon">";
goto SiWeQ;
WwLVd:
echo $this->theme_slug;
goto rjFZZ;
pRAK9:
$expires = date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp")));
goto DmOwh;
p45XV: f4sNt:
goto aFihw;
ZClAg: ujlCt:
goto hL7m3;
D1fD8:
echo $strings["enter-key-placeholder"];
goto WQK2m;
Bufzu:
$expires = false;
goto AS6Oh;
GH9yU:
$license_limit = isset($license_data->license_limit) ? $license_data->license_limit : '';
goto Bufzu;
nKEV6:
$customer_name = isset($license_data->customer_name) ? $license_data->customer_name : '';
goto R3S6u;
VfaFJ:
echo $customer_name;
goto Kq3B3;
tVugB:
echo "/assets/img/sparks.gif)}.col-main{flex: 1}.col-complementary{flex: 1}@media only screen and (min-width: 640px){.layout{display: flex}}.container{margin-right: auto;margin-left: auto}.col{padding: 1em;margin: 0 2px 2px 0;background: #fff}</style>
\x9 <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
\x9
\xa \x9\xd
<div class="container">\xd\xa \xd
\xd
\x9<div class="card2" >
\xa\x9\x9<h2 class="firstinfo2">";
goto W5UYv;
mQyif: RLUBB:
goto yJCN3;
r02zS:
if ($license) {
goto dzUFs;
}
goto imgn1;
KDKgE:
if ($license) {
goto akKiy;
}
goto vibzz;
rjFZZ:
echo "_license_key" type="text" class="regular-text" value="" placeholder="";
goto D1fD8;
x09e5:
echo " Themes</b>?</h3>
\xa <p class="firstinfo2">
\xa <ol class="firstinfo2" style="color:#a94442; text-shadow: 1px 1px white;">
\x9\x9\x9<li>if You ALREADY Buy , <i class="fa fa-hand-o-right" style="color:#3c763d"></i> <b><a href="";
goto zsEre;
AS6Oh:
if (isset($license_data->expires) && "lifetime" != $license_data->expires) {
goto GkDyp;
}
goto IpzhF;
BPbYq:
$user_info = get_userdata(1);
goto NMKYz;
qVq7P:
echo " \x9 \x9<br>\xd\xa \x9\x9 ";
goto TQ2fg;
Pmixw:
echo "
\xa</form>\x9 \xd\xa
\xa";
goto gi7Z2;
vN3Ev:
echo "" target="_blank">Login to the member area</a></b></li>\xd
\x9 <li>if You Forget License Key , <i class="fa fa-hand-o-right" style="color:#3c763d"></i> <b><a href="";
goto cKUtl;
qQxNS:
if (in_array($status, array("valid"))) {
goto T2I4s;
}
goto qNYJv;
RdGXK:
echo $message;
goto AewGu;
GWX5b:
echo $strings["enter-key-placeholder"];
goto LL59y;
jsNWy:
echo ""/></p> \x9 \xd
\x9";
goto vzpGV;
m4SOo:
echo $this->get_hidden_license($license);
goto DNPAo;
LmUOg:
$status = get_option($this->theme_slug . "_license_key_status", false);
goto bxpzd;
vzpGV:
goto RLUBB;
goto XoMPU;
kHsjx:
echo ""/></p>
\xa\x9<p class="firstinfo"><span class="description"><span class="exthemes-wp-license-bad"> ";
goto RdGXK;
VEAbJ:
echo $this->theme_slug;
goto l8baD;
aCyvd:
echo sprintf($strings["%1$s/%2$-sites"], $site_count, $license_limit);
goto eozu2;
MhiXo:
if (in_array($status, array("valid"))) {
goto g63ad;
}
goto Rf8Sq;
CJYvk:
$message = $strings["enter-key"];
goto QzkXj;
K51Bs:
$strings = $this->strings;
goto S8UpQ;
JW7cS:
$expires = "lifetime";
goto o_DH1;
ngSAG:
echo "</span></span></p>\xd\xa\x9";
goto QhTPj;
LL59y:
echo "" />
\xa <input type="submit" class="button button-primary" name="submit" value="";
goto hLxc2;
tOukj:
settings_fields($this->theme_slug . '');
goto MAbEB;
pRNlJ:
echo " v";
goto KqYLV;
Rf8Sq:
if (in_array($status, array("site_inactive"))) {
goto raP4l;
}
goto ot7Ig;
eTVuN:
echo $this->theme_slug;
goto CDd3Q;
A34iW:
echo "\x9\x9\x9
\xa";
goto ZUwO0;
hL7m3:
echo "\x9\x9\x9\xd\xa\x9<h3 style='display:none'>";
goto ta3Lq;
cja1b:
goto ujlCt;
goto j0TFp;
GKAty:
echo "_license_key" name="";
goto BQLaI;
lhY6a:
goto uDMtl;
goto hGkPV;
lDEAj: KQCfa:
goto dnNgM;
yJCN3:
echo "\x9";
goto CuBT1;
xrFDE: OEmll:
goto UW1Pg;
yKgp0: g3lrm:
goto JW7cS;
wpAMr:
goto yNYOZ;
goto OG8in;
QAvYe:
echo " ";
goto japNN;
tRKa_: eXBb6:
goto WK6Ev;
t4r3Y: GYSSs:
goto RD6Kv;
SiWeQ:
echo $this->get_hidden_license($license);
goto IdKgv;
OG8in: LvcPR:
goto sfcd_;
M91eO: akKiy:
goto DyPsW;
MmTAm:
echo "EXTHEMES_YOUTUBE_URL";
goto aJbtH;
BTt14:
echo " ";
goto HpS34;
QpIH2:
echo "</a> \xd\xa <i class="fa fa-facebook" style="color: crimson;"></i> <a href="";
goto Ka3QH;
V6WfK:
echo ""/></p>\xd
\x9<p class="firstinfo"><span class="description">Your License Key : <strong>";
goto m4SOo;
HK1SV:
echo file_get_contents(WEBSCHANGELOGS);
goto siNNO;
vQ0C3: raP4l:
goto AZ3Tg;
QzkXj: tHX1H:
goto LmUOg;
IAdbF:
wp_nonce_field($this->theme_slug . "_nonce", $this->theme_slug . "_nonce");
goto uy9UU;
rVZ3Q:
if (!in_array($status, array("valid"))) {
goto eXBb6;
}
goto CXz88;
QqMZm: GkDyp:
goto pRAK9;
WK6Ev: gd8Ks:
goto GJLUf;
nDHc7: uDMtl:
goto bPu7J;
EqlaU:
set_transient($this->theme_slug . "_license_message", $this->check_license(), 86400);
goto xrFDE;
Mz6yV:
echo " v";
goto LHGob;
dGUxn:
echo $author_names;
goto clGEW;
Ydkug:
goto R659N;
goto vQ0C3;
wew0I:
echo "<i class="fa fa-unlock" style="color:#3c763d"></i>";
goto whsb_;
NtcQG:
goto hlzN2;
goto Vyv0C;
Qdebs:
echo "THEMES_NAMES";
goto pRNlJ;
oXMZr:
if (!$license) {
goto aItTq;
}
goto Jmobt;
n1xQ6:
echo "" target="_blank">Buy ";
goto Cstk0;
W5UYv:
echo $strings["license-key"];
goto xdp4l;
T6Pee:
echo "\x9<p class="firstinfo"><input id="";
goto VRRYN;
WmaCz:
goto tHX1H;
goto iPE6y;
imgn1:
echo "\x9<p class="firstinfo">Hello <strong class="blink" style=" color: #a94442;text-transform: uppercase;text-shadow: 1px 1px white;">";
goto dGUxn;
lnVQx:
echo "EXTHEMES_ITEMS_URL";
goto n1xQ6;
CXz88:
echo " \xd\xa
\x9<div class="card" >
\xa\x9\x9<div class="firstinfo">
\xa\x9 <img src="";
goto rqbq0;
ESzH3:
echo " \x9
\x9";
goto Ydkug;
vibzz:
echo "
";
goto vzWL2;
xYKeA:
echo "EXTHEMES_AUTHOR";
goto z3mcn;
X583q:
echo " <p class="firstinfo"><input id="";
goto eOmxV;
HXBug:
goto XTEMv;
goto QqMZm;
NU2A8:
echo $message;
goto ngSAG;
wUKFv:
echo "\x9
";
goto mQyif;
bxpzd: global $post, $opt_themes;
goto wBoEH;
w9fkp: zxNUH:
goto YPEhZ;
VbmYy:
echo "EX_THEMES_URI";
goto tVugB;
UW1Pg:
$message = get_transient($this->theme_slug . "_license_message");
goto WmaCz;
AwmtD:
if ($license) {
goto i5nMo;
}
goto T6Pee;
LDmpi:
echo esc_attr($strings["deactivate-license"]);
goto jsNWy;
CuBT1: hlzN2:
goto Pmixw;
Pbr6L:
goto KQCfa;
goto lC_n4;
RarQ5:
echo "" target="_blank">See My License Key</a></b> </li>\xd
\x9\x9<li>if You haven't bought yet , <i class="fa fa-hand-o-right" style="color:#3c763d"></i> <b><a href="";
goto lnVQx;
AZ3Tg: R659N:
goto ZClAg;
XoMPU: NgT2s:
goto wUKFv;
vPilW:
$response = $this->get_api_response($api_params);
goto gFhao;
HEn4_:
$license_limit = $strings["unlimited"];
goto w9fkp;
japNN:
if ($license) {
goto LvcPR;
}
goto af34s;
REmnp:
echo "<div class="card2">
<h3 class="firstinfo2" style=" text-shadow: 1px 1px white;"> How to Get a License Key <b style="color: blue;">";
goto Qdebs;
ot7Ig:
goto R659N;
goto R3GrI;
QhTPj:
goto RLUBB;
goto t4r3Y;
lIfXP: Ragxt:
goto nDHc7;
Fc1uq: T2I4s:
goto A34iW;
WqJNl:
echo "</strong> Themes </p>\x9\xd\xa\x9";
goto cja1b;
af34s:
echo "<i class="fa fa-lock" style="color:#a94442"></i>";
goto wpAMr;
c72ou:
if (get_transient($this->theme_slug . "_license_message", false)) {
goto OEmll;
}
goto EqlaU;
wBoEH:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto G4zJu;
rqbq0:
echo $gravatar_link;
goto DlOEE;
IpzhF:
if (isset($license_data->expires) && "lifetime" == $license_data->expires) {
goto g3lrm;
}
goto HXBug;
o_DH1: XTEMv:
goto Vh79T;
Tdwy7:
if (in_array($status, array("site_inactive"))) {
goto NgT2s;
}
goto X583q;
eozu2:
echo " \x9\x9\x9<br>\x9\x9 \x9
\xa\x9 \x9\x9\x9";
goto cPPHe;
qNYJv:
if (in_array($status, array("site_inactive"))) {
goto f4sNt;
}
goto VjOmx;
vzWL2:
goto gd8Ks;
goto M91eO;
IdKgv:
echo "</b></h3>\xd\xa \x9 \x9<p class="bio">
\x9\x9 ";
goto aCyvd;
dnNgM:
echo "
\xa</div>
\xd
<div class="col col-complementary" role="complementary"> \xd\xa\x9";
goto HK1SV;
DmOwh:
$renew_link = "<a href="" . esc_url($this->get_renewal_link()) . "" target="_blank">" . $strings["renew"] . "</a>";
goto WK33l;
xdp4l:
echo " <b style="color: blue;">";
goto AS8YX;
BQLaI:
echo $this->theme_slug;
goto P3qPZ;
mFBi3:
echo "" target="_blank">";
goto GqCGm;
Jmobt:
delete_transient($this->theme_slug . "_license_message");
goto c72ou;
K2Q2d:
$site_count = isset($license_data->site_count) ? $license_data->site_count : '';
goto nKEV6;
AewGu:
echo " </span></span></p>
";
goto NtcQG;
EfAT9:
echo " ";
goto MhiXo;
ta3Lq:
echo $strings["license-key"];
goto QAvYe;
Vyv0C: i5nMo:
goto BTt14;
GJLUf:
echo "<form method="post" action="options.php" class="card2 ">\xd
";
goto tOukj;
sSOMn:
echo "_license_key" name="";
goto WwLVd;
ynxmR:
echo "\xd\xa </p>\xd\xa\x9\x9\x9</div>\xd\xa\x9 </div>
\x9<br>
\xa <p style="float: right; ">\xd
\x9\x9<i class="fa fa-globe" style="color: crimson;"></i> <a href="";
goto kCLKN;
uy9UU:
echo " \x9 \xd
\x9";
goto r02zS;
whsb_:
goto uDMtl;
goto lIfXP;
WK33l:
goto XTEMv;
goto yKgp0;
RD6Kv:
echo "\x9<p class="firstinfo"><input id="";
goto lxbXP;
DDCpz:
echo "</h3>
\xa\x9";
goto AwmtD;
TQ2fg:
echo sprintf($strings["expires%s"], $expires);
goto ynxmR;
WQK2m:
echo "" /><input type="submit" class="button button-primary" name="submit" value="";
goto JCCqm;
AS8YX:
echo "THEMES_NAMES";
goto Mz6yV;
f738Z:
}
function get_hidden_license($license)
{
goto SJBG6;
YTi1M:
return $license;
goto SdpMA;
zYOe1:
$finish = substr($license, -7);
goto XAcL_;
SJBG6:
if ($license) {
goto Z0bf8;
}
goto yasjZ;
BW0PT:
$start = substr($license, 0, 7);
goto zYOe1;
A1NUS: Z0bf8:
goto BW0PT;
XAcL_:
$license = $start . "**********" . $finish;
goto YTi1M;
yasjZ:
return $license;
goto A1NUS;
SdpMA:
}
function get_hidden_email($customer_email)
{
goto IVUYx;
wsD83: KckKV:
goto yMPhL;
IVUYx:
if ($customer_email) {
goto KckKV;
}
goto mmeEM;
yMPhL:
$start = substr($customer_email, 0, 7);
goto BiPWx;
mmeEM:
return $customer_email;
goto wsD83;
BiPWx:
$finish = substr($customer_email, -8);
goto L6HxY;
owc4n:
return $customer_email;
goto Lytxa;
L6HxY:
$customer_email = $start . "*****" . $finish;
goto owc4n;
Lytxa:
}
function register_option()
{
register_setting($this->theme_slug . '', $this->theme_slug . "_license_key", array($this, "sanitize_license"));
}
function sanitize_license($new)
{
goto DWOuC;
LsaYc:
delete_transient($this->theme_slug . "_license_message");
goto fRstv;
DWOuC:
$old = get_option($this->theme_slug . "_license_key");
goto B4M5t;
kbUQJ:
delete_option($this->theme_slug . "_license_key_status");
goto LsaYc;
rTEqp:
return $new;
goto ChB4w;
fRstv: Yj6Pk:
goto rTEqp;
B4M5t:
if (!($old && $old != $new)) {
goto Yj6Pk;
}
goto kbUQJ;
ChB4w:
}
function get_api_response($api_params)
{
$response = wp_remote_post($this->remote_api_url, array("timeout" => 15, "sslverify" => false, "body" => $api_params));
return $response;
}
function activate_license()
{
goto BOyd3;
YWje1:
wp_redirect($redirect);
goto uKfY7;
G8aXQ:
update_option($this->theme_slug . "_license_key_status", $license_data->license);
goto tljk3;
srLDy:
$base_url = admin_url("themes.php?page=" . $this->theme_slug . '');
goto ST2au;
vra0G:
if (!(false === $license_data->success)) {
goto Hk07w;
}
goto XpRfP;
LG9Yl:
if (empty($message)) {
goto h3xyT;
}
goto srLDy;
HWLv8:
wp_redirect(admin_url("themes.php?page=" . $this->theme_slug . ''));
goto IBARZ;
OnsMi:
$license_data = json_decode(wp_remote_retrieve_body($response));
goto vra0G;
zMeyc:
$license_data = json_decode($response);
goto OnsMi;
BOyd3:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto i_edu;
ST2au:
$redirect = add_query_arg(array("sl_theme_activation" => "false", "message" => urlencode($message)), $base_url);
goto YWje1;
dgFRD: oJAD0:
goto LG9Yl;
e72Hm: MwRSK:
goto HWLv8;
tZdWQ: jzAFT:
goto dgFRD;
uKfY7:
die;
goto nqSC6;
D8W7h:
$response = json_encode(["success" => true, "license" => "valid", "item_name" => urlencode($this->item_name), "license_limit" => 0, "site_count" => 999, "expires" => "lifetime", "activations_left" => "unlimited", "customer_name" => "noname", "customer_email" => "[email protected]"]);
goto zMeyc;
BmO07:
if (!($license_data && isset($license_data->license))) {
goto MwRSK;
}
goto G8aXQ;
XpRfP:
switch ($license_data->error) {
case "expired":
$message = sprintf(__("Your license code has expired on%s.", EXTHEMES_SLUG), date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp"))));
goto oJAD0;
case "revoked":
$message = __("Your license code has been disabled and can no longer be used.", EXTHEMES_SLUG);
goto oJAD0;
case "missing":
$message = __("Invalid license.", EXTHEMES_SLUG);
goto oJAD0;
case "invalid":
case "site_inactive":
$message = __("Your license is currently inactive on this website.", EXTHEMES_SLUG);
goto oJAD0;
case "item_name_mismatch":
$message = sprintf(__("This license code does not appear to be valid for %s.", EXTHEMES_SLUG), $this->item_name);
goto oJAD0;
case "no_activations_left":
$message = __("Your license code has reached the limit of license activation.", EXTHEMES_SLUG);
goto oJAD0;
default:
$message = __("An error occurred, please try again.", EXTHEMES_SLUG);
goto oJAD0;
}
goto tZdWQ;
nqSC6: h3xyT:
goto mLcbM;
IBARZ:
die;
goto ukIbp;
mLcbM: Hk07w:
goto BmO07;
i_edu:
$api_params = array("edd_action" => "activate_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto D8W7h;
tljk3:
delete_transient($this->theme_slug . "_license_message");
goto e72Hm;
ukIbp:
}
function deactivate_license()
{
goto L27Bl;
XNUd0:
delete_transient($this->theme_slug . "_license_message");
goto wL9G7;
L27Bl:
delete_option($this->theme_slug . "_license_key");
goto mj1pJ;
mj1pJ:
delete_option($this->theme_slug . "_license_key_status");
goto XNUd0;
wL9G7:
}
function change_license()
{
goto sc65p;
Tewg_:
delete_option($this->theme_slug . "_license_key_status");
goto iw5JN;
CrRxY:
wp_redirect(admin_url("themes.php?page=" . $this->theme_slug . ''));
goto SBdOc;
iw5JN:
delete_transient($this->theme_slug . "_license_message");
goto CrRxY;
sc65p:
delete_option($this->theme_slug . "_license_key");
goto Tewg_;
SBdOc:
die;
goto H20n4;
H20n4:
}
function get_renewal_link()
{
goto dXzS2;
dqSrR:
if (!('' != $this->download_id && $license_key)) {
goto mV2Vr;
}
goto MyUs5;
UevFT:
$url .= "/checkout/?edd_license_key=" . $license_key . "&download_id=" . $this->download_id;
goto SVOHu;
l1gny: mV2Vr:
goto gu7Eu;
gu7Eu:
return $this->remote_api_url;
goto kWu_s;
f150L:
return $this->renew_url;
goto jCvb2;
SVOHu:
return $url;
goto l1gny;
jCvb2: wqgJB:
goto AJF0p;
dXzS2:
if (!('' != $this->renew_url)) {
goto wqgJB;
}
goto f150L;
MyUs5:
$url = esc_url($this->remote_api_url);
goto UevFT;
AJF0p:
$license_key = trim(get_option($this->theme_slug . "_license_key", false));
goto dqSrR;
kWu_s:
}
function license_action()
{
goto iSMEr;
bfozt: zrUYY:
goto wp4p_;
Ifjej:
if (!check_admin_referer($this->theme_slug . "_nonce", $this->theme_slug . "_nonce")) {
goto AUl_2;
}
goto gtlC4;
jOc1X:
if (!isset($_POST[$this->theme_slug . "_license_deactivate"])) {
goto zrUYY;
}
goto j4lYA;
wON0O: X0EET:
goto bfozt;
VqB_y: AUl_2:
goto JtYDq;
MWe1F:
if (!check_admin_referer($this->theme_slug . "_nonce", $this->theme_slug . "_nonce")) {
goto eTuBD;
}
goto iWPXw;
iSMEr:
if (!isset($_POST[$this->theme_slug . "_license_activate"])) {
goto R3geM;
}
goto MWe1F;
JtYDq: MeRdc:
goto z4fBB;
oYdQQ:
$this->deactivate_license();
goto wON0O;
YykA_: R3geM:
goto jOc1X;
VECVn: eTuBD:
goto YykA_;
iWPXw:
$this->activate_license();
goto VECVn;
gtlC4:
$this->change_license();
goto VqB_y;
j4lYA:
if (!check_admin_referer($this->theme_slug . "_nonce", $this->theme_slug . "_nonce")) {
goto X0EET;
}
goto oYdQQ;
wp4p_:
if (!isset($_POST[$this->theme_slug . "_license_change"])) {
goto MeRdc;
}
goto Ifjej;
z4fBB:
}
function check_license()
{
goto cK1GD;
hnbMB:
update_option($this->theme_slug . "_license_key_status", $license_data->license);
goto Qo_k0;
oT5GG: wtNpT:
goto FSGU4;
E9VHo:
$message = $strings["license-keys-do-not-match"];
goto zGbs0;
kxDz1:
if ($license_data->license == "invalid") {
goto hZdUC;
}
goto B0Gnf;
iqVAg: XiaIJ:
goto EABnV;
mlKdh:
goto qbjWi;
goto oKvho;
LnYxV:
return $message;
goto k37PG;
IbQZP:
$message .= " <br> " . $license_data->customer_email;
goto P7YAa;
BmJaQ:
$expires = "lifetime";
goto ucL0u;
P7YAa: CdP5B:
goto WbjA_;
bW4Yb: U3lbw:
goto c0XgV;
ZQ1ES:
if (!(0 == $license_limit)) {
goto SOA62;
}
goto Q0S2s;
EY5mz:
$expires = false;
goto PIR0d;
n61Yu:
$strings = $this->strings;
goto wLI2j;
WbjA_: fFtDq:
goto cl_Al;
c0XgV:
goto fFtDq;
goto BbH3g;
fcabg:
$site_count = isset($license_data->site_count) ? $license_data->site_count : '';
goto O1Bvn;
m8Nw9: Df_vl:
goto NTE0r;
PNsAC: wDcwP:
goto t7Rfo;
sblwD: u75zt:
goto oU0mR;
BShtH:
goto U3lbw;
goto DGeTt;
OZ37t:
if ($expires) {
goto M29Ah;
}
goto m3IRp;
oKvho: B7aSU:
goto BmJaQ;
m3IRp:
$message = $strings["license-key-expired"];
goto WosTd;
zGbs0: GBIR_:
goto BShtH;
LLtNe:
if (!$renew_link) {
goto zUauA;
}
goto XlEUC;
oU0mR:
$expires = date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp")));
goto K0jxu;
DGeTt: CgsT6:
goto OZ37t;
EABnV:
if (!($customer_email && $license_limit)) {
goto CdP5B;
}
goto IbQZP;
K0jxu:
$renew_link = "<a href="" . esc_url($this->get_renewal_link()) . "" target="_blank">" . $strings["renew"] . "</a>";
goto mlKdh;
e419G: Z0ab_:
goto PBO4q;
ucL0u: qbjWi:
goto fcabg;
dwCZv: SOA62:
goto HQS2T;
qWbiF:
$message = $strings["license-status-unknown"];
goto fuBd2;
elCst: YkWJC:
goto WeC6O;
nfkLj:
$message = " <br>" . sprintf($strings["license-key-expired-%s"], $expires);
goto YmgOE;
fPFYX:
if ($license_data->license == "expired") {
goto CgsT6;
}
goto kxDz1;
N1cIQ:
if ($license_data->license == "disabled") {
goto PtLpl;
}
goto Oauup;
MIXOM:
$message = $strings["license-key-is-active"] . " ";
goto zC6pe;
K9a2E:
$message .= " <br> Lifetime";
goto dHuWg;
YmgOE: kWb3N:
goto LLtNe;
QdQCB: PtLpl:
goto Yuj62;
dHuWg: uJBy3:
goto F8NZD;
WosTd:
goto kWb3N;
goto jgqDb;
NTE0r:
goto YkWJC;
goto e419G;
WeC6O:
goto GBIR_;
goto ANFp4;
GwKsC:
if (!($customer_name && $license_limit)) {
goto XiaIJ;
}
goto qNiCX;
NY_yy:
$license_data = json_decode($response);
goto HZ1F2;
C9NAm:
goto qbjWi;
goto sblwD;
BbH3g: X1MXq:
goto MIXOM;
Q0S2s:
$license_limit = $strings["unlimited"];
goto dwCZv;
EPWP9: gFcAh:
goto q3_Qf;
PIR0d:
if (isset($license_data->expires) && "lifetime" != $license_data->expires) {
goto u75zt;
}
goto a0A2s;
t51Ij: tzePp:
goto GwKsC;
FSGU4:
$message = $strings["site-is-inactive"];
goto EPWP9;
HZ1F2:
if (isset($license_data->license)) {
goto bKeaS;
}
goto t0Fkw;
cl_Al:
return $message;
goto Ikeea;
Oauup:
if ($license_data->license == "site_inactive") {
goto wtNpT;
}
goto qWbiF;
ANFp4: hZdUC:
goto E9VHo;
Yuj62:
$message = $strings["license-key-is-disabled"];
goto m8Nw9;
x5qZY: zUauA:
goto bW4Yb;
jgqDb: M29Ah:
goto nfkLj;
a0A2s:
if (isset($license_data->expires) && "lifetime" == $license_data->expires) {
goto B7aSU;
}
goto C9NAm;
wLI2j:
$api_params = array("edd_action" => "check_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto mBVs8;
fuBd2:
goto gFcAh;
goto oT5GG;
F8NZD:
if (!($site_count && $license_limit)) {
goto tzePp;
}
goto WSlai;
DRfGu:
$message .= " <br>" . sprintf($strings["expires%s"], $expires) . " ";
goto PNsAC;
XlEUC:
$message .= " " . $renew_link;
goto x5qZY;
t0Fkw:
$message = $strings["license-status-unknown"];
goto LnYxV;
fKPrk:
if (!($license_data && isset($license_data->license))) {
goto nOamG;
}
goto hnbMB;
PLEni:
$customer_email = isset($license_data->customer_email) ? $license_data->customer_email : '';
goto hYJMI;
t7Rfo:
if (!(isset($expires) && "lifetime" == $expires)) {
goto uJBy3;
}
goto K9a2E;
zC6pe:
if (!(isset($expires) && "lifetime" != $expires)) {
goto wDcwP;
}
goto DRfGu;
PBO4q:
$message = $strings["license-is-inactive"];
goto elCst;
WSlai:
$message .= " <br> " . $license_data->site_count;
goto t51Ij;
HQS2T:
if ($license_data->license == "valid") {
goto X1MXq;
}
goto fPFYX;
B0Gnf:
if ($license_data->license == "inactive") {
goto Z0ab_;
}
goto N1cIQ;
k37PG: bKeaS:
goto fKPrk;
cK1GD:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto n61Yu;
hYJMI:
$license_limit = isset($license_data->license_limit) ? $license_data->license_limit : '';
goto ZQ1ES;
O1Bvn:
$customer_name = isset($license_data->customer_name) ? $license_data->customer_name : '';
goto PLEni;
q3_Qf:
goto Df_vl;
goto QdQCB;
qNiCX:
$message .= " <br> " . $license_data->customer_name;
goto iqVAg;
mBVs8:
$response = json_encode(["success" => true, "license" => "valid", "item_name" => urlencode($this->item_name), "license_limit" => 0, "site_count" => 999, "expires" => "lifetime", "activations_left" => "unlimited", "customer_name" => "noname", "customer_email" => "[email protected]"]);
goto NY_yy;
Qo_k0: nOamG:
goto EY5mz;
Ikeea:
}
function disable_wporg_request($r, $url)
{
goto KFw7O;
aCdYk:
$child = get_option("stylesheet");
goto bVwuV;
bVwuV:
unset($themes->themes->{$parent});
goto BkQzK;
KFw7O:
if (!(0 !== strpos($url, "https://api.wordpress.org/themes/update-check/1.1/"))) {
goto KMT86;
}
goto L4MNo;
L4MNo:
return $r;
goto ds6oP;
iOS6V:
$parent = get_option("template");
goto aCdYk;
gHqdx:
$themes = json_decode($r["body"]["themes"]);
goto iOS6V;
pSG6u:
return $r;
goto mqIdg;
og4LL:
$r["body"]["themes"] = json_encode($themes);
goto pSG6u;
BkQzK:
unset($themes->themes->{$child});
goto og4LL;
ds6oP: KMT86:
goto gHqdx;
mqIdg:
}
}
goto JjnA3;
GJI0G: xNCbB:
goto xDbMS;
bE3jr:
die;
goto GJI0G;
JjnA3:
function exthemes_theme_license_admin_notices()
{
goto MTh3U;
EeTI0:
switch ($_GET["sl_theme_activation"]) {
case "false":
goto iDX1H;
qQ_a_:
goto Tm3p5;
goto iaLot;
iDX1H:
$message = urldecode($_GET["message"]);
goto MFAms;
cTg82:
echo $message;
goto asGsB;
asGsB:
echo "</p>
\x9\x9</div>
\xa \x9";
goto qQ_a_;
MFAms:
echo " <div class="error">\xd
\x9\x9<p>";
goto cTg82;
iaLot:
case "true":
default:
goto Tm3p5;
}
goto dIK4f;
DA23r: VAr8Q:
goto vJgoo;
dIK4f: c4km9:
goto VvHCB;
VvHCB: Tm3p5:
goto DA23r;
MTh3U:
if (!(isset($_GET["sl_theme_activation"]) && !empty($_GET["message"]))) {
goto VAr8Q;
}
goto EeTI0;
vJgoo:
}
goto c25Cn;
rXqZs:
if (defined("ABSPATH")) {
goto xNCbB;
}
goto bE3jr;
c25Cn:
add_action("admin_notices", "exthemes_theme_license_admin_notices", 999);
?>
Did this file decode correctly?
Original Code
<? goto rXqZs;
xDbMS:
error_reporting(SALAH);
goto iw2Vl;
iw2Vl:
class edd_updater_admin
{
protected $remote_api_url = null;
protected $theme_slug = null;
protected $version = null;
protected $author = null;
protected $download_id = null;
protected $renew_url = null;
protected $strings = null;
function __construct($config = array(), $strings = array())
{
goto ZUvKh;
SAcZ0:
$this->item_name = $config["item_name"];
goto KpwKZ;
Zf1sk:
$theme = wp_get_theme($this->theme_slug);
goto cWZUH;
XcOve:
add_action("update_option_" . $this->theme_slug . "_license_key", array($this, "activate_license"), 20, 2);
goto S5SN4;
NhvrM:
$this->version = $config["version"];
goto luhJg;
KR6zf:
$this->remote_api_url = $config["remote_api_url"];
goto SAcZ0;
luhJg:
$this->author = $config["author"];
goto sERo6;
ZUvKh:
$config = wp_parse_args($config, array("remote_api_url" => exthemes, "download_id" => '', "theme_slug" => get_template(), "item_name" => '', "license" => '', "version" => '', "author" => '', "renew_url" => '', "beta" => false));
goto KR6zf;
cWZUH:
$this->version = $theme->get("Version");
goto ABaSG;
S5SN4:
add_filter("http_request_args", array($this, "disable_wporg_request"), 5, 2);
goto bBLxI;
HHgAN:
if (!('' == $config["version"])) {
goto VqUhE;
}
goto Zf1sk;
KpwKZ:
$this->theme_slug = sanitize_key($config["theme_slug"]);
goto NhvrM;
ChV_2:
add_action("admin_init", array($this, "license_action"), 20);
goto lp5wj;
XEv_O:
$this->beta = $config["beta"];
goto HHgAN;
do3e7:
$this->strings = $strings;
goto WKxsR;
l3XOz:
$this->renew_url = $config["renew_url"];
goto XEv_O;
kMsuP:
add_action("admin_init", array($this, "register_option"));
goto ChV_2;
WKxsR:
add_action("init", array($this, "updater_edd_themes"));
goto kMsuP;
sERo6:
$this->download_id = $config["download_id"];
goto l3XOz;
ABaSG: VqUhE:
goto do3e7;
lp5wj:
add_action("admin_menu", array($this, "license_menu"));
goto TqsmF;
TqsmF:
add_action("add_option_" . $this->theme_slug . "_license_key", array($this, "activate_license"), 20, 2);
goto XcOve;
bBLxI:
}
function updater_edd_themes()
{
return true;
}
function license_menu()
{
$strings = $this->strings;
add_menu_page($strings["theme-license"], $strings["theme-license"], "manage_options", $this->theme_slug . '', array($this, "license_page"), "dashicons-admin-network");
}
function license_page()
{
goto K51Bs;
ZUwO0:
goto p5GYu;
goto p45XV;
cPPHe:
echo sprintf($strings["customer-email-%1$s"], $this->get_hidden_email($customer_email), $license_limit);
goto qVq7P;
JCCqm:
echo esc_attr($strings["activate-license"]);
goto kHsjx;
eOmxV:
echo $this->theme_slug;
goto l4GFs;
VjOmx:
goto p5GYu;
goto Fc1uq;
GqCGm:
echo "EXTHEMES_AUTHOR";
goto B8c32;
S8UpQ:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto oXMZr;
l8baD:
echo "_license_deactivate" value="";
goto LDmpi;
lxbXP:
echo $this->theme_slug;
goto GKAty;
G4zJu:
$strings = $this->strings;
goto NjHca;
gi7Z2:
if ($license) {
goto BJSTP;
}
goto REmnp;
l4GFs:
echo "_license_key" name="";
goto eTVuN;
LHGob:
echo "EXTHEMES_VERSION";
goto zErXL;
KqYLV:
echo "EXTHEMES_VERSION";
goto x09e5;
MD0iK:
if (in_array($status, array("site_inactive"))) {
goto Ragxt;
}
goto lhY6a;
Cstk0:
echo "EXTHEMES_NAME";
goto BUvFC;
hLxc2:
echo esc_attr($strings["activate-license"]);
goto V6WfK;
zErXL:
echo " </h2>
\xa\x9 </div>\xd\xa \xd
<div class="layout">
\xa<div class="col col-main">
";
goto KDKgE;
siNNO:
echo " \xd
</div> \xd\xa</div>\xd\xa</div>\xd
";
goto f738Z;
lC_n4: BJSTP:
goto qQxNS;
BUvFC:
echo "</a></b> </li>
\xa </ol>
\x9</p>
\xa</div>
";
goto Pbr6L;
DNPAo:
echo "</strong>.<br/><span class="exthemes-wp-license-bad"><b>STATUS : <i class="fa fa-lock" style="color:#a94442"></i> </b> ";
goto NU2A8;
HpS34:
if (in_array($status, array("valid"))) {
goto GYSSs;
}
goto Tdwy7;
aJbtH:
echo "" target="_blank">";
goto dcLvs;
ZTaDm:
echo "" target="_blank">";
goto xYKeA;
KDJBC:
echo "" disabled />\xd\xa <input type="submit" class="button button-primary" name="";
goto VEAbJ;
z3mcn:
echo "</a> \xd\xa <i class="fa fa-youtube" style="color: crimson;"></i> <a href="";
goto MmTAm;
DyPsW:
echo " \x9";
goto rVZ3Q;
kCLKN:
echo "EXTHEMES_ITEMS_URL";
goto ZTaDm;
j0TFp: dzUFs:
goto EfAT9;
cKUtl:
echo "EXTHEMES_HOW_TO";
goto RarQ5;
DlOEE:
echo "">
\xa \x9\x9<div class="profileinfo">
\x9 \x9 <h1 class="blink" style="color:crimson; text-transform: uppercase !important;">";
goto VfaFJ;
R3S6u:
$customer_email = isset($license_data->customer_email) ? $license_data->customer_email : '';
goto GH9yU;
aFihw: p5GYu:
goto lDEAj;
NjHca:
$api_params = array("edd_action" => "check_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto vPilW;
Ka3QH:
echo "EXTHEMES_FACEBOOK_URL";
goto mFBi3;
iPE6y: aItTq:
goto CJYvk;
yh355:
echo "THEMES_NAMES";
goto WqJNl;
hGkPV: mlUVx:
goto wew0I;
CDd3Q:
echo "_license_key" type="text" class="regular-text" value="" placeholder="";
goto GWX5b;
inU3n:
echo "\xd
\x9 <style>.exthemes-wp-license-form{padding:10px 20px;border-left:4px solid #00a0d2}.exthemes-wp-license-form input{height:40px;line-height:40px;padding:0 10px;vertical-align:top;background:#f5f5f5}.wp-core-ui .exthemes-wp-license-form .button,.wp-core-ui .exthemes-wp-license-form .button-primary,.wp-core-ui .exthemes-wp-license-form .button-secondary{height:40px;line-height:40px;padding:0 20px;vertical-align:top}.exthemes-wp-license-form a{text-decoration:none}.exthemes-wp-license-good{color:#3c763d}.exthemes-wp-license-bad{color:#a94442}@import 'https://fonts.googleapis.com/css?family=Open+Sans:300,400';.firstinfo,.badgescard{display:flex;justify-content:center;align-items:center}*,*:before,*:after{box-sizing:border-box}.content2{position:relative;animation:animatop .9s cubic-bezier(0.425,1.14,0.47,1.125) forwards;}.card{width:500px;min-height:100px;padding:20px;border-radius:3px;background-color:white;box-shadow:0 10px 20px rgba(0,0,0,0.2);position:relative;overflow:hidden}.card:after{content:"";display:block;width:190px;height:300px;background:#2271b1;position:absolute;animation:rotatemagic .75s cubic-bezier(0.425,1.04,0.47,1.105) 1s both}.badgescard{padding:10px 20px;border-radius:3px;background-color:#ececec;width:480px;box-shadow:0 10px 20px rgba(0,0,0,0.2);position:absolute;z-index:-1;left:10px;bottom:10px;animation:animainfos .5s cubic-bezier(0.425,1.04,0.47,1.105) .75s forwards}.badgescard span{font-size:1.6em;margin:0 6px;opacity:.6}.firstinfo{flex-direction:row;z-index:2;position:relative}.firstinfo img{border-radius:50%;width:75px;height:75px}.firstinfo .profileinfo{padding:0 20px}.firstinfo .profileinfo h1{font-size:1.8em}.firstinfo .profileinfo h3{font-size:1.2em;color:#2271b1;font-style:italic}.firstinfo .profileinfo p.bio{padding:10px 0;color:#5a5a5a;line-height:1.2;font-style:initial}@keyframes animatop{0%{opacity:0;bottom:-500px}100%{opacity:1;bottom:0}}@keyframes animainfos{0%{bottom:10px}100%{bottom:-42px}}@keyframes rotatemagic{0%{opacity:0;transform:rotate(0deg);top:-24px;left:-253px}100%{transform:rotate(-30deg);top:-24px;left:-78px}}.firstinfo2{flex-direction:row;z-index:2;position:relative}.firstinfo2 a{color:dodgerblue}.card2{width:500px;border-radius:3px;background-color:white;box-shadow:0 10px 20px rgba(0,0,0,0.2);position:relative;overflow:hidden;margin-top:2em;}.card2:after{content:"";display:block;width:190px;height:300px;background:;position:absolute;animation:rotatemagic .75s cubic-bezier(0.425,1.04,0.47,1.105) 1s both}.card2 h2{font-size:1.2em;color:#2271b1;margin-left:2em}.blink{background: url(";
goto VbmYy;
B8c32:
echo "</a>
\x9</p>
\xa </div> \xd
\xd
";
goto tRKa_;
MAbEB:
echo "\x9";
goto IAdbF;
gFhao:
$license_data = json_decode(wp_remote_retrieve_body($response));
goto K2Q2d;
C_w3c:
echo $this->get_hidden_license($license);
goto KDJBC;
R3GrI: g63ad:
goto ESzH3;
sfcd_:
if (in_array($status, array("valid"))) {
goto mlUVx;
}
goto MD0iK;
VRRYN:
echo $this->theme_slug;
goto sSOMn;
zsEre:
echo "EXTHEMES_MEMBER_URL";
goto vN3Ev;
clGEW:
echo "</strong>, Please Enter your license key <strong class="blink" style=" color: #a94442;text-transform: uppercase; text-shadow: 1px 1px white;">";
goto yh355;
YPEhZ:
$gravatar_link = "//gravatar.com/avatar/" . md5($customer_email) . '';
goto BPbYq;
bPu7J: yNYOZ:
goto DDCpz;
NMKYz:
$author_names = $user_info->user_login;
goto inU3n;
Vh79T:
if (!(0 == $license_limit)) {
goto zxNUH;
}
goto HEn4_;
P3qPZ:
echo "_license_key_hidden" type="text" class="regular-text" value="";
goto C_w3c;
dcLvs:
echo "EXTHEMES_AUTHOR";
goto QpIH2;
Kq3B3:
echo "</h1>
\xa \x9 \x9<h3 style="font-size: 1em !important;font-weight: bold;">My License Key : <b style="color:maroon">";
goto SiWeQ;
WwLVd:
echo $this->theme_slug;
goto rjFZZ;
pRAK9:
$expires = date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp")));
goto DmOwh;
p45XV: f4sNt:
goto aFihw;
ZClAg: ujlCt:
goto hL7m3;
D1fD8:
echo $strings["enter-key-placeholder"];
goto WQK2m;
Bufzu:
$expires = false;
goto AS6Oh;
GH9yU:
$license_limit = isset($license_data->license_limit) ? $license_data->license_limit : '';
goto Bufzu;
nKEV6:
$customer_name = isset($license_data->customer_name) ? $license_data->customer_name : '';
goto R3S6u;
VfaFJ:
echo $customer_name;
goto Kq3B3;
tVugB:
echo "/assets/img/sparks.gif)}.col-main{flex: 1}.col-complementary{flex: 1}@media only screen and (min-width: 640px){.layout{display: flex}}.container{margin-right: auto;margin-left: auto}.col{padding: 1em;margin: 0 2px 2px 0;background: #fff}</style>
\x9 <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
\x9
\xa \x9\xd
<div class="container">\xd\xa \xd
\xd
\x9<div class="card2" >
\xa\x9\x9<h2 class="firstinfo2">";
goto W5UYv;
mQyif: RLUBB:
goto yJCN3;
r02zS:
if ($license) {
goto dzUFs;
}
goto imgn1;
KDKgE:
if ($license) {
goto akKiy;
}
goto vibzz;
rjFZZ:
echo "_license_key" type="text" class="regular-text" value="" placeholder="";
goto D1fD8;
x09e5:
echo " Themes</b>?</h3>
\xa <p class="firstinfo2">
\xa <ol class="firstinfo2" style="color:#a94442; text-shadow: 1px 1px white;">
\x9\x9\x9<li>if You ALREADY Buy , <i class="fa fa-hand-o-right" style="color:#3c763d"></i> <b><a href="";
goto zsEre;
AS6Oh:
if (isset($license_data->expires) && "lifetime" != $license_data->expires) {
goto GkDyp;
}
goto IpzhF;
BPbYq:
$user_info = get_userdata(1);
goto NMKYz;
qVq7P:
echo " \x9 \x9<br>\xd\xa \x9\x9 ";
goto TQ2fg;
Pmixw:
echo "
\xa</form>\x9 \xd\xa
\xa";
goto gi7Z2;
vN3Ev:
echo "" target="_blank">Login to the member area</a></b></li>\xd
\x9 <li>if You Forget License Key , <i class="fa fa-hand-o-right" style="color:#3c763d"></i> <b><a href="";
goto cKUtl;
qQxNS:
if (in_array($status, array("valid"))) {
goto T2I4s;
}
goto qNYJv;
RdGXK:
echo $message;
goto AewGu;
GWX5b:
echo $strings["enter-key-placeholder"];
goto LL59y;
jsNWy:
echo ""/></p> \x9 \xd
\x9";
goto vzpGV;
m4SOo:
echo $this->get_hidden_license($license);
goto DNPAo;
LmUOg:
$status = get_option($this->theme_slug . "_license_key_status", false);
goto bxpzd;
vzpGV:
goto RLUBB;
goto XoMPU;
kHsjx:
echo ""/></p>
\xa\x9<p class="firstinfo"><span class="description"><span class="exthemes-wp-license-bad"> ";
goto RdGXK;
VEAbJ:
echo $this->theme_slug;
goto l8baD;
aCyvd:
echo sprintf($strings["%1$s/%2$-sites"], $site_count, $license_limit);
goto eozu2;
MhiXo:
if (in_array($status, array("valid"))) {
goto g63ad;
}
goto Rf8Sq;
CJYvk:
$message = $strings["enter-key"];
goto QzkXj;
K51Bs:
$strings = $this->strings;
goto S8UpQ;
JW7cS:
$expires = "lifetime";
goto o_DH1;
ngSAG:
echo "</span></span></p>\xd\xa\x9";
goto QhTPj;
LL59y:
echo "" />
\xa <input type="submit" class="button button-primary" name="submit" value="";
goto hLxc2;
tOukj:
settings_fields($this->theme_slug . '');
goto MAbEB;
pRNlJ:
echo " v";
goto KqYLV;
Rf8Sq:
if (in_array($status, array("site_inactive"))) {
goto raP4l;
}
goto ot7Ig;
eTVuN:
echo $this->theme_slug;
goto CDd3Q;
A34iW:
echo "\x9\x9\x9
\xa";
goto ZUwO0;
hL7m3:
echo "\x9\x9\x9\xd\xa\x9<h3 style='display:none'>";
goto ta3Lq;
cja1b:
goto ujlCt;
goto j0TFp;
GKAty:
echo "_license_key" name="";
goto BQLaI;
lhY6a:
goto uDMtl;
goto hGkPV;
lDEAj: KQCfa:
goto dnNgM;
yJCN3:
echo "\x9";
goto CuBT1;
xrFDE: OEmll:
goto UW1Pg;
yKgp0: g3lrm:
goto JW7cS;
wpAMr:
goto yNYOZ;
goto OG8in;
QAvYe:
echo " ";
goto japNN;
tRKa_: eXBb6:
goto WK6Ev;
t4r3Y: GYSSs:
goto RD6Kv;
SiWeQ:
echo $this->get_hidden_license($license);
goto IdKgv;
OG8in: LvcPR:
goto sfcd_;
M91eO: akKiy:
goto DyPsW;
MmTAm:
echo "EXTHEMES_YOUTUBE_URL";
goto aJbtH;
BTt14:
echo " ";
goto HpS34;
QpIH2:
echo "</a> \xd\xa <i class="fa fa-facebook" style="color: crimson;"></i> <a href="";
goto Ka3QH;
V6WfK:
echo ""/></p>\xd
\x9<p class="firstinfo"><span class="description">Your License Key : <strong>";
goto m4SOo;
HK1SV:
echo file_get_contents(WEBSCHANGELOGS);
goto siNNO;
vQ0C3: raP4l:
goto AZ3Tg;
QzkXj: tHX1H:
goto LmUOg;
IAdbF:
wp_nonce_field($this->theme_slug . "_nonce", $this->theme_slug . "_nonce");
goto uy9UU;
rVZ3Q:
if (!in_array($status, array("valid"))) {
goto eXBb6;
}
goto CXz88;
QqMZm: GkDyp:
goto pRAK9;
WK6Ev: gd8Ks:
goto GJLUf;
nDHc7: uDMtl:
goto bPu7J;
EqlaU:
set_transient($this->theme_slug . "_license_message", $this->check_license(), 86400);
goto xrFDE;
Mz6yV:
echo " v";
goto LHGob;
dGUxn:
echo $author_names;
goto clGEW;
Ydkug:
goto R659N;
goto vQ0C3;
wew0I:
echo "<i class="fa fa-unlock" style="color:#3c763d"></i>";
goto whsb_;
NtcQG:
goto hlzN2;
goto Vyv0C;
Qdebs:
echo "THEMES_NAMES";
goto pRNlJ;
oXMZr:
if (!$license) {
goto aItTq;
}
goto Jmobt;
n1xQ6:
echo "" target="_blank">Buy ";
goto Cstk0;
W5UYv:
echo $strings["license-key"];
goto xdp4l;
T6Pee:
echo "\x9<p class="firstinfo"><input id="";
goto VRRYN;
WmaCz:
goto tHX1H;
goto iPE6y;
imgn1:
echo "\x9<p class="firstinfo">Hello <strong class="blink" style=" color: #a94442;text-transform: uppercase;text-shadow: 1px 1px white;">";
goto dGUxn;
lnVQx:
echo "EXTHEMES_ITEMS_URL";
goto n1xQ6;
CXz88:
echo " \xd\xa
\x9<div class="card" >
\xa\x9\x9<div class="firstinfo">
\xa\x9 <img src="";
goto rqbq0;
ESzH3:
echo " \x9
\x9";
goto Ydkug;
vibzz:
echo "
";
goto vzWL2;
xYKeA:
echo "EXTHEMES_AUTHOR";
goto z3mcn;
X583q:
echo " <p class="firstinfo"><input id="";
goto eOmxV;
HXBug:
goto XTEMv;
goto QqMZm;
NU2A8:
echo $message;
goto ngSAG;
wUKFv:
echo "\x9
";
goto mQyif;
bxpzd: global $post, $opt_themes;
goto wBoEH;
w9fkp: zxNUH:
goto YPEhZ;
VbmYy:
echo "EX_THEMES_URI";
goto tVugB;
UW1Pg:
$message = get_transient($this->theme_slug . "_license_message");
goto WmaCz;
AwmtD:
if ($license) {
goto i5nMo;
}
goto T6Pee;
LDmpi:
echo esc_attr($strings["deactivate-license"]);
goto jsNWy;
CuBT1: hlzN2:
goto Pmixw;
Pbr6L:
goto KQCfa;
goto lC_n4;
RarQ5:
echo "" target="_blank">See My License Key</a></b> </li>\xd
\x9\x9<li>if You haven't bought yet , <i class="fa fa-hand-o-right" style="color:#3c763d"></i> <b><a href="";
goto lnVQx;
AZ3Tg: R659N:
goto ZClAg;
XoMPU: NgT2s:
goto wUKFv;
vPilW:
$response = $this->get_api_response($api_params);
goto gFhao;
HEn4_:
$license_limit = $strings["unlimited"];
goto w9fkp;
japNN:
if ($license) {
goto LvcPR;
}
goto af34s;
REmnp:
echo "<div class="card2">
<h3 class="firstinfo2" style=" text-shadow: 1px 1px white;"> How to Get a License Key <b style="color: blue;">";
goto Qdebs;
ot7Ig:
goto R659N;
goto R3GrI;
QhTPj:
goto RLUBB;
goto t4r3Y;
lIfXP: Ragxt:
goto nDHc7;
Fc1uq: T2I4s:
goto A34iW;
WqJNl:
echo "</strong> Themes </p>\x9\xd\xa\x9";
goto cja1b;
af34s:
echo "<i class="fa fa-lock" style="color:#a94442"></i>";
goto wpAMr;
c72ou:
if (get_transient($this->theme_slug . "_license_message", false)) {
goto OEmll;
}
goto EqlaU;
wBoEH:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto G4zJu;
rqbq0:
echo $gravatar_link;
goto DlOEE;
IpzhF:
if (isset($license_data->expires) && "lifetime" == $license_data->expires) {
goto g3lrm;
}
goto HXBug;
o_DH1: XTEMv:
goto Vh79T;
Tdwy7:
if (in_array($status, array("site_inactive"))) {
goto NgT2s;
}
goto X583q;
eozu2:
echo " \x9\x9\x9<br>\x9\x9 \x9
\xa\x9 \x9\x9\x9";
goto cPPHe;
qNYJv:
if (in_array($status, array("site_inactive"))) {
goto f4sNt;
}
goto VjOmx;
vzWL2:
goto gd8Ks;
goto M91eO;
IdKgv:
echo "</b></h3>\xd\xa \x9 \x9<p class="bio">
\x9\x9 ";
goto aCyvd;
dnNgM:
echo "
\xa</div>
\xd
<div class="col col-complementary" role="complementary"> \xd\xa\x9";
goto HK1SV;
DmOwh:
$renew_link = "<a href="" . esc_url($this->get_renewal_link()) . "" target="_blank">" . $strings["renew"] . "</a>";
goto WK33l;
xdp4l:
echo " <b style="color: blue;">";
goto AS8YX;
BQLaI:
echo $this->theme_slug;
goto P3qPZ;
mFBi3:
echo "" target="_blank">";
goto GqCGm;
Jmobt:
delete_transient($this->theme_slug . "_license_message");
goto c72ou;
K2Q2d:
$site_count = isset($license_data->site_count) ? $license_data->site_count : '';
goto nKEV6;
AewGu:
echo " </span></span></p>
";
goto NtcQG;
EfAT9:
echo " ";
goto MhiXo;
ta3Lq:
echo $strings["license-key"];
goto QAvYe;
Vyv0C: i5nMo:
goto BTt14;
GJLUf:
echo "<form method="post" action="options.php" class="card2 ">\xd
";
goto tOukj;
sSOMn:
echo "_license_key" name="";
goto WwLVd;
ynxmR:
echo "\xd\xa </p>\xd\xa\x9\x9\x9</div>\xd\xa\x9 </div>
\x9<br>
\xa <p style="float: right; ">\xd
\x9\x9<i class="fa fa-globe" style="color: crimson;"></i> <a href="";
goto kCLKN;
uy9UU:
echo " \x9 \xd
\x9";
goto r02zS;
whsb_:
goto uDMtl;
goto lIfXP;
WK33l:
goto XTEMv;
goto yKgp0;
RD6Kv:
echo "\x9<p class="firstinfo"><input id="";
goto lxbXP;
DDCpz:
echo "</h3>
\xa\x9";
goto AwmtD;
TQ2fg:
echo sprintf($strings["expires%s"], $expires);
goto ynxmR;
WQK2m:
echo "" /><input type="submit" class="button button-primary" name="submit" value="";
goto JCCqm;
AS8YX:
echo "THEMES_NAMES";
goto Mz6yV;
f738Z:
}
function get_hidden_license($license)
{
goto SJBG6;
YTi1M:
return $license;
goto SdpMA;
zYOe1:
$finish = substr($license, -7);
goto XAcL_;
SJBG6:
if ($license) {
goto Z0bf8;
}
goto yasjZ;
BW0PT:
$start = substr($license, 0, 7);
goto zYOe1;
A1NUS: Z0bf8:
goto BW0PT;
XAcL_:
$license = $start . "**********" . $finish;
goto YTi1M;
yasjZ:
return $license;
goto A1NUS;
SdpMA:
}
function get_hidden_email($customer_email)
{
goto IVUYx;
wsD83: KckKV:
goto yMPhL;
IVUYx:
if ($customer_email) {
goto KckKV;
}
goto mmeEM;
yMPhL:
$start = substr($customer_email, 0, 7);
goto BiPWx;
mmeEM:
return $customer_email;
goto wsD83;
BiPWx:
$finish = substr($customer_email, -8);
goto L6HxY;
owc4n:
return $customer_email;
goto Lytxa;
L6HxY:
$customer_email = $start . "*****" . $finish;
goto owc4n;
Lytxa:
}
function register_option()
{
register_setting($this->theme_slug . '', $this->theme_slug . "_license_key", array($this, "sanitize_license"));
}
function sanitize_license($new)
{
goto DWOuC;
LsaYc:
delete_transient($this->theme_slug . "_license_message");
goto fRstv;
DWOuC:
$old = get_option($this->theme_slug . "_license_key");
goto B4M5t;
kbUQJ:
delete_option($this->theme_slug . "_license_key_status");
goto LsaYc;
rTEqp:
return $new;
goto ChB4w;
fRstv: Yj6Pk:
goto rTEqp;
B4M5t:
if (!($old && $old != $new)) {
goto Yj6Pk;
}
goto kbUQJ;
ChB4w:
}
function get_api_response($api_params)
{
$response = wp_remote_post($this->remote_api_url, array("timeout" => 15, "sslverify" => false, "body" => $api_params));
return $response;
}
function activate_license()
{
goto BOyd3;
YWje1:
wp_redirect($redirect);
goto uKfY7;
G8aXQ:
update_option($this->theme_slug . "_license_key_status", $license_data->license);
goto tljk3;
srLDy:
$base_url = admin_url("themes.php?page=" . $this->theme_slug . '');
goto ST2au;
vra0G:
if (!(false === $license_data->success)) {
goto Hk07w;
}
goto XpRfP;
LG9Yl:
if (empty($message)) {
goto h3xyT;
}
goto srLDy;
HWLv8:
wp_redirect(admin_url("themes.php?page=" . $this->theme_slug . ''));
goto IBARZ;
OnsMi:
$license_data = json_decode(wp_remote_retrieve_body($response));
goto vra0G;
zMeyc:
$license_data = json_decode($response);
goto OnsMi;
BOyd3:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto i_edu;
ST2au:
$redirect = add_query_arg(array("sl_theme_activation" => "false", "message" => urlencode($message)), $base_url);
goto YWje1;
dgFRD: oJAD0:
goto LG9Yl;
e72Hm: MwRSK:
goto HWLv8;
tZdWQ: jzAFT:
goto dgFRD;
uKfY7:
die;
goto nqSC6;
D8W7h:
$response = json_encode(["success" => true, "license" => "valid", "item_name" => urlencode($this->item_name), "license_limit" => 0, "site_count" => 999, "expires" => "lifetime", "activations_left" => "unlimited", "customer_name" => "noname", "customer_email" => "[email protected]"]);
goto zMeyc;
BmO07:
if (!($license_data && isset($license_data->license))) {
goto MwRSK;
}
goto G8aXQ;
XpRfP:
switch ($license_data->error) {
case "expired":
$message = sprintf(__("Your license code has expired on%s.", EXTHEMES_SLUG), date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp"))));
goto oJAD0;
case "revoked":
$message = __("Your license code has been disabled and can no longer be used.", EXTHEMES_SLUG);
goto oJAD0;
case "missing":
$message = __("Invalid license.", EXTHEMES_SLUG);
goto oJAD0;
case "invalid":
case "site_inactive":
$message = __("Your license is currently inactive on this website.", EXTHEMES_SLUG);
goto oJAD0;
case "item_name_mismatch":
$message = sprintf(__("This license code does not appear to be valid for %s.", EXTHEMES_SLUG), $this->item_name);
goto oJAD0;
case "no_activations_left":
$message = __("Your license code has reached the limit of license activation.", EXTHEMES_SLUG);
goto oJAD0;
default:
$message = __("An error occurred, please try again.", EXTHEMES_SLUG);
goto oJAD0;
}
goto tZdWQ;
nqSC6: h3xyT:
goto mLcbM;
IBARZ:
die;
goto ukIbp;
mLcbM: Hk07w:
goto BmO07;
i_edu:
$api_params = array("edd_action" => "activate_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto D8W7h;
tljk3:
delete_transient($this->theme_slug . "_license_message");
goto e72Hm;
ukIbp:
}
function deactivate_license()
{
goto L27Bl;
XNUd0:
delete_transient($this->theme_slug . "_license_message");
goto wL9G7;
L27Bl:
delete_option($this->theme_slug . "_license_key");
goto mj1pJ;
mj1pJ:
delete_option($this->theme_slug . "_license_key_status");
goto XNUd0;
wL9G7:
}
function change_license()
{
goto sc65p;
Tewg_:
delete_option($this->theme_slug . "_license_key_status");
goto iw5JN;
CrRxY:
wp_redirect(admin_url("themes.php?page=" . $this->theme_slug . ''));
goto SBdOc;
iw5JN:
delete_transient($this->theme_slug . "_license_message");
goto CrRxY;
sc65p:
delete_option($this->theme_slug . "_license_key");
goto Tewg_;
SBdOc:
die;
goto H20n4;
H20n4:
}
function get_renewal_link()
{
goto dXzS2;
dqSrR:
if (!('' != $this->download_id && $license_key)) {
goto mV2Vr;
}
goto MyUs5;
UevFT:
$url .= "/checkout/?edd_license_key=" . $license_key . "&download_id=" . $this->download_id;
goto SVOHu;
l1gny: mV2Vr:
goto gu7Eu;
gu7Eu:
return $this->remote_api_url;
goto kWu_s;
f150L:
return $this->renew_url;
goto jCvb2;
SVOHu:
return $url;
goto l1gny;
jCvb2: wqgJB:
goto AJF0p;
dXzS2:
if (!('' != $this->renew_url)) {
goto wqgJB;
}
goto f150L;
MyUs5:
$url = esc_url($this->remote_api_url);
goto UevFT;
AJF0p:
$license_key = trim(get_option($this->theme_slug . "_license_key", false));
goto dqSrR;
kWu_s:
}
function license_action()
{
goto iSMEr;
bfozt: zrUYY:
goto wp4p_;
Ifjej:
if (!check_admin_referer($this->theme_slug . "_nonce", $this->theme_slug . "_nonce")) {
goto AUl_2;
}
goto gtlC4;
jOc1X:
if (!isset($_POST[$this->theme_slug . "_license_deactivate"])) {
goto zrUYY;
}
goto j4lYA;
wON0O: X0EET:
goto bfozt;
VqB_y: AUl_2:
goto JtYDq;
MWe1F:
if (!check_admin_referer($this->theme_slug . "_nonce", $this->theme_slug . "_nonce")) {
goto eTuBD;
}
goto iWPXw;
iSMEr:
if (!isset($_POST[$this->theme_slug . "_license_activate"])) {
goto R3geM;
}
goto MWe1F;
JtYDq: MeRdc:
goto z4fBB;
oYdQQ:
$this->deactivate_license();
goto wON0O;
YykA_: R3geM:
goto jOc1X;
VECVn: eTuBD:
goto YykA_;
iWPXw:
$this->activate_license();
goto VECVn;
gtlC4:
$this->change_license();
goto VqB_y;
j4lYA:
if (!check_admin_referer($this->theme_slug . "_nonce", $this->theme_slug . "_nonce")) {
goto X0EET;
}
goto oYdQQ;
wp4p_:
if (!isset($_POST[$this->theme_slug . "_license_change"])) {
goto MeRdc;
}
goto Ifjej;
z4fBB:
}
function check_license()
{
goto cK1GD;
hnbMB:
update_option($this->theme_slug . "_license_key_status", $license_data->license);
goto Qo_k0;
oT5GG: wtNpT:
goto FSGU4;
E9VHo:
$message = $strings["license-keys-do-not-match"];
goto zGbs0;
kxDz1:
if ($license_data->license == "invalid") {
goto hZdUC;
}
goto B0Gnf;
iqVAg: XiaIJ:
goto EABnV;
mlKdh:
goto qbjWi;
goto oKvho;
LnYxV:
return $message;
goto k37PG;
IbQZP:
$message .= " <br> " . $license_data->customer_email;
goto P7YAa;
BmJaQ:
$expires = "lifetime";
goto ucL0u;
P7YAa: CdP5B:
goto WbjA_;
bW4Yb: U3lbw:
goto c0XgV;
ZQ1ES:
if (!(0 == $license_limit)) {
goto SOA62;
}
goto Q0S2s;
EY5mz:
$expires = false;
goto PIR0d;
n61Yu:
$strings = $this->strings;
goto wLI2j;
WbjA_: fFtDq:
goto cl_Al;
c0XgV:
goto fFtDq;
goto BbH3g;
fcabg:
$site_count = isset($license_data->site_count) ? $license_data->site_count : '';
goto O1Bvn;
m8Nw9: Df_vl:
goto NTE0r;
PNsAC: wDcwP:
goto t7Rfo;
sblwD: u75zt:
goto oU0mR;
BShtH:
goto U3lbw;
goto DGeTt;
OZ37t:
if ($expires) {
goto M29Ah;
}
goto m3IRp;
oKvho: B7aSU:
goto BmJaQ;
m3IRp:
$message = $strings["license-key-expired"];
goto WosTd;
zGbs0: GBIR_:
goto BShtH;
LLtNe:
if (!$renew_link) {
goto zUauA;
}
goto XlEUC;
oU0mR:
$expires = date_i18n(get_option("date_format"), strtotime($license_data->expires, current_time("timestamp")));
goto K0jxu;
DGeTt: CgsT6:
goto OZ37t;
EABnV:
if (!($customer_email && $license_limit)) {
goto CdP5B;
}
goto IbQZP;
K0jxu:
$renew_link = "<a href="" . esc_url($this->get_renewal_link()) . "" target="_blank">" . $strings["renew"] . "</a>";
goto mlKdh;
e419G: Z0ab_:
goto PBO4q;
ucL0u: qbjWi:
goto fcabg;
dwCZv: SOA62:
goto HQS2T;
qWbiF:
$message = $strings["license-status-unknown"];
goto fuBd2;
elCst: YkWJC:
goto WeC6O;
nfkLj:
$message = " <br>" . sprintf($strings["license-key-expired-%s"], $expires);
goto YmgOE;
fPFYX:
if ($license_data->license == "expired") {
goto CgsT6;
}
goto kxDz1;
N1cIQ:
if ($license_data->license == "disabled") {
goto PtLpl;
}
goto Oauup;
MIXOM:
$message = $strings["license-key-is-active"] . " ";
goto zC6pe;
K9a2E:
$message .= " <br> Lifetime";
goto dHuWg;
YmgOE: kWb3N:
goto LLtNe;
QdQCB: PtLpl:
goto Yuj62;
dHuWg: uJBy3:
goto F8NZD;
WosTd:
goto kWb3N;
goto jgqDb;
NTE0r:
goto YkWJC;
goto e419G;
WeC6O:
goto GBIR_;
goto ANFp4;
GwKsC:
if (!($customer_name && $license_limit)) {
goto XiaIJ;
}
goto qNiCX;
NY_yy:
$license_data = json_decode($response);
goto HZ1F2;
C9NAm:
goto qbjWi;
goto sblwD;
BbH3g: X1MXq:
goto MIXOM;
Q0S2s:
$license_limit = $strings["unlimited"];
goto dwCZv;
EPWP9: gFcAh:
goto q3_Qf;
PIR0d:
if (isset($license_data->expires) && "lifetime" != $license_data->expires) {
goto u75zt;
}
goto a0A2s;
t51Ij: tzePp:
goto GwKsC;
FSGU4:
$message = $strings["site-is-inactive"];
goto EPWP9;
HZ1F2:
if (isset($license_data->license)) {
goto bKeaS;
}
goto t0Fkw;
cl_Al:
return $message;
goto Ikeea;
Oauup:
if ($license_data->license == "site_inactive") {
goto wtNpT;
}
goto qWbiF;
ANFp4: hZdUC:
goto E9VHo;
Yuj62:
$message = $strings["license-key-is-disabled"];
goto m8Nw9;
x5qZY: zUauA:
goto bW4Yb;
jgqDb: M29Ah:
goto nfkLj;
a0A2s:
if (isset($license_data->expires) && "lifetime" == $license_data->expires) {
goto B7aSU;
}
goto C9NAm;
wLI2j:
$api_params = array("edd_action" => "check_license", "license" => $license, "item_name" => urlencode($this->item_name), "url" => home_url("/"));
goto mBVs8;
fuBd2:
goto gFcAh;
goto oT5GG;
F8NZD:
if (!($site_count && $license_limit)) {
goto tzePp;
}
goto WSlai;
DRfGu:
$message .= " <br>" . sprintf($strings["expires%s"], $expires) . " ";
goto PNsAC;
XlEUC:
$message .= " " . $renew_link;
goto x5qZY;
t0Fkw:
$message = $strings["license-status-unknown"];
goto LnYxV;
fKPrk:
if (!($license_data && isset($license_data->license))) {
goto nOamG;
}
goto hnbMB;
PLEni:
$customer_email = isset($license_data->customer_email) ? $license_data->customer_email : '';
goto hYJMI;
t7Rfo:
if (!(isset($expires) && "lifetime" == $expires)) {
goto uJBy3;
}
goto K9a2E;
zC6pe:
if (!(isset($expires) && "lifetime" != $expires)) {
goto wDcwP;
}
goto DRfGu;
PBO4q:
$message = $strings["license-is-inactive"];
goto elCst;
WSlai:
$message .= " <br> " . $license_data->site_count;
goto t51Ij;
HQS2T:
if ($license_data->license == "valid") {
goto X1MXq;
}
goto fPFYX;
B0Gnf:
if ($license_data->license == "inactive") {
goto Z0ab_;
}
goto N1cIQ;
k37PG: bKeaS:
goto fKPrk;
cK1GD:
$license = trim(get_option($this->theme_slug . "_license_key"));
goto n61Yu;
hYJMI:
$license_limit = isset($license_data->license_limit) ? $license_data->license_limit : '';
goto ZQ1ES;
O1Bvn:
$customer_name = isset($license_data->customer_name) ? $license_data->customer_name : '';
goto PLEni;
q3_Qf:
goto Df_vl;
goto QdQCB;
qNiCX:
$message .= " <br> " . $license_data->customer_name;
goto iqVAg;
mBVs8:
$response = json_encode(["success" => true, "license" => "valid", "item_name" => urlencode($this->item_name), "license_limit" => 0, "site_count" => 999, "expires" => "lifetime", "activations_left" => "unlimited", "customer_name" => "noname", "customer_email" => "[email protected]"]);
goto NY_yy;
Qo_k0: nOamG:
goto EY5mz;
Ikeea:
}
function disable_wporg_request($r, $url)
{
goto KFw7O;
aCdYk:
$child = get_option("stylesheet");
goto bVwuV;
bVwuV:
unset($themes->themes->{$parent});
goto BkQzK;
KFw7O:
if (!(0 !== strpos($url, "https://api.wordpress.org/themes/update-check/1.1/"))) {
goto KMT86;
}
goto L4MNo;
L4MNo:
return $r;
goto ds6oP;
iOS6V:
$parent = get_option("template");
goto aCdYk;
gHqdx:
$themes = json_decode($r["body"]["themes"]);
goto iOS6V;
pSG6u:
return $r;
goto mqIdg;
og4LL:
$r["body"]["themes"] = json_encode($themes);
goto pSG6u;
BkQzK:
unset($themes->themes->{$child});
goto og4LL;
ds6oP: KMT86:
goto gHqdx;
mqIdg:
}
}
goto JjnA3;
GJI0G: xNCbB:
goto xDbMS;
bE3jr:
die;
goto GJI0G;
JjnA3:
function exthemes_theme_license_admin_notices()
{
goto MTh3U;
EeTI0:
switch ($_GET["sl_theme_activation"]) {
case "false":
goto iDX1H;
qQ_a_:
goto Tm3p5;
goto iaLot;
iDX1H:
$message = urldecode($_GET["message"]);
goto MFAms;
cTg82:
echo $message;
goto asGsB;
asGsB:
echo "</p>
\x9\x9</div>
\xa \x9";
goto qQ_a_;
MFAms:
echo " <div class="error">\xd
\x9\x9<p>";
goto cTg82;
iaLot:
case "true":
default:
goto Tm3p5;
}
goto dIK4f;
DA23r: VAr8Q:
goto vJgoo;
dIK4f: c4km9:
goto VvHCB;
VvHCB: Tm3p5:
goto DA23r;
MTh3U:
if (!(isset($_GET["sl_theme_activation"]) && !empty($_GET["message"]))) {
goto VAr8Q;
}
goto EeTI0;
vJgoo:
}
goto c25Cn;
rXqZs:
if (defined("ABSPATH")) {
goto xNCbB;
}
goto bE3jr;
c25Cn:
add_action("admin_notices", "exthemes_theme_license_admin_notices", 999);
?>
Function Calls
| None |
Stats
| MD5 | c8c8fe288e19c041222518465c340981 |
| Eval Count | 0 |
| Decode Time | 85 ms |