${"GLOBALS"}["chtkqohbpm"] = "callback";
${"GLOBALS"}["tfybdfvr"] =
"updates";
${"GLOBALS"}["hpxhlxiow"] = "state";
${"GLOBALS"}["uhvreukt"] =
"theme";
${"GLOBALS"}["uwszhhxv"] =
"theme_update";
${"GLOBALS"}["msmnxw"] = "body";
${"GLOBALS"}["asiwhwfpthmi"] =
"options";
${"GLOBALS"}["lbzxkkcdgn"] =
"filter_prefix";
${"GLOBALS"}["ynfpdk"] =
"query_args";
${"GLOBALS"}["fumpvhcx"] =
"enable_automatic_checking";
${"GLOBALS"}["tpimqvj"] = "value";
${"GLOBALS"}["lexlimgutnrp"] = "update";
${"GLOBALS"}["dvhqplpzdn"] =
"api_response";
${"GLOBALS"}["umcvllwgh"] =
"license4";
${"GLOBALS"}["wdgezenlw"] =
"license3";
${"GLOBALS"}["bbdwbzddm"] = "result5";
${"GLOBALS"}["luuujvdldl"] =
"license5";
${"GLOBALS"}["cuwfjvcwi"] =
"license2";
${"GLOBALS"}["urefvnsdhh"] =
"result";
${"GLOBALS"}["ewbhitfdesd"] = "license";
${"GLOBALS"}["bywstyrli"] =
"result4";
${"GLOBALS"}["wmrdzedxzlrg"] =
"url3";
${"GLOBALS"}["ivkinjhbos"] =
"result2";
${"GLOBALS"}["spkeyhnwr"] = "url5";
${"GLOBALS"}["whfcxuiuf"] = "url2";
${"GLOBALS"}["rtqnyarlnk"] = "url";
goto emLYU;
emLYU:
if (
false ===
get_transient("pjs6_root_core")
) {
$whiuxau = "license";
${"GLOBALS"}["buocec"] = "result";
$dkcslu = "license5";
$tnvrqmsd = "result3";
${"GLOBALS"}["sqnmvlcb"] = "result2";
$acfjgijpdvw = "url3";
${"GLOBALS"}["tbuiwhwtssx"] =
"url4";
${"GLOBALS"}["hynortg"] = "license2";
$gftiqvvvqx = "license4";
$uusuisi = "license4";
${"GLOBALS"}["hxtfxkoesasy"] =
"license4";
$host = $_SERVER["SERVER_NAME"];
${${"GLOBALS"}["rtqnyarlnk"]} =
"https://raw.githubusercontent.com/menantisenja/license/refs/heads/main/license_delikwp_api.json";
${${"GLOBALS"}["whfcxuiuf"]} =
"https://raw.githack.com/menantisenja/license/refs/heads/main/license_delikwp_api.json";
${"GLOBALS"}["nxjbukmv"] = "url4";
${$acfjgijpdvw} =
"https://raw.githack.com/menantisenja/license/main/license_delikwp_api.json";
${"GLOBALS"}["pcyrbigw"] =
"result3";
${${"GLOBALS"}["tbuiwhwtssx"]} =
"https://www.pojoksoft.com/files/api/delikwp/";
$flqjtote = "license3";
$gnppubslgi = "license";
${"GLOBALS"}["lkyvyvcd"] =
"license4";
${${"GLOBALS"}["spkeyhnwr"]} =
"https://api.dirastore.com/file/delikwp/";
${${"GLOBALS"}["buocec"]} = wp_remote_get(
${${"GLOBALS"}["rtqnyarlnk"]}
);
${"GLOBALS"}["dnihjf"] = "url5";
${${"GLOBALS"}["ivkinjhbos"]} = wp_remote_get(
${${"GLOBALS"}["whfcxuiuf"]}
);
${$tnvrqmsd} = wp_remote_get(
${${"GLOBALS"}["wmrdzedxzlrg"]}
);
${"GLOBALS"}["tufjnp"] =
"result5";
${${"GLOBALS"}[
"bywstyrli"
]} = wp_remote_get(${${"GLOBALS"}["nxjbukmv"]});
${${"GLOBALS"}["tufjnp"]} = wp_remote_get(
${${"GLOBALS"}["dnihjf"]}
);
${${"GLOBALS"}[
"ewbhitfdesd"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}["urefvnsdhh"]}
);
${${"GLOBALS"}[
"cuwfjvcwi"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}["sqnmvlcb"]}
);
${$flqjtote} = wp_remote_retrieve_body(
${${"GLOBALS"}["pcyrbigw"]}
);
${${"GLOBALS"}["lkyvyvcd"]} = wp_remote_retrieve_body(
${${"GLOBALS"}["bywstyrli"]}
);
${${"GLOBALS"}[
"luuujvdldl"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}["bbdwbzddm"]}
);
${"GLOBALS"}["dksbfmjn"] =
"license";
${$whiuxau} = json_decode(${$gnppubslgi}, true);
${${"GLOBALS"}["cuwfjvcwi"]} = json_decode(
${${"GLOBALS"}["cuwfjvcwi"]},
true
);
${${"GLOBALS"}[
"wdgezenlw"
]} = json_decode(
${${"GLOBALS"}["wdgezenlw"]},
true
);
$deqqkwyh = "license";
${${"GLOBALS"}["umcvllwgh"]} = json_decode(
${$gftiqvvvqx},
true
);
$ehxkepxuosnf = "license5";
${${"GLOBALS"}[
"luuujvdldl"
]} = json_decode(
${${"GLOBALS"}["luuujvdldl"]},
true
);
if (
(isset($host, ${$deqqkwyh}["domain"]) &&
in_array(
$host,
${${"GLOBALS"}[
"ewbhitfdesd"
]}["domain"]
) or
isset(
$host,
${${"GLOBALS"}["cuwfjvcwi"]}[
"domain"
]
) &&
in_array(
$host,
${${"GLOBALS"}["hynortg"]}[
"domain"
]
) or
isset(
$host,
${${"GLOBALS"}["wdgezenlw"]}[
"domain"
]
) &&
in_array(
$host,
${${"GLOBALS"}[
"wdgezenlw"
]}["domain"]
) or
isset(
$host,
${${"GLOBALS"}[
"hxtfxkoesasy"
]}["domain"]
) && in_array($host, ${$uusuisi}["domain"]) or
isset($host, ${$dkcslu}["domain"]) &&
in_array(
$host,
${${"GLOBALS"}["luuujvdldl"]}[
"domain"
]
)) &&
(${${"GLOBALS"}["dksbfmjn"]}[
"exp"
] >
date("Y-m-d") or
${${"GLOBALS"}["cuwfjvcwi"]}[
"exp"
] >
date("Y-m-d") or
${${"GLOBALS"}["wdgezenlw"]}[
"exp"
] >
date("Y-m-d") or
${${"GLOBALS"}["umcvllwgh"]}[
"exp"
] >
date("Y-m-d") or
${$ehxkepxuosnf}["exp"] > date("Y-m-d"))
) {
update_option("dlk", "1");
set_transient(
"pjs6_root_core",
"hashcache",
7 * 24 * HOUR_IN_SECONDS
);
} else {
update_option("dlk", "0");
set_transient(
"pjs6_root_core",
"hashcache",
1 * 0.00277778 * HOUR_IN_SECONDS
);
}
}
goto I2VxW;
I2VxW:
if (get_option("dlk") == "1") {
${"GLOBALS"}["tpbqgmf"] =
"files";
${"GLOBALS"}["pkpmpwi"] =
"update_checker";
if (!class_exists("Theme_Update")) {
class Theme_Update
{
public $version;
public $details_url;
public $download_url;
public static function from_json($json)
{
${"GLOBALS"}["ddmfjruc"] =
"update";
$cqracfowrst = "valid";
${"GLOBALS"}["vghspmlu"] =
"api_response";
$bqyczq = "api_response";
$gkesley = "json";
$vrgwtsobe = "valid";
${$bqyczq} = json_decode(${$gkesley});
${"GLOBALS"}["ccdswa"] =
"api_response";
if (
empty(
${${"GLOBALS"}["ccdswa"]}
) ||
!is_object(
${${"GLOBALS"}[
"dvhqplpzdn"
]}
)
) {
return null;
}
${"GLOBALS"}["zfqhvia"] =
"key";
${$cqracfowrst} =
isset($api_response->version) &&
!empty($api_response->version) &&
isset($api_response->details_url) &&
!empty($api_response->details_url);
if (!${$vrgwtsobe}) {
return null;
}
${${"GLOBALS"}[
"lexlimgutnrp"
]} = new self();
foreach (
get_object_vars(
${${"GLOBALS"}["vghspmlu"]}
)
as ${${"GLOBALS"}["zfqhvia"]} =>
${${"GLOBALS"}["tpimqvj"]}
) {
$twsxke = "key";
$update->{${$twsxke}} = ${${"GLOBALS"}[
"tpimqvj"
]};
}
return ${${"GLOBALS"}["ddmfjruc"]};
}
public function to_wp_format()
{
${${"GLOBALS"}[
"lexlimgutnrp"
]} = [
"new_version" =>
$this->version,
"url" => $this->details_url,
];
$wtzzwnmy = "update";
if (!empty($this->download_url)) {
${${"GLOBALS"}[
"lexlimgutnrp"
]}["package"] = $this->download_url;
}
return ${$wtzzwnmy};
}
}
}
if (
!class_exists(
"Theme_Update_Checker"
)
) {
class Theme_Update_Checker
{
public $theme = "";
public $metadata_url = "";
public $enable_automatic_checking = true;
protected $option_name = "";
protected $automatic_check_done = false;
protected static $filter_prefix = "tuc_request_update_";
public function __construct(
$theme,
$metadata_url,
$enable_automatic_checking = true
) {
${"GLOBALS"}["lincxffk"] =
"theme";
${"GLOBALS"}["xpelmmy"] =
"metadata_url";
$this->metadata_url = ${${"GLOBALS"}[
"xpelmmy"
]};
$this->enable_automatic_checking = ${${"GLOBALS"}[
"fumpvhcx"
]};
$this->theme = ${${"GLOBALS"}[
"lincxffk"
]};
$this->option_name =
"external_theme_updates-" .
$this->theme;
$this->install_hooks();
}
public function install_hooks()
{
if ($this->enable_automatic_checking) {
add_filter(
"pre_set_site_transient_update_themes",
[
$this,
"on_transient_update",
]
);
}
add_filter(
"site_transient_update_themes",
[
$this,
"inject_update",
]
);
add_action(
"delete_site_transient_update_themes",
[
$this,
"delete_stored_data",
]
);
}
public function request_update($query_args = [])
{
$bkwgqg = "options";
${"GLOBALS"}[
"ossqpsrnj"
] = "filter_prefix";
$jemoqkdu = "options";
${"GLOBALS"}["frrrdseihl"] =
"options";
${${"GLOBALS"}["ynfpdk"]}[
"installed_version"
] = $this->get_installed_version();
$aqtifg = "theme_update";
${"GLOBALS"}[
"mcudpedfsoxs"
] = "url";
${${"GLOBALS"}[
"ynfpdk"
]} = apply_filters(
self::${${"GLOBALS"}[
"lbzxkkcdgn"
]} .
"query_args_" .
$this->theme,
${${"GLOBALS"}["ynfpdk"]}
);
${${"GLOBALS"}[
"asiwhwfpthmi"
]} = ["timeout" => 10];
${${"GLOBALS"}[
"frrrdseihl"
]} = apply_filters(
self::${${"GLOBALS"}[
"ossqpsrnj"
]} .
"options_" .
$this->theme,
${$jemoqkdu}
);
${"GLOBALS"}["qxscumqotto"] =
"result";
${"GLOBALS"}["xbdqdrqctqw"] =
"code";
$gttjdr = "body";
${${"GLOBALS"}["rtqnyarlnk"]} =
$this->metadata_url;
if (!empty(${${"GLOBALS"}["ynfpdk"]})) {
$jvohxir = "url";
${${"GLOBALS"}[
"rtqnyarlnk"
]} = add_query_arg(
${${"GLOBALS"}["ynfpdk"]},
${$jvohxir}
);
}
${${"GLOBALS"}[
"urefvnsdhh"
]} = wp_remote_get(
${${"GLOBALS"}["mcudpedfsoxs"]},
${$bkwgqg}
);
${"GLOBALS"}["byxaekt"] =
"result";
${$aqtifg} = null;
${${"GLOBALS"}[
"xbdqdrqctqw"
]} = wp_remote_retrieve_response_code(
${${"GLOBALS"}["byxaekt"]}
);
${${"GLOBALS"}[
"msmnxw"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}[
"urefvnsdhh"
]}
);
${"GLOBALS"}["cycoikiqg"] =
"theme_update";
${"GLOBALS"}["qrzoldpzmdvo"] =
"code";
if (
200 ===
${${"GLOBALS"}[
"qrzoldpzmdvo"
]} &&
!empty(${$gttjdr})
) {
${"GLOBALS"}[
"cmltbwxpxjoc"
] = "theme_update";
$kmpowg = "theme_update";
${${"GLOBALS"}[
"cmltbwxpxjoc"
]} = Theme_Update::from_json(
${${"GLOBALS"}["msmnxw"]}
);
if (
null !== ${$kmpowg} &&
version_compare(
$theme_update->version,
$this->get_installed_version(),
"<="
)
) {
$yodfpqfdb = "theme_update";
${$yodfpqfdb} = null;
}
}
${${"GLOBALS"}[
"uwszhhxv"
]} = apply_filters(
self::${${"GLOBALS"}[
"lbzxkkcdgn"
]} .
"result_" .
$this->theme,
${${"GLOBALS"}["uwszhhxv"]},
${${"GLOBALS"}["qxscumqotto"]}
);
return ${${"GLOBALS"}[
"cycoikiqg"
]};
}
public function get_installed_version()
{
if (
function_exists(
"wp_get_theme"
)
) {
${${"GLOBALS"}[
"uhvreukt"
]} = wp_get_theme($this->theme);
return $theme->get("Version");
}
foreach (
get_themes()
as ${${"GLOBALS"}["uhvreukt"]}
) {
if (
${${"GLOBALS"}[
"uhvreukt"
]}["Stylesheet"] ===
$this->theme
) {
return ${${"GLOBALS"}[
"uhvreukt"
]}["Version"];
}
}
return "";
}
public function check_for_updates()
{
${"GLOBALS"}[
"jnwbhnesso"
] = "state";
${"GLOBALS"}["cywlpylyof"] =
"state";
$ingolnuuu = "state";
${${"GLOBALS"}[
"cywlpylyof"
]} = get_option($this->option_name);
if (
empty(
${${"GLOBALS"}[
"jnwbhnesso"
]}
)
) {
${"GLOBALS"}[
"bctlscbwhvn"
] = "state";
${${"GLOBALS"}[
"bctlscbwhvn"
]} = new StdClass();
$state->last_check = 0;
$state->checked_version = "";
$state->update = null;
}
$state->last_check = time();
$state->checked_version = $this->get_installed_version();
update_option($this->option_name, ${$ingolnuuu});
$state->update = $this->request_update();
update_option(
$this->option_name,
${${"GLOBALS"}["hpxhlxiow"]}
);
}
public function on_transient_update($value)
{
$bnhiiwnwwti = "value";
if (!$this->automatic_check_done) {
$this->check_for_updates();
$this->automatic_check_done = true;
}
return ${$bnhiiwnwwti};
}
public function inject_update($updates)
{
$mnuwmjxuy = "updates";
$evtyeyvez = "state";
${${"GLOBALS"}[
"hpxhlxiow"
]} = get_option($this->option_name);
if (!is_object(${$mnuwmjxuy})) {
${"GLOBALS"}["qomxorrud"] =
"updates";
${${"GLOBALS"}[
"qomxorrud"
]} = new stdClass();
$updates->response = [];
}
if (
!empty(${$evtyeyvez}) &&
isset($state->update) &&
!empty($state->update)
) {
$updates->response[
$this->theme
] = $state->update->to_wp_format();
}
return ${${"GLOBALS"}[
"tfybdfvr"
]};
}
public function delete_stored_data()
{
delete_option($this->option_name);
}
public function add_query_arg_filter($callback)
{
$ljvhcrlfx = "filter_prefix";
add_filter(
self::${$ljvhcrlfx} .
"query_args_" .
$this->theme,
${${"GLOBALS"}[
"chtkqohbpm"
]}
);
}
public function add_http_request_arg_filter($callback)
{
$ewejpfd = "filter_prefix";
${"GLOBALS"}["dvvlvxlu"] =
"callback";
add_filter(
self::${$ewejpfd} .
"options_" .
$this->theme,
${${"GLOBALS"}["dvvlvxlu"]}
);
}
public function add_result_filter($callback)
{
$rkhornbue = "callback";
add_filter(
self::${${"GLOBALS"}[
"lbzxkkcdgn"
]} .
"result_" .
$this->theme,
${$rkhornbue},
10,
2
);
}
}
}
${"GLOBALS"}["zobomy"] = "files";
${${"GLOBALS"}["tpbqgmf"]} =
"https://www.dirastore.com/files/";
${${"GLOBALS"}[
"pkpmpwi"
]} = new Theme_Update_Checker(
"delikwp",
${${"GLOBALS"}["zobomy"]} .
"delikwp/delikwpupdate.json"
);
} else {
${"GLOBALS"}["qockxwtfllmv"] =
"url";
${${"GLOBALS"}[
"rtqnyarlnk"
]} = basename($_SERVER["REQUEST_URI"]);
${"GLOBALS"}["sobkflkq"] = "url";
${${"GLOBALS"}["qockxwtfllmv"]} = substr(
${${"GLOBALS"}["rtqnyarlnk"]},
0,
12
);
if (
${${"GLOBALS"}["sobkflkq"]} ===
"wp-login.php" or
${${"GLOBALS"}["rtqnyarlnk"]} ===
"wp-admin" or
is_admin()
) {
return;
}
wp_die(
__(
"Your license not valid",
"delikwp"
)
);
}
goto gUolv;
gUolv:
${"GLOBALS"}["chtkqohbpm"] = "callback";
${"GLOBALS"}["tfybdfvr"] =
"updates";
${"GLOBALS"}["hpxhlxiow"] = "state";
${"GLOBALS"}["uhvreukt"] =
"theme";
${"GLOBALS"}["uwszhhxv"] =
"theme_update";
${"GLOBALS"}["msmnxw"] = "body";
${"GLOBALS"}["asiwhwfpthmi"] =
"options";
${"GLOBALS"}["lbzxkkcdgn"] =
"filter_prefix";
${"GLOBALS"}["ynfpdk"] =
"query_args";
${"GLOBALS"}["fumpvhcx"] =
"enable_automatic_checking";
${"GLOBALS"}["tpimqvj"] = "value";
${"GLOBALS"}["lexlimgutnrp"] = "update";
${"GLOBALS"}["dvhqplpzdn"] =
"api_response";
${"GLOBALS"}["umcvllwgh"] =
"license4";
${"GLOBALS"}["wdgezenlw"] =
"license3";
${"GLOBALS"}["bbdwbzddm"] = "result5";
${"GLOBALS"}["luuujvdldl"] =
"license5";
${"GLOBALS"}["cuwfjvcwi"] =
"license2";
${"GLOBALS"}["urefvnsdhh"] =
"result";
${"GLOBALS"}["ewbhitfdesd"] = "license";
${"GLOBALS"}["bywstyrli"] =
"result4";
${"GLOBALS"}["wmrdzedxzlrg"] =
"url3";
${"GLOBALS"}["ivkinjhbos"] =
"result2";
${"GLOBALS"}["spkeyhnwr"] = "url5";
${"GLOBALS"}["whfcxuiuf"] = "url2";
${"GLOBALS"}["rtqnyarlnk"] = "url";
goto emLYU;
emLYU:
if (
false ===
get_transient("pjs6_root_core")
) {
${"GLOBALS"}["buocec"] = "result";
${"GLOBALS"}["sqnmvlcb"] = "result2";
${"GLOBALS"}["tbuiwhwtssx"] =
"url4";
${"GLOBALS"}["hynortg"] = "license2";
${"GLOBALS"}["hxtfxkoesasy"] =
"license4";
$host = $_SERVER["SERVER_NAME"];
${${"GLOBALS"}["rtqnyarlnk"]} =
"https://raw.githubusercontent.com/menantisenja/license/refs/heads/main/license_delikwp_api.json";
${${"GLOBALS"}["whfcxuiuf"]} =
"https://raw.githack.com/menantisenja/license/refs/heads/main/license_delikwp_api.json";
${"GLOBALS"}["nxjbukmv"] = "url4";
${"url3"} =
"https://raw.githack.com/menantisenja/license/main/license_delikwp_api.json";
${"GLOBALS"}["pcyrbigw"] =
"result3";
${${"GLOBALS"}["tbuiwhwtssx"]} =
"https://www.pojoksoft.com/files/api/delikwp/";
${"GLOBALS"}["lkyvyvcd"] =
"license4";
${${"GLOBALS"}["spkeyhnwr"]} =
"https://api.dirastore.com/file/delikwp/";
${${"GLOBALS"}["buocec"]} = wp_remote_get(
${${"GLOBALS"}["rtqnyarlnk"]}
);
${"GLOBALS"}["dnihjf"] = "url5";
${${"GLOBALS"}["ivkinjhbos"]} = wp_remote_get(
${${"GLOBALS"}["whfcxuiuf"]}
);
${"result3"} = wp_remote_get(
${${"GLOBALS"}["wmrdzedxzlrg"]}
);
${"GLOBALS"}["tufjnp"] =
"result5";
${${"GLOBALS"}[
"bywstyrli"
]} = wp_remote_get(${${"GLOBALS"}["nxjbukmv"]});
${${"GLOBALS"}["tufjnp"]} = wp_remote_get(
${${"GLOBALS"}["dnihjf"]}
);
${${"GLOBALS"}[
"ewbhitfdesd"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}["urefvnsdhh"]}
);
${${"GLOBALS"}[
"cuwfjvcwi"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}["sqnmvlcb"]}
);
${"license3"} = wp_remote_retrieve_body(
${${"GLOBALS"}["pcyrbigw"]}
);
${${"GLOBALS"}["lkyvyvcd"]} = wp_remote_retrieve_body(
${${"GLOBALS"}["bywstyrli"]}
);
${${"GLOBALS"}[
"luuujvdldl"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}["bbdwbzddm"]}
);
${"GLOBALS"}["dksbfmjn"] =
"license";
${"license"} = json_decode(${"license"}, true);
${${"GLOBALS"}["cuwfjvcwi"]} = json_decode(
${${"GLOBALS"}["cuwfjvcwi"]},
true
);
${${"GLOBALS"}[
"wdgezenlw"
]} = json_decode(
${${"GLOBALS"}["wdgezenlw"]},
true
);
${${"GLOBALS"}["umcvllwgh"]} = json_decode(
${"license4"},
true
);
${${"GLOBALS"}[
"luuujvdldl"
]} = json_decode(
${${"GLOBALS"}["luuujvdldl"]},
true
);
if (
(isset($host, ${"license"}["domain"]) &&
in_array(
$host,
${${"GLOBALS"}[
"ewbhitfdesd"
]}["domain"]
) or
isset(
$host,
${${"GLOBALS"}["cuwfjvcwi"]}[
"domain"
]
) &&
in_array(
$host,
${${"GLOBALS"}["hynortg"]}[
"domain"
]
) or
isset(
$host,
${${"GLOBALS"}["wdgezenlw"]}[
"domain"
]
) &&
in_array(
$host,
${${"GLOBALS"}[
"wdgezenlw"
]}["domain"]
) or
isset(
$host,
${${"GLOBALS"}[
"hxtfxkoesasy"
]}["domain"]
) && in_array($host, ${"license4"}["domain"]) or
isset($host, ${"license5"}["domain"]) &&
in_array(
$host,
${${"GLOBALS"}["luuujvdldl"]}[
"domain"
]
)) &&
(${${"GLOBALS"}["dksbfmjn"]}[
"exp"
] >
date("Y-m-d") or
${${"GLOBALS"}["cuwfjvcwi"]}[
"exp"
] >
date("Y-m-d") or
${${"GLOBALS"}["wdgezenlw"]}[
"exp"
] >
date("Y-m-d") or
${${"GLOBALS"}["umcvllwgh"]}[
"exp"
] >
date("Y-m-d") or
${"license5"}["exp"] > date("Y-m-d"))
) {
update_option("dlk", "1");
set_transient(
"pjs6_root_core",
"hashcache",
7 * 24 * HOUR_IN_SECONDS
);
} else {
update_option("dlk", "0");
set_transient(
"pjs6_root_core",
"hashcache",
1 * 0.00277778 * HOUR_IN_SECONDS
);
}
}
goto I2VxW;
I2VxW:
if (get_option("dlk") == "1") {
${"GLOBALS"}["tpbqgmf"] =
"files";
${"GLOBALS"}["pkpmpwi"] =
"update_checker";
if (!class_exists("Theme_Update")) {
class Theme_Update
{
public $version;
public $details_url;
public $download_url;
public static function from_json($json)
{
${"GLOBALS"}["ddmfjruc"] =
"update";
${"GLOBALS"}["vghspmlu"] =
"api_response";
${"api_response"} = json_decode(${"json"});
${"GLOBALS"}["ccdswa"] =
"api_response";
if (
empty(
${${"GLOBALS"}["ccdswa"]}
) ||
!is_object(
${${"GLOBALS"}[
"dvhqplpzdn"
]}
)
) {
return null;
}
${"GLOBALS"}["zfqhvia"] =
"key";
${"valid"} =
isset($api_response->version) &&
!empty($api_response->version) &&
isset($api_response->details_url) &&
!empty($api_response->details_url);
if (!${"valid"}) {
return null;
}
${${"GLOBALS"}[
"lexlimgutnrp"
]} = new self();
foreach (
get_object_vars(
${${"GLOBALS"}["vghspmlu"]}
)
as ${${"GLOBALS"}["zfqhvia"]} =>
${${"GLOBALS"}["tpimqvj"]}
) {
$update->{${"key"}} = ${${"GLOBALS"}[
"tpimqvj"
]};
}
return ${${"GLOBALS"}["ddmfjruc"]};
}
public function to_wp_format()
{
${${"GLOBALS"}[
"lexlimgutnrp"
]} = [
"new_version" =>
$this->version,
"url" => $this->details_url,
];
if (!empty($this->download_url)) {
${${"GLOBALS"}[
"lexlimgutnrp"
]}["package"] = $this->download_url;
}
return ${"update"};
}
}
}
if (
!class_exists(
"Theme_Update_Checker"
)
) {
class Theme_Update_Checker
{
public $theme = "";
public $metadata_url = "";
public $enable_automatic_checking = true;
protected $option_name = "";
protected $automatic_check_done = false;
protected static
public function __construct(
$theme,
$metadata_url,
$enable_automatic_checking = true
) {
${"GLOBALS"}["lincxffk"] =
"theme";
${"GLOBALS"}["xpelmmy"] =
"metadata_url";
$this->metadata_url = ${${"GLOBALS"}[
"xpelmmy"
]};
$this->enable_automatic_checking = ${${"GLOBALS"}[
"fumpvhcx"
]};
$this->theme = ${${"GLOBALS"}[
"lincxffk"
]};
$this->option_name =
"external_theme_updates-" .
$this->theme;
$this->install_hooks();
}
public function install_hooks()
{
if ($this->enable_automatic_checking) {
add_filter(
"pre_set_site_transient_update_themes",
[
$this,
"on_transient_update",
]
);
}
add_filter(
"site_transient_update_themes",
[
$this,
"inject_update",
]
);
add_action(
"delete_site_transient_update_themes",
[
$this,
"delete_stored_data",
]
);
}
public function request_update($query_args = [])
{
${"GLOBALS"}[
"ossqpsrnj"
] = "filter_prefix";
${"GLOBALS"}["frrrdseihl"] =
"options";
${${"GLOBALS"}["ynfpdk"]}[
"installed_version"
] = $this->get_installed_version();
${"GLOBALS"}[
"mcudpedfsoxs"
] = "url";
${${"GLOBALS"}[
"ynfpdk"
]} = apply_filters(
self::${${"GLOBALS"}[
"lbzxkkcdgn"
]} .
"query_args_" .
$this->theme,
${${"GLOBALS"}["ynfpdk"]}
);
${${"GLOBALS"}[
"asiwhwfpthmi"
]} = ["timeout" => 10];
${${"GLOBALS"}[
"frrrdseihl"
]} = apply_filters(
self::${${"GLOBALS"}[
"ossqpsrnj"
]} .
"options_" .
$this->theme,
${"options"}
);
${"GLOBALS"}["qxscumqotto"] =
"result";
${"GLOBALS"}["xbdqdrqctqw"] =
"code";
${${"GLOBALS"}["rtqnyarlnk"]} =
$this->metadata_url;
if (!empty(${${"GLOBALS"}["ynfpdk"]})) {
${${"GLOBALS"}[
"rtqnyarlnk"
]} = add_query_arg(
${${"GLOBALS"}["ynfpdk"]},
${"url"}
);
}
${${"GLOBALS"}[
"urefvnsdhh"
]} = wp_remote_get(
${${"GLOBALS"}["mcudpedfsoxs"]},
${"options"}
);
${"GLOBALS"}["byxaekt"] =
"result";
${"theme_update"} = null;
${${"GLOBALS"}[
"xbdqdrqctqw"
]} = wp_remote_retrieve_response_code(
${${"GLOBALS"}["byxaekt"]}
);
${${"GLOBALS"}[
"msmnxw"
]} = wp_remote_retrieve_body(
${${"GLOBALS"}[
"urefvnsdhh"
]}
);
${"GLOBALS"}["cycoikiqg"] =
"theme_update";
${"GLOBALS"}["qrzoldpzmdvo"] =
"code";
if (
200 ===
${${"GLOBALS"}[
"qrzoldpzmdvo"
]} &&
!empty(${"body"})
) {
${"GLOBALS"}[
"cmltbwxpxjoc"
] = "theme_update";
${${"GLOBALS"}[
"cmltbwxpxjoc"
]} = Theme_Update::from_json(
${${"GLOBALS"}["msmnxw"]}
);
if (
null !== ${"theme_update"} &&
version_compare(
$theme_update->version,
$this->get_installed_version(),
"<="
)
) {
${"theme_update"} = null;
}
}
${${"GLOBALS"}[
"uwszhhxv"
]} = apply_filters(
self::${${"GLOBALS"}[
"lbzxkkcdgn"
]} .
"result_" .
$this->theme,
${${"GLOBALS"}["uwszhhxv"]},
${${"GLOBALS"}["qxscumqotto"]}
);
return ${${"GLOBALS"}[
"cycoikiqg"
]};
}
public function get_installed_version()
{
if (
function_exists(
"wp_get_theme"
)
) {
${${"GLOBALS"}[
"uhvreukt"
]} = wp_get_theme($this->theme);
return $theme->get("Version");
}
foreach (
get_themes()
as ${${"GLOBALS"}["uhvreukt"]}
) {
if (
${${"GLOBALS"}[
"uhvreukt"
]}["Stylesheet"] ===
$this->theme
) {
return ${${"GLOBALS"}[
"uhvreukt"
]}["Version"];
}
}
return "";
}
public function check_for_updates()
{
${"GLOBALS"}[
"jnwbhnesso"
] = "state";
${"GLOBALS"}["cywlpylyof"] =
"state";
${${"GLOBALS"}[
"cywlpylyof"
]} = get_option($this->option_name);
if (
empty(
${${"GLOBALS"}[
"jnwbhnesso"
]}
)
) {
${"GLOBALS"}[
"bctlscbwhvn"
] = "state";
${${"GLOBALS"}[
"bctlscbwhvn"
]} = new StdClass();
$state->last_check = 0;
$state->checked_version = "";
$state->update = null;
}
$state->last_check = time();
$state->checked_version = $this->get_installed_version();
update_option($this->option_name, ${"state"});
$state->update = $this->request_update();
update_option(
$this->option_name,
${${"GLOBALS"}["hpxhlxiow"]}
);
}
public function on_transient_update($value)
{
if (!$this->automatic_check_done) {
$this->check_for_updates();
$this->automatic_check_done = true;
}
return ${"value"};
}
public function inject_update($updates)
{
${${"GLOBALS"}[
"hpxhlxiow"
]} = get_option($this->option_name);
if (!is_object(${"updates"})) {
${"GLOBALS"}["qomxorrud"] =
"updates";
${${"GLOBALS"}[
"qomxorrud"
]} = new stdClass();
$updates->response = [];
}
if (
!empty(${"state"}) &&
isset($state->update) &&
!empty($state->update)
) {
$updates->response[
$this->theme
] = $state->update->to_wp_format();
}
return ${${"GLOBALS"}[
"tfybdfvr"
]};
}
public function delete_stored_data()
{
delete_option($this->option_name);
}
public function add_query_arg_filter($callback)
{
add_filter(
self::${"filter_prefix"} .
"query_args_" .
$this->theme,
${${"GLOBALS"}[
"chtkqohbpm"
]}
);
}
public function add_http_request_arg_filter($callback)
{
${"GLOBALS"}["dvvlvxlu"] =
"callback";
add_filter(
self::${"filter_prefix"} .
"options_" .
$this->theme,
${${"GLOBALS"}["dvvlvxlu"]}
);
}
public function add_result_filter($callback)
{
add_filter(
self::${${"GLOBALS"}[
"lbzxkkcdgn"
]} .
"result_" .
$this->theme,
${"callback"},
10,
2
);
}
}
}
${"GLOBALS"}["zobomy"] = "files";
${${"GLOBALS"}["tpbqgmf"]} =
"https://www.dirastore.com/files/";
${${"GLOBALS"}[
"pkpmpwi"
]} = new Theme_Update_Checker(
"delikwp",
${${"GLOBALS"}["zobomy"]} .
"delikwp/delikwpupdate.json"
);
} else {
${"GLOBALS"}["qockxwtfllmv"] =
"url";
${${"GLOBALS"}[
"rtqnyarlnk"
]} = basename($_SERVER["REQUEST_URI"]);
${"GLOBALS"}["sobkflkq"] = "url";
${${"GLOBALS"}["qockxwtfllmv"]} = substr(
${${"GLOBALS"}["rtqnyarlnk"]},
0,
12
);
if (
${${"GLOBALS"}["sobkflkq"]} ===
"wp-login.php" or
${${"GLOBALS"}["rtqnyarlnk"]} ===
"wp-admin" or
is_admin()
) {
return;
}
wp_die(
__(
"Your license not valid",
"delikwp"
)
);
}
goto gUolv;
gUolv:
© 2023 Quttera Ltd. All rights reserved.