File: /www/wwwroot/www.sceybwg.com/wp-content/themes/Modular/public/theme-license.php
<?php
/*
本代码由 XinTheme 大胡子 创建,加密仅仅是为了防止被倒卖/盗版又或者添加恶意代码二次传播。
只要是从XinTheme官网下载的作品,100%保证代码安全,可放心使用,非xintheme官网下载资源,有安全隐患,请勿使用。
创建时间 2025-10-30 18:34:43
官方网站:www.xintheme.com QQ:670088886 微信:ztmao-com
严禁反编译、逆向等任何形式的侵权行为,违者将追究法律责任
*/
$W5sBuEt1=array();$W5sBuEt1[]=8;$W5sBuEt1[]=3;$W5sBuEt1[]=9;$W5sBuEt1[]=7;$W5sBuEt1[]=15;$W5seFB7=call_user_func_array("define",array('DAHUZI_EDD_ID','187968'));$W5seFB7=call_user_func_array("define",array('WPJAM_Modular_THEME_NAME','Modular'));$W5seFB7=call_user_func_array("add_action",array('admin_enqueue_scripts','dahuzi_theme_license_page_scripts'));$W5seFB7=call_user_func_array("add_action",array('admin_menu','xintheme_admin_menu'));$W5sOiRy3=3384;$W5sB8=(bool)isset($_GET['page']);if($W5sB8)goto W5seWjgx3;goto W5sldMhx3;W5seWjgx3:$W5sB7=$_GET['page']==='theme-license';$W5sB8=(bool)$W5sB7;goto W5sx2;W5sldMhx3:W5sx2:if($W5sB8)goto W5seWjgx4;goto W5sldMhx4;W5seWjgx4:$W5sOiRy3=$W5sBuEt1[4]*$W5sBuEt1[3];goto W5sx1;W5sldMhx4:W5sx1:$W5sB7=9*20;$W5sB8=$W5sB7-75;$W5sB9=$W5sOiRy3==$W5sB8;if($W5sB9)goto W5seWjgx8;goto W5sldMhx8;W5seWjgx8:if(defined('PROJECT_NAME'))goto W5seWjgx6;goto W5sldMhx6;W5seWjgx6:$W5sB7=PROJECT_NAME;goto W5sx5;W5sldMhx6:$W5sB7=WPJAM_Modular_THEME_NAME;W5sx5:$W5sB8='主题授权-' . $W5sB7;unset($W5stIB9);$W5stIB9=$W5sB8;unset($W5stIB7);$W5stIB7=$W5stIB9;$title=$W5stIB7;goto W5sx7;W5sldMhx8:W5sx7:$W5seFB7=call_user_func_array("add_filter",array('site_transient_update_themes','xintheme_theme_check_for_update'));$W5seFB7=call_user_func_array("add_filter",array('delete_site_transient_update_themes','delete_xintheme_theme_update_transient'));$W5seFB7=call_user_func_array("add_action",array('load-update-core.php','delete_xintheme_theme_update_transient'));$W5seFB7=call_user_func_array("add_action",array('load-themes.php','delete_xintheme_theme_update_transient'));$W5seFB7=call_user_func_array("add_action",array('wp_loaded','xintheme_check_license'));$W5seFB7=call_user_func_array("add_filter",array('wpjam_html',function($html){$W5sBuEt19=array();$W5sBuEt19[]=3;$W5sBuEt19[]=6;$W5sBuEt19[]=3;$W5sBuEt19[]=18;$W5sBuEt19[]=20;$W5seFB7=call_user_func_array("wpjam_theme_get_setting",array('global_color'));$W5sOiRy77=8018;if($W5seFB7)goto W5seWjgx5c;goto W5sldMhx5c;W5seWjgx5c:$W5sOiRy77=$W5sBuEt19[4]*$W5sBuEt19[1];goto W5sx5b;W5sldMhx5c:$W5sOiRy77=$W5sBuEt19[1]*$W5sBuEt19[4];$W5sOiRy77=5593+$W5sOiRy77;W5sx5b:$W5sB9=13*19;$W5sBA=$W5sB9+5466;$W5sBB=$W5sOiRy77==$W5sBA;if($W5sBB)goto W5seWjgx5e;goto W5sldMhx5e;W5seWjgx5e:$W5sB7='#c00d23';goto W5sx5d;W5sldMhx5e:$W5sBC=18*1;$W5sBD=$W5sBC+102;$W5sBE=$W5sOiRy77==$W5sBD;if($W5sBE)goto W5seWjgx5f;goto W5sldMhx5f;W5seWjgx5f:$W5sB7=$W5seFB7;goto W5sx5d;W5sldMhx5f:W5sx5d:unset($W5stIB8);$W5stIB8=$W5sB7;$color=$W5stIB8;$W5sB7='style="--main-color:' . $color;$W5sB8=$W5sB7 . ';"';unset($W5stIB9);$W5stIB9=$W5sB8;$style=$W5stIB9;$W5svPB7='<html ' . $style;$W5seFB7=call_user_func_array("str_replace",array('<html',&$W5svPB7,&$html));return $W5seFB7;}));$W5seFB7=call_user_func_array("add_action",array('widgets_init',function(){$W5sBuEt20=array();$W5sBuEt20[]=19;$W5sBuEt20[]=20;$W5sBuEt20[]=18;$W5sBuEt20[]=12;$W5sBuEt20[]=9;$W5szAB7=array();$W5szAB7['type']='post';$W5szAB7['orderby']='name';$W5szAB7['order']='ASC';$W5szAB7['hide_empty']=0;$W5szAB7['taxonomy']='category';$W5szAB7['pad_counts']=false;unset($W5stIB7);$W5stIB7=$W5szAB7;$args=$W5stIB7;$W5seFB7=call_user_func_array("get_categories",array(&$args));unset($W5stIB7);$W5stIB7=$W5seFB7;$categories=$W5stIB7;foreach($categories as $category){unset($W5stIB7);$W5stIB7=get_term_meta($category->term_id,'cat_widgets',true);$cat_widgets=$W5stIB7;$W5sOiRy79=8001;$W5sB7=!empty($cat_widgets);if($W5sB7)goto W5seWjgx5h;goto W5sldMhx5h;W5seWjgx5h:$W5sOiRy79=$W5sBuEt20[2]*$W5sBuEt20[4];goto W5sx5g;W5sldMhx5h:W5sx5g:$W5sB7=18*5;$W5sB8=$W5sB7+72;$W5sB9=$W5sOiRy79==$W5sB8;if($W5sB9)goto W5seWjgx5j;goto W5sldMhx5j;W5seWjgx5j:$W5svPvPB7='widget-area-' . $category->term_id;$W5svPvPB8='【分类:' . $category->name;$W5svPvPB9=$W5svPvPB8 . '】 - 独立侧栏';$W5szAvPB9=array();$W5szAvPB9['id']=$W5svPvPB7;$W5szAvPB9['name']=$W5svPvPB9;$W5szAvPB9['before_widget']='<div class="widget %2$s">';$W5szAvPB9['after_widget']='</div>';$W5szAvPB9['before_title']='<div class="widget-title"><h3>';$W5szAvPB9['after_title']='</h3></div>';$W5seFB7=call_user_func_array("register_sidebar",array(&$W5szAvPB9));goto W5sx5i;W5sldMhx5j:W5sx5i:}$W5seFB7=call_user_func_array("get_pages",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$pages=$W5stIB7;foreach($pages as $page){unset($W5stIB7);$W5stIB7=get_post_meta($page->ID,'page_widgets',true);$page_widgets=$W5stIB7;$W5sOiRy81=8012;if($page_widgets)goto W5seWjgx5l;goto W5sldMhx5l;W5seWjgx5l:$W5sOiRy81=$W5sBuEt20[3]*$W5sBuEt20[4];goto W5sx5k;W5sldMhx5l:W5sx5k:$W5sB7=2*1;$W5sB8=$W5sB7+106;$W5sB9=$W5sOiRy81==$W5sB8;if($W5sB9)goto W5seWjgx5n;goto W5sldMhx5n;W5seWjgx5n:$W5svPvPB7='widget-area-page-' . $page->ID;$W5svPvPB8='【页面:' . $page->post_title;$W5svPvPB9=$W5svPvPB8 . '】 - 独立侧栏';$W5szAvPB9=array();$W5szAvPB9['id']=$W5svPvPB7;$W5szAvPB9['name']=$W5svPvPB9;$W5szAvPB9['before_widget']='<div class="widget %2$s">';$W5szAvPB9['after_widget']='</div>';$W5szAvPB9['before_title']='<div class="widget-title"><h3>';$W5szAvPB9['after_title']='</h3></div>';$W5seFB7=call_user_func_array("register_sidebar",array(&$W5szAvPB9));goto W5sx5m;W5sldMhx5n:W5sx5m:}}));$W5seFB7=call_user_func_array("add_action",array('after_setup_theme',function(){$W5sBuEt21=array();$W5sBuEt21[]=6;$W5sBuEt21[]=17;$W5sBuEt21[]=8;$W5sBuEt21[]=20;$W5sBuEt21[]=16;$W5seFB7=call_user_func_array("get_template_directory",array());$W5sB7=$W5seFB7 . '/admin/license-client/license-manager.php';unset($W5stIB8);$W5stIB8=$W5sB7;$license_file=$W5stIB8;$W5sOiRy83=8018;$W5seFB7=call_user_func_array("file_exists",array(&$license_file));if($W5seFB7)goto W5seWjgx5p;goto W5sldMhx5p;W5seWjgx5p:$W5sOiRy83=$W5sBuEt21[4]*$W5sBuEt21[2];goto W5sx5o;W5sldMhx5p:W5sx5o:$W5sB7=11*19;$W5sB8=$W5sB7-81;$W5sB9=$W5sOiRy83==$W5sB8;if($W5sB9)goto W5seWjgx5r;goto W5sldMhx5r;W5seWjgx5r:$W5sB7=require_once $license_file;goto W5sx5q;W5sldMhx5r:W5sx5q:}));function xintheme_encrypt_license_key($key){$W5sBuEt2=array();$W5sBuEt2[]=11;$W5sBuEt2[]=8;$W5sBuEt2[]=4;$W5sBuEt2[]=2;$W5sBuEt2[]=18;$W5seFB7=call_user_func_array("wp_salt",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$encryption_key=$W5stIB7;$W5seFvPB7=call_user_func_array("openssl_cipher_iv_length",array('aes-256-cbc'));$W5seFB8=call_user_func_array("openssl_random_pseudo_bytes",array(&$W5seFvPB7));unset($W5stIB7);$W5stIB7=$W5seFB8;$iv=$W5stIB7;$W5seFB7=call_user_func_array("openssl_encrypt",array(&$key,'aes-256-cbc',&$encryption_key,0,&$iv));unset($W5stIB7);$W5stIB7=$W5seFB7;$encrypted=$W5stIB7;$W5svPB7=$iv . $encrypted;$W5seFB7=call_user_func_array("base64_encode",array(&$W5svPB7));return $W5seFB7;}function xintheme_decrypt_license_key($encrypted_key){$W5sBuEt3=array();$W5sBuEt3[]=9;$W5sBuEt3[]=13;$W5sBuEt3[]=11;$W5sBuEt3[]=14;$W5sBuEt3[]=5;$W5seFB7=call_user_func_array("wp_salt",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$encryption_key=$W5stIB7;$W5seFB7=call_user_func_array("base64_decode",array(&$encrypted_key));unset($W5stIB7);$W5stIB7=$W5seFB7;$data=$W5stIB7;$W5seFB7=call_user_func_array("openssl_cipher_iv_length",array('aes-256-cbc'));unset($W5stIB7);$W5stIB7=$W5seFB7;$iv_length=$W5stIB7;$W5seFB7=call_user_func_array("substr",array(&$data,0,&$iv_length));unset($W5stIB7);$W5stIB7=$W5seFB7;$iv=$W5stIB7;$W5seFB7=call_user_func_array("substr",array(&$data,&$iv_length));unset($W5stIB7);$W5stIB7=$W5seFB7;$encrypted=$W5stIB7;$W5seFB7=call_user_func_array("openssl_decrypt",array(&$encrypted,'aes-256-cbc',&$encryption_key,0,&$iv));return $W5seFB7;}function wpjam_theme_get_setting($setting_name){$W5sBuEt4=array();$W5sBuEt4[]=12;$W5sBuEt4[]=2;$W5sBuEt4[]=12;$W5sBuEt4[]=13;$W5sBuEt4[]=12;$W5seFB7=call_user_func_array("wpjam_get_setting",array('wpjam-theme',&$setting_name));return $W5seFB7;}function get_xi_n_th_eme_ym(){$W5sBuEt5=array();$W5sBuEt5[]=13;$W5sBuEt5[]=5;$W5sBuEt5[]=3;$W5sBuEt5[]=13;$W5sBuEt5[]=12;unset($W5stIB7);$W5stIB7='ht';$url=$W5stIB7;$url=$url.'tps:';$W5snWB7=$url;$url=$url.'//';$W5snWB7=$url;$url=$url.'ww';$W5snWB7=$url;$url=$url.'w.xi';$W5snWB7=$url;$url=$url.'nthe';$W5snWB7=$url;$url=$url.'me.c';$W5snWB7=$url;$url=$url.'om';$W5snWB7=$url;return $url;}function dahuzi_theme_license_page_scripts($hook){$W5sBuEt6=array();$W5sBuEt6[]=9;$W5sBuEt6[]=12;$W5sBuEt6[]=20;$W5sBuEt6[]=3;$W5sBuEt6[]=10;$W5sOiRy5=8004;$W5szAvPB7=array();$W5szAvPB7[]='toplevel_page_theme-license';$W5szAvPB7[]='%e4%b8%bb%e9%a2%98%e8%ae%be%e7%bd%ae_page_theme-license';$W5seFB8=call_user_func_array("in_array",array(&$hook,&$W5szAvPB7,true));$W5sB7=!$W5seFB8;if($W5sB7)goto W5seWjgxa;goto W5sldMhxa;W5seWjgxa:$W5sOiRy5=$W5sBuEt6[4]*$W5sBuEt6[3];goto W5sx9;W5sldMhxa:W5sx9:$W5sB7=20*12;$W5sB8=$W5sB7-210;$W5sB9=$W5sOiRy5==$W5sB8;if($W5sB9)goto W5seWjgxc;goto W5sldMhxc;W5seWjgxc:return ;goto W5sxb;W5sldMhxc:W5sxb:$W5seFvPB7=call_user_func_array("get_template_directory_uri",array());$W5svPB7=$W5seFvPB7 . '/static/css/theme-license.css';$W5seFB8=call_user_func_array("wp_register_style",array('dahuzi-theme-license',&$W5svPB7,false,'1.0.1'));$W5seFB7=call_user_func_array("wp_enqueue_style",array('dahuzi-theme-license'));}function xintheme_admin_menu(){$W5sBuEt7=array();$W5sBuEt7[]=20;$W5sBuEt7[]=14;$W5sBuEt7[]=14;$W5sBuEt7[]=10;$W5sBuEt7[]=16;$W5sB7=TEMPLATEPATH . '/admin/page/';unset($W5stIB8);$W5stIB8=$W5sB7;$pages_dir=$W5stIB8;$W5sB7=$pages_dir . 'xintheme-ico.php';$W5sB8=include $W5sB7;$W5sOiRy7=8005;if(defined('PROJECT_NAME'))goto W5seWjgxe;goto W5sldMhxe;W5seWjgxe:$W5sOiRy7=$W5sBuEt7[1]*$W5sBuEt7[3];goto W5sxd;W5sldMhxe:$W5sOiRy7=$W5sBuEt7[3]*$W5sBuEt7[2];$W5sOiRy7=$W5sOiRy7+6677;W5sxd:$W5sB9=3*17;$W5sBA=$W5sB9+6766;$W5sBB=$W5sOiRy7==$W5sBA;if($W5sBB)goto W5seWjgxg;goto W5sldMhxg;W5seWjgxg:$W5svPB7=WPJAM_Modular_THEME_NAME;goto W5sxf;W5sldMhxg:$W5sBC=11*16;$W5sBD=$W5sBC-36;$W5sBE=$W5sOiRy7==$W5sBD;if($W5sBE)goto W5seWjgxh;goto W5sldMhxh;W5seWjgxh:$W5svPB7=PROJECT_NAME;goto W5sxf;W5sldMhxh:W5sxf:$W5svPB8='主题授权-' . $W5svPB7;$W5seFvPB9=call_user_func_array("admin_menu_xintheme_ico",array());$W5seFBA=call_user_func_array("add_menu_page",array(&$W5svPB8,'主题授权','manage_options','theme-license','dahuzi_theme_license_page',&$W5seFvPB9,999));$W5seFB7=call_user_func_array("xintheme_theme_check_license",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$xintheme_theme_license=$W5stIB7;$W5sOiRy11=8018;$W5sB8=(bool)isset($xintheme_theme_license['license']);if($W5sB8)goto W5seWjgxm;goto W5sldMhxm;W5seWjgxm:$W5sB7=$xintheme_theme_license['license']==='valid';$W5sB8=(bool)$W5sB7;goto W5sxl;W5sldMhxm:W5sxl:$W5sB9=(bool)$W5sB8;$W5sBA=!$W5sB9;if($W5sBA)goto W5seWjgxk;goto W5sldMhxk;W5seWjgxk:$W5sB9=(bool)defined('LICENSE_CLIENT_PATH');goto W5sxj;W5sldMhxk:W5sxj:if($W5sB9)goto W5seWjgxn;goto W5sldMhxn;W5seWjgxn:$W5sOiRy11=$W5sBuEt7[1]*$W5sBuEt7[2];goto W5sxi;W5sldMhxn:W5sxi:$W5sB7=4*9;$W5sB8=$W5sB7+160;$W5sB9=$W5sOiRy11==$W5sB8;if($W5sB9)goto W5seWjgxp;goto W5sldMhxp;W5seWjgxp:$W5seFB7=call_user_func_array("remove_menu_page",array('theme-license'));goto W5sxo;W5sldMhxp:W5sxo:}function dahuzi_theme_license_page(){$W5sBuEt8=array();$W5sBuEt8[]=14;$W5sBuEt8[]=2;$W5sBuEt8[]=18;$W5sBuEt8[]=8;$W5sBuEt8[]=5;$W5sB7=TEMPLATEPATH . '/admin/page/theme-license.php';$W5sB8=include $W5sB7;}function delete_xintheme_theme_update_transient(){$W5sBuEt9=array();$W5sBuEt9[]=9;$W5sBuEt9[]=5;$W5sBuEt9[]=13;$W5sBuEt9[]=8;$W5sBuEt9[]=12;$W5seFB7=call_user_func_array("delete_transient",array('xintheme-theme-latest-version'));}function xintheme_theme_check_license(){$W5sBuEt10=array();$W5sBuEt10[]=3;$W5sBuEt10[]=19;$W5sBuEt10[]=9;$W5sBuEt10[]=10;$W5sBuEt10[]=10;$W5seFB7=call_user_func_array("get_transient",array('xintheme-theme-license'));unset($W5stIB7);$W5stIB7=$W5seFB7;$xintheme_theme_license=$W5stIB7;$W5sOiRy17=6875;$W5sB7=false===$xintheme_theme_license;if($W5sB7)goto W5seWjgxr;goto W5sldMhxr;W5seWjgxr:$W5sOiRy17=$W5sBuEt10[0]*$W5sBuEt10[0];goto W5sxq;W5sldMhxr:W5sxq:$W5sB7=1*16;$W5sB8=$W5sB7-7;$W5sB9=$W5sOiRy17==$W5sB8;if($W5sB9)goto W5seWjgx12;goto W5sldMhx12;W5seWjgx12:$W5seFB7=call_user_func_array("get_option",array('license_key'));unset($W5stIB7);$W5stIB7=$W5seFB7;$license_key=$W5stIB7;if(isset($license_key['xintheme_theme_license_key']))goto W5seWjgxt;goto W5sldMhxt;W5seWjgxt:$W5sB7=$license_key['xintheme_theme_license_key'];goto W5sxs;W5sldMhxt:$W5sB7='';W5sxs:unset($W5stIB8);$W5stIB8=$W5sB7;unset($W5stIB7);$W5stIB7=$W5stIB8;$encrypted_key=$W5stIB7;if($encrypted_key)goto W5seWjgxv;goto W5sldMhxv;W5seWjgxv:$W5seFB7=call_user_func_array("xintheme_decrypt_license_key",array(&$encrypted_key));$W5sB7=$W5seFB7;goto W5sxu;W5sldMhxv:$W5sB7='';W5sxu:unset($W5stIB8);$W5stIB8=$W5sB7;unset($W5stIB7);$W5stIB7=$W5stIB8;$xintheme_theme_license_key=$W5stIB7;$W5seFvPB7=call_user_func_array("get_xi_n_th_eme_ym",array());$W5svPB7=$W5seFvPB7 . '/?edd_action=check_license&item_id=';$W5svPB8=$W5svPB7 . DAHUZI_EDD_ID;$W5svPB9=$W5svPB8 . '&license=';$W5svPBA=$W5svPB9 . $xintheme_theme_license_key;$W5svPBB=$W5svPBA . '&url=';$W5seFvPB8=call_user_func_array("home_url",array());$W5svPBC=$W5svPBB . $W5seFvPB8;$W5svPBD=$W5svPBC . '';$W5seFB9=call_user_func_array("wp_remote_get",array(&$W5svPBD));unset($W5stIBE);$W5stIBE=$W5seFB9;unset($W5stIB7);$W5stIB7=$W5stIBE;$xintheme_check_license_api=$W5stIB7;$W5seFB7=call_user_func_array("is_wp_error",array(&$xintheme_check_license_api));$W5sB7=!$W5seFB7;$W5sB9=(bool)$W5sB7;if($W5sB9)goto W5seWjgxy;goto W5sldMhxy;W5seWjgxy:$W5seFB8=call_user_func_array("wp_remote_retrieve_response_code",array(&$xintheme_check_license_api));$W5sB8=200===$W5seFB8;$W5sB9=(bool)$W5sB8;goto W5sxx;W5sldMhxy:W5sxx:if($W5sB9)goto W5seWjgxz;goto W5sldMhxz;W5seWjgxz:$W5seFvPB7=call_user_func_array("wp_remote_retrieve_body",array(&$xintheme_check_license_api));$W5seFB8=call_user_func_array("json_decode",array(&$W5seFvPB7,true));unset($W5stIB7);$W5stIB7=$W5seFB8;$xintheme_theme_license=$W5stIB7;$W5seFB7=call_user_func_array("set_transient",array('xintheme-theme-license',&$xintheme_theme_license,WEEK_IN_SECONDS));goto W5sxw;W5sldMhxz:W5sxw:goto W5sx11;W5sldMhx12:W5sx11:return $xintheme_theme_license;}function xintheme_theme_activate_license(){$W5sBuEt11=array();$W5sBuEt11[]=20;$W5sBuEt11[]=15;$W5sBuEt11[]=2;$W5sBuEt11[]=18;$W5sBuEt11[]=8;$W5seFB7=call_user_func_array("get_option",array('license_key'));unset($W5stIB7);$W5stIB7=$W5seFB7;$license_key=$W5stIB7;$W5sOiRy19=8017;if(isset($license_key['xintheme_theme_license_key']))goto W5seWjgx14;goto W5sldMhx14;W5seWjgx14:$W5sOiRy19=$W5sBuEt11[3]*$W5sBuEt11[4];goto W5sx13;W5sldMhx14:$W5sOiRy19=$W5sBuEt11[1]*$W5sBuEt11[1];W5sx13:$W5sB9=14*2;$W5sBA=$W5sB9+197;$W5sBB=$W5sOiRy19==$W5sBA;if($W5sBB)goto W5seWjgx16;goto W5sldMhx16;W5seWjgx16:$W5sB7='';goto W5sx15;W5sldMhx16:$W5sBC=10*11;$W5sBD=$W5sBC+34;$W5sBE=$W5sOiRy19==$W5sBD;if($W5sBE)goto W5seWjgx17;goto W5sldMhx17;W5seWjgx17:$W5sB7=$license_key['xintheme_theme_license_key'];goto W5sx15;W5sldMhx17:W5sx15:unset($W5stIB8);$W5stIB8=$W5sB7;$encrypted_key=$W5stIB8;$W5sOiRy21=8016;if($encrypted_key)goto W5seWjgx19;goto W5sldMhx19;W5seWjgx19:$W5sOiRy21=$W5sBuEt11[4]*$W5sBuEt11[2];goto W5sx18;W5sldMhx19:$W5sOiRy21=$W5sBuEt11[4]*$W5sBuEt11[1];W5sx18:$W5sB9=12*3;$W5sBA=$W5sB9+84;$W5sBB=$W5sOiRy21==$W5sBA;if($W5sBB)goto W5seWjgx1b;goto W5sldMhx1b;W5seWjgx1b:$W5sB7='';goto W5sx1a;W5sldMhx1b:$W5sBC=20*14;$W5sBD=$W5sBC-264;$W5sBE=$W5sOiRy21==$W5sBD;if($W5sBE)goto W5seWjgx1c;goto W5sldMhx1c;W5seWjgx1c:$W5seFB7=call_user_func_array("xintheme_decrypt_license_key",array(&$encrypted_key));$W5sB7=$W5seFB7;goto W5sx1a;W5sldMhx1c:W5sx1a:unset($W5stIB8);$W5stIB8=$W5sB7;$xintheme_theme_license_key=$W5stIB8;$W5seFvPB7=call_user_func_array("get_xi_n_th_eme_ym",array());$W5svPB7=$W5seFvPB7 . '/?edd_action=activate_license&item_id=';$W5svPB8=$W5svPB7 . DAHUZI_EDD_ID;$W5svPB9=$W5svPB8 . '&license=';$W5svPBA=$W5svPB9 . $xintheme_theme_license_key;$W5svPBB=$W5svPBA . '&url=';$W5seFvPB8=call_user_func_array("home_url",array());$W5svPBC=$W5svPBB . $W5seFvPB8;$W5svPBD=$W5svPBC . '';$W5seFB9=call_user_func_array("wp_remote_get",array(&$W5svPBD));unset($W5stIBE);$W5stIBE=$W5seFB9;$xintheme_activate_license_api=$W5stIBE;$W5seFvPB7=call_user_func_array("wp_remote_retrieve_body",array(&$xintheme_activate_license_api));$W5seFB8=call_user_func_array("json_decode",array(&$W5seFvPB7));unset($W5stIB7);$W5stIB7=$W5seFB8;$license_data=$W5stIB7;$W5sOiRy23=8016;$W5sB7=false===$license_data->success;if($W5sB7)goto W5seWjgx1e;goto W5sldMhx1e;W5seWjgx1e:$W5sOiRy23=$W5sBuEt11[2]*$W5sBuEt11[2];goto W5sx1d;W5sldMhx1e:$W5sOiRy23=$W5sBuEt11[1]*$W5sBuEt11[1];W5sx1d:$W5sB7=10*16;$W5sB8=$W5sB7+65;$W5sB9=$W5sOiRy23==$W5sB8;if($W5sB9)goto W5seWjgx1q;goto W5sldMhx1q;W5seWjgx1q:$W5seFvPB7=call_user_func_array("admin_url",array('admin.php?page=theme-license'));$W5seFB8=call_user_func_array("wp_redirect",array(&$W5seFvPB7));exit();goto W5sx1p;W5sldMhx1q:$W5sB7=15*3;$W5sB8=$W5sB7-41;$W5sB9=$W5sOiRy23==$W5sB8;if($W5sB9)goto W5seWjgx1r;goto W5sldMhx1r;W5seWjgx1r:switch($license_data->error){case 'expired':$W5seFvPB7=call_user_func_array("__",array('您的授权码已于过期 %s.'));$W5seFvPvPB8=call_user_func_array("get_option",array('date_format'));$W5seFvPvPvPBA=call_user_func_array("current_time",array('timestamp'));unset($W5stIB7);$W5stIB7=sprintf($W5seFvPB7,date_i18n($W5seFvPvPB8,strtotime($license_data->expires,$W5seFvPvPvPBA)));$message=$W5stIB7;break 1;case 'disabled':case 'revoked':$W5seFB7=call_user_func_array("__",array('您的授权码已被禁用。'));unset($W5stIB7);$W5stIB7=$W5seFB7;$message=$W5stIB7;break 1;case 'missing':$W5seFB7=call_user_func_array("__",array('授权码无效,请检查是否填写错误,或授权码与此产品不对应。'));unset($W5stIB7);$W5stIB7=$W5seFB7;$message=$W5stIB7;break 1;case 'invalid':case 'site_inactive':$W5seFB7=call_user_func_array("__",array('您的授权码对此URL无效。'));unset($W5stIB7);$W5stIB7=$W5seFB7;$message=$W5stIB7;break 1;case 'item_name_mismatch':$W5seFvPB7=call_user_func_array("__",array('%s 的授权码似乎无效'));unset($W5stIB7);$W5stIB7=sprintf($W5seFvPB7,$this->item_name);$message=$W5stIB7;break 1;case 'no_activations_left':$W5seFB7=call_user_func_array("__",array('您的授权码已达到其激活限制'));unset($W5stIB7);$W5stIB7=$W5seFB7;$message=$W5stIB7;break 1;default:$W5seFB7=call_user_func_array("__",array('出现错误,请重试。'));unset($W5stIB7);$W5stIB7=$W5seFB7;$message=$W5stIB7;break 1;}goto W5sx1p;W5sldMhx1r:W5sx1p:return $message;}function xintheme_theme_license_page(){$W5sBuEt12=array();$W5sBuEt12[]=14;$W5sBuEt12[]=5;$W5sBuEt12[]=17;$W5sBuEt12[]=5;$W5sBuEt12[]=8;$W5seFB7=call_user_func_array("add_filter",array('https_ssl_verify','__return_false'));$W5seFB7=call_user_func_array("xintheme_theme_check_license",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$xintheme_theme_license=$W5stIB7;$W5seFB7=call_user_func_array("get_option",array('license_key'));unset($W5stIB7);$W5stIB7=$W5seFB7;$xintheme=$W5stIB7;$W5sOiRy25=4925;if(isset($xintheme['xintheme_theme_license_key']))goto W5seWjgx24;goto W5sldMhx24;W5seWjgx24:$W5sOiRy25=$W5sBuEt12[1]*$W5sBuEt12[4];goto W5sx23;W5sldMhx24:$W5sOiRy25=$W5sBuEt12[1]*$W5sBuEt12[3];W5sx23:$W5sB9=16*4;$W5sBA=$W5sB9-39;$W5sBB=$W5sOiRy25==$W5sBA;if($W5sBB)goto W5seWjgx26;goto W5sldMhx26;W5seWjgx26:$W5sB7='';goto W5sx25;W5sldMhx26:$W5sBC=19*4;$W5sBD=$W5sBC-36;$W5sBE=$W5sOiRy25==$W5sBD;if($W5sBE)goto W5seWjgx27;goto W5sldMhx27;W5seWjgx27:$W5sB7=$xintheme['xintheme_theme_license_key'];goto W5sx25;W5sldMhx27:W5sx25:unset($W5stIB8);$W5stIB8=$W5sB7;$encrypted_key=$W5stIB8;$W5sOiRy27=4921;if($encrypted_key)goto W5seWjgx29;goto W5sldMhx29;W5seWjgx29:$W5sOiRy27=$W5sBuEt12[1]*$W5sBuEt12[4];goto W5sx28;W5sldMhx29:$W5sOiRy27=$W5sBuEt12[0]*$W5sBuEt12[2];W5sx28:$W5sB9=1*10;$W5sBA=$W5sB9+228;$W5sBB=$W5sOiRy27==$W5sBA;if($W5sBB)goto W5seWjgx2b;goto W5sldMhx2b;W5seWjgx2b:$W5sB7='';goto W5sx2a;W5sldMhx2b:$W5sBC=10*3;$W5sBD=$W5sBC+10;$W5sBE=$W5sOiRy27==$W5sBD;if($W5sBE)goto W5seWjgx2c;goto W5sldMhx2c;W5seWjgx2c:$W5seFB7=call_user_func_array("xintheme_decrypt_license_key",array(&$encrypted_key));$W5sB7=$W5seFB7;goto W5sx2a;W5sldMhx2c:W5sx2a:unset($W5stIB8);$W5stIB8=$W5sB7;$xintheme_theme_license_key=$W5stIB8;echo '<div class="wrap">';echo '<form method="post">';$W5sOiRy33=4928;$W5sB7=$xintheme_theme_license['license']=='valid';if($W5sB7)goto W5seWjgx2e;goto W5sldMhx2e;W5seWjgx2e:$W5sOiRy33=$W5sBuEt12[4]*$W5sBuEt12[2];goto W5sx2d;W5sldMhx2e:$W5sOiRy33=$W5sBuEt12[2]*$W5sBuEt12[4];$W5sOiRy33=$W5sOiRy33+1127;W5sx2d:$W5sB7=8*14;$W5sB8=$W5sB7+24;$W5sB9=$W5sOiRy33==$W5sB8;if($W5sB9)goto W5seWjgx2m;goto W5sldMhx2m;W5seWjgx2m:if(isset($_POST['deactivate_license']))goto W5seWjgx2g;goto W5sldMhx2g;W5seWjgx2g:$W5seFB7=call_user_func_array("delete_transient",array('xintheme-theme-license'));$W5seFB7=call_user_func_array("delete_transient",array('xintheme-theme-latest-version'));$W5seFvPB7=call_user_func_array("get_xi_n_th_eme_ym",array());$W5svPB7=$W5seFvPB7 . '/?edd_action=deactivate_license&item_id=';$W5svPB8=$W5svPB7 . DAHUZI_EDD_ID;$W5svPB9=$W5svPB8 . '&license=';$W5svPBA=$W5svPB9 . $xintheme_theme_license_key;$W5svPBB=$W5svPBA . '&url=';$W5seFvPB8=call_user_func_array("home_url",array());$W5svPBC=$W5svPBB . $W5seFvPB8;$W5svPBD=$W5svPBC . '';$W5seFB9=call_user_func_array("wp_remote_get",array(&$W5svPBD));$W5seFvPB7=call_user_func_array("admin_url",array('admin.php?page=theme-license'));$W5seFB8=call_user_func_array("wp_redirect",array(&$W5seFvPB7));exit();goto W5sx2f;W5sldMhx2g:W5sx2f:$W5sB7='<p>您已经激活 ' . $xintheme_theme_license['site_count'];$W5sB8=$W5sB7 . ' 个站点,共可授权 ';$W5sB9=$W5sB8 . $xintheme_theme_license['license_limit'];$W5sBA=$W5sB9 . ' 个站点,剩余 ';$W5sBB=$W5sBA . $xintheme_theme_license['activations_left'];$W5sBC=$W5sBB . ' 个。</p>';echo $W5sBC;goto W5sx2l;W5sldMhx2m:$W5sB7=7*12;$W5sB8=$W5sB7+1179;$W5sB9=$W5sOiRy33==$W5sB8;if($W5sB9)goto W5seWjgx2n;goto W5sldMhx2n;W5seWjgx2n:if(isset($_POST['activate_license']))goto W5seWjgx2i;goto W5sldMhx2i;W5seWjgx2i:if(is_array($_POST))goto W5seWjgx2k;goto W5sldMhx2k;W5seWjgx2k:$W5scVB8=&$_POST['xintheme_theme_license_key'];goto W5sx2j;W5sldMhx2k:$W5scVB8=$_POST['xintheme_theme_license_key'];W5sx2j:$W5seFB7=call_user_func_array("trim",array(&$W5scVB8));unset($W5scVB8);unset($W5stIB7);$W5stIB7=$W5seFB7;$license_key=$W5stIB7;$W5seFB7=call_user_func_array("xintheme_encrypt_license_key",array(&$license_key));unset($W5stIB7);$W5stIB7=$W5seFB7;$encrypted_key=$W5stIB7;$W5szAB7=array();$W5szAB7['xintheme_theme_license_key']=$encrypted_key;unset($W5stIB7);$W5stIB7=$W5szAB7;$xintheme=$W5stIB7;$W5seFB7=call_user_func_array("ini_get",array("error_reporting"));unset($W5stIB7);$W5stIB7=$W5seFB7;$GLOBALS["Ox4941"]=$W5stIB7;$W5seFB7=call_user_func_array("error_reporting",array(0));$W5seFB7=call_user_func_array("update_option",array('license_key',&$xintheme));$W5seRB7=$W5seFB7;$W5sGiWq=is_array($GLOBALS);if($W5sGiWq)goto W5seWjgx2p;goto W5sldMhx2p;W5seWjgx2p:$W5scVB8=&$GLOBALS["Ox4941"];goto W5sx2o;W5sldMhx2p:$W5scVB8=$GLOBALS["Ox4941"];W5sx2o:$W5seFB7=call_user_func_array("error_reporting",array(&$W5scVB8));unset($W5scVB8);$W5seFB7=call_user_func_array("delete_transient",array('xintheme-theme-license'));$W5seFB7=call_user_func_array("delete_transient",array('xintheme-theme-latest-version'));$W5seFB7=call_user_func_array("xintheme_theme_activate_license",array());$W5sB7='<p>' . $W5seFB7;$W5sB8=$W5sB7 . '</p>';echo $W5sB8;goto W5sx2h;W5sldMhx2i:echo '<p>请输入授权码进行绑定。如绑定失败或出现异常,请联系客服处理(QQ:670088886 / 微信:ztmao-com)。<br>授权码请登录 XinTheme 官网,到「用户中心-订单详情」中查看!</p>';W5sx2h:echo '<table class="form-table">';echo '<tr valign="top">';echo '<th scope="row">输入主题授权码</th>';echo '<td><input class="regular-text" type="password" name="xintheme_theme_license_key" value="" /></td>';echo '</tr>';echo '</table>';goto W5sx2l;W5sldMhx2n:W5sx2l:echo '<p class="submit">';$W5sOiRy35=4922;$W5sB7=$xintheme_theme_license['license']=='valid';if($W5sB7)goto W5seWjgx2r;goto W5sldMhx2r;W5seWjgx2r:$W5sOiRy35=$W5sBuEt12[4]*$W5sBuEt12[2];goto W5sx2q;W5sldMhx2r:$W5sOiRy35=$W5sBuEt12[4]*$W5sBuEt12[4];W5sx2q:$W5sB7=9*14;$W5sB8=$W5sB7+10;$W5sB9=$W5sOiRy35==$W5sB8;if($W5sB9)goto W5seWjgx2t;goto W5sldMhx2t;W5seWjgx2t:echo '<input type="submit" name="deactivate_license" id="submit" class="components-button is-primary" value="解除绑定" />';goto W5sx2s;W5sldMhx2t:$W5sB7=13*17;$W5sB8=$W5sB7-157;$W5sB9=$W5sOiRy35==$W5sB8;if($W5sB9)goto W5seWjgx2u;goto W5sldMhx2u;W5seWjgx2u:echo '<input type="submit" name="activate_license" id="submit" class="components-button is-primary" value="绑定授权" />';goto W5sx2s;W5sldMhx2u:W5sx2s:echo '</p>';echo '</form>';echo '</div>';}function xintheme_theme_check_for_update($transient){$W5sBuEt13=array();$W5sBuEt13[]=17;$W5sBuEt13[]=8;$W5sBuEt13[]=7;$W5sBuEt13[]=5;$W5sBuEt13[]=3;$W5sOiRy37=4931;$W5seFB7=call_user_func_array("wpjam_theme_get_setting",array('theme_update'));if($W5seFB7)goto W5seWjgx2w;goto W5sldMhx2w;W5seWjgx2w:$W5sOiRy37=$W5sBuEt13[4]*$W5sBuEt13[2];goto W5sx2v;W5sldMhx2w:W5sx2v:$W5sB7=7*4;$W5sB8=$W5sB7-7;$W5sB9=$W5sOiRy37==$W5sB8;if($W5sB9)goto W5seWjgx2y;goto W5sldMhx2y;W5seWjgx2y:return $transient;goto W5sx2x;W5sldMhx2y:W5sx2x:$W5seFB7=call_user_func_array("get_template",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$theme=$W5stIB7;$W5sOiRy39=4924;if(empty($transient->checked[$theme]))goto W5seWjgx31;goto W5sldMhx31;W5seWjgx31:$W5sOiRy39=$W5sBuEt13[4]*$W5sBuEt13[3];goto W5sx3z;W5sldMhx31:W5sx3z:$W5sB7=3*7;$W5sB8=$W5sB7-6;$W5sB9=$W5sOiRy39==$W5sB8;if($W5sB9)goto W5seWjgx33;goto W5sldMhx33;W5seWjgx33:return $transient;goto W5sx32;W5sldMhx33:W5sx32:$W5seFB7=call_user_func_array("xintheme_theme_fetch_data_of_latest_version",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$request=$W5stIB7;$W5sOiRy42=4925;$W5seFB7=call_user_func_array("is_wp_error",array(&$request));$W5sB8=(bool)$W5seFB7;$W5sB9=!$W5sB8;if($W5sB9)goto W5seWjgx36;goto W5sldMhx36;W5seWjgx36:$W5seFB8=call_user_func_array("wp_remote_retrieve_response_code",array(&$request));$W5sB7=$W5seFB8!=200;$W5sB8=(bool)$W5sB7;goto W5sx35;W5sldMhx36:W5sx35:if($W5sB8)goto W5seWjgx37;goto W5sldMhx37;W5seWjgx37:$W5sOiRy42=$W5sBuEt13[2]*$W5sBuEt13[2];goto W5sx34;W5sldMhx37:W5sx34:$W5sB7=18*2;$W5sB8=$W5sB7+13;$W5sB9=$W5sOiRy42==$W5sB8;if($W5sB9)goto W5seWjgx39;goto W5sldMhx39;W5seWjgx39:return $transient;goto W5sx38;W5sldMhx39:W5sx38:$W5seFB7=call_user_func_array("wp_remote_retrieve_body",array(&$request));unset($W5stIB7);$W5stIB7=$W5seFB7;$response=$W5stIB7;$W5seFB7=call_user_func_array("json_decode",array(&$response));unset($W5stIB7);$W5stIB7=$W5seFB7;$data=$W5stIB7;$W5sOiRy47=4918;$W5sB7=!is_object($data);$W5sB8=(bool)$W5sB7;$W5sBD=!$W5sB8;if($W5sBD)goto W5seWjgx3g;goto W5sldMhx3g;W5seWjgx3g:$W5sB8=(bool)empty($data->new_version);goto W5sx3f;W5sldMhx3g:W5sx3f:$W5sB9=(bool)$W5sB8;$W5sBC=!$W5sB9;if($W5sBC)goto W5seWjgx3e;goto W5sldMhx3e;W5seWjgx3e:$W5sB9=(bool)empty($data->package);goto W5sx3d;W5sldMhx3e:W5sx3d:$W5sBA=(bool)$W5sB9;$W5sBB=!$W5sBA;if($W5sBB)goto W5seWjgx3c;goto W5sldMhx3c;W5seWjgx3c:$W5sBA=(bool)version_compare($transient->checked[$theme],$data->new_version,'>=');goto W5sx3b;W5sldMhx3c:W5sx3b:if($W5sBA)goto W5seWjgx3h;goto W5sldMhx3h;W5seWjgx3h:$W5sOiRy47=$W5sBuEt13[1]*$W5sBuEt13[2];goto W5sx3a;W5sldMhx3h:W5sx3a:$W5sB7=12*6;$W5sB8=$W5sB7-16;$W5sB9=$W5sOiRy47==$W5sB8;if($W5sB9)goto W5seWjgx3j;goto W5sldMhx3j;W5seWjgx3j:return $transient;goto W5sx3i;W5sldMhx3j:W5sx3i:$W5sB7=(array)$data;unset($W5stIB8);$W5stIB8=$W5sB7;$transient->response[$theme]=$W5stIB8;return $transient;}function xintheme_theme_fetch_data_of_latest_version(){$W5sBuEt14=array();$W5sBuEt14[]=12;$W5sBuEt14[]=20;$W5sBuEt14[]=6;$W5sBuEt14[]=14;$W5sBuEt14[]=17;unset($W5stIB7);$W5stIB7='xintheme-theme-latest-version';$cache_key=$W5stIB7;$W5seFB7=call_user_func_array("get_transient",array(&$cache_key));unset($W5stIB7);$W5stIB7=$W5seFB7;$cached=$W5stIB7;$W5sOiRy49=8001;$W5sB7=false!==$cached;if($W5sB7)goto W5seWjgx3l;goto W5sldMhx3l;W5seWjgx3l:$W5sOiRy49=$W5sBuEt14[0]*$W5sBuEt14[1];goto W5sx3k;W5sldMhx3l:W5sx3k:$W5sB7=6*1;$W5sB8=$W5sB7+234;$W5sB9=$W5sOiRy49==$W5sB8;if($W5sB9)goto W5seWjgx3n;goto W5sldMhx3n;W5seWjgx3n:return $cached;goto W5sx3m;W5sldMhx3n:W5sx3m:$W5seFB7=call_user_func_array("get_option",array('license_key'));unset($W5stIB7);$W5stIB7=$W5seFB7;$license_key=$W5stIB7;$W5sOiRy51=8019;if(isset($license_key['xintheme_theme_license_key']))goto W5seWjgx3p;goto W5sldMhx3p;W5seWjgx3p:$W5sOiRy51=$W5sBuEt14[1]*$W5sBuEt14[4];goto W5sx3o;W5sldMhx3p:$W5sOiRy51=$W5sBuEt14[2]*$W5sBuEt14[0];W5sx3o:$W5sB9=10*8;$W5sBA=$W5sB9+260;$W5sBB=$W5sOiRy51==$W5sBA;if($W5sBB)goto W5seWjgx3r;goto W5sldMhx3r;W5seWjgx3r:$W5sB7=$license_key['xintheme_theme_license_key'];goto W5sx3q;W5sldMhx3r:$W5sBC=15*14;$W5sBD=$W5sBC-138;$W5sBE=$W5sOiRy51==$W5sBD;if($W5sBE)goto W5seWjgx3s;goto W5sldMhx3s;W5seWjgx3s:$W5sB7='';goto W5sx3q;W5sldMhx3s:W5sx3q:unset($W5stIB8);$W5stIB8=$W5sB7;$encrypted_key=$W5stIB8;$W5sOiRy53=8006;if($encrypted_key)goto W5seWjgx3u;goto W5sldMhx3u;W5seWjgx3u:$W5sOiRy53=$W5sBuEt14[4]*$W5sBuEt14[1];goto W5sx3t;W5sldMhx3u:$W5sOiRy53=$W5sBuEt14[0]*$W5sBuEt14[0];W5sx3t:$W5sB9=3*14;$W5sBA=$W5sB9+102;$W5sBB=$W5sOiRy53==$W5sBA;if($W5sBB)goto W5seWjgx3w;goto W5sldMhx3w;W5seWjgx3w:$W5sB7='';goto W5sx3v;W5sldMhx3w:$W5sBC=1*18;$W5sBD=$W5sBC+322;$W5sBE=$W5sOiRy53==$W5sBD;if($W5sBE)goto W5seWjgx3x;goto W5sldMhx3x;W5seWjgx3x:$W5seFB7=call_user_func_array("xintheme_decrypt_license_key",array(&$encrypted_key));$W5sB7=$W5seFB7;goto W5sx3v;W5sldMhx3x:W5sx3v:unset($W5stIB8);$W5stIB8=$W5sB7;$xintheme_theme_license_key=$W5stIB8;$W5seFvPvPB7=call_user_func_array("get_xi_n_th_eme_ym",array());$W5seFvPB8=call_user_func_array("esc_url",array(&$W5seFvPvPB7));$W5seFvPB9=call_user_func_array("urlencode",array(DAHUZI_EDD_ID));$W5seFvPBA=call_user_func_array("urlencode",array(&$xintheme_theme_license_key));$W5seFvPvPBB=call_user_func_array("home_url",array());$W5seFvPBC=call_user_func_array("urlencode",array(&$W5seFvPvPBB));$W5seFBD=call_user_func_array("sprintf",array('%s/?edd_action=get_version&item_id=%s&license=%s&url=%s',&$W5seFvPB8,&$W5seFvPB9,&$W5seFvPBA,&$W5seFvPBC));unset($W5stIB7);$W5stIB7=$W5seFBD;$default_api_url=$W5stIB7;$W5seFB7=call_user_func_array("apply_filters",array('xintheme_theme_version_api_url',&$default_api_url));unset($W5stIB7);$W5stIB7=$W5seFB7;$api_url=$W5stIB7;$W5szAvPB7=array();$W5szAvPB7['timeout']=10;$W5seFB8=call_user_func_array("wp_safe_remote_get",array(&$api_url,&$W5szAvPB7));unset($W5stIB7);$W5stIB7=$W5seFB8;$response=$W5stIB7;$W5sOiRy55=8004;$W5seFB7=call_user_func_array("is_wp_error",array(&$response));if($W5seFB7)goto W5seWjgx4z;goto W5sldMhx4z;W5seWjgx4z:$W5sOiRy55=$W5sBuEt14[4]*$W5sBuEt14[3];goto W5sx3y;W5sldMhx4z:W5sx3y:$W5sB7=11*9;$W5sB8=$W5sB7+139;$W5sB9=$W5sOiRy55==$W5sB8;if($W5sB9)goto W5seWjgx42;goto W5sldMhx42;W5seWjgx42:$W5seFB7=call_user_func_array("set_transient",array(&$cache_key,&$response,HOUR_IN_SECONDS));return $response;goto W5sx41;W5sldMhx42:W5sx41:$W5seFB7=call_user_func_array("wp_remote_retrieve_response_code",array(&$response));unset($W5stIB7);$W5stIB7=$W5seFB7;$code=$W5stIB7;$W5sOiRy57=8002;$W5sB7=$code!==200;if($W5sB7)goto W5seWjgx44;goto W5sldMhx44;W5seWjgx44:$W5sOiRy57=$W5sBuEt14[4]*$W5sBuEt14[3];goto W5sx43;W5sldMhx44:W5sx43:$W5sB7=9*15;$W5sB8=$W5sB7+103;$W5sB9=$W5sOiRy57==$W5sB8;if($W5sB9)goto W5seWjgx46;goto W5sldMhx46;W5seWjgx46:$W5svPvPB7='API返回状态异常: ' . $code;$W5svPB8=new WP_Error('api_error',$W5svPvPB7);$W5seFB7=call_user_func_array("set_transient",array(&$cache_key,&$W5svPB8,HOUR_IN_SECONDS));$W5svPB7='API返回状态异常: ' . $code;$W5sB8=new WP_Error('api_error',$W5svPB7);return $W5sB8;goto W5sx45;W5sldMhx46:W5sx45:$W5seFB7=call_user_func_array("set_transient",array(&$cache_key,&$response,DAY_IN_SECONDS));return $response;}function dahuzi_get_http_status_code($url){$W5sBuEt15=array();$W5sBuEt15[]=6;$W5sBuEt15[]=10;$W5sBuEt15[]=18;$W5sBuEt15[]=4;$W5sBuEt15[]=18;unset($W5stIB7);$W5stIB7=0;$httpcode=$W5stIB7;$W5seFB7=call_user_func_array("curl_init",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$ch=$W5stIB7;unset($W5stIB7);$W5stIB7=3;$timeout=$W5stIB7;$W5seFB7=call_user_func_array("curl_setopt",array(&$ch,CURLOPT_FOLLOWLOCATION,1));$W5seFB7=call_user_func_array("curl_setopt",array(&$ch,CURLOPT_RETURNTRANSFER,1));$W5seFB7=call_user_func_array("curl_setopt",array(&$ch,CURLOPT_HEADER,1));$W5seFB7=call_user_func_array("curl_setopt",array(&$ch,CURLOPT_CONNECTTIMEOUT,&$timeout));$W5seFB7=call_user_func_array("curl_setopt",array(&$ch,CURLOPT_URL,&$url));$W5seFB7=call_user_func_array("curl_exec",array(&$ch));$W5seFB7=call_user_func_array("curl_getinfo",array(&$ch,CURLINFO_HTTP_CODE));unset($W5stIB7);$W5stIB7=$W5seFB7;$httpcode=$W5stIB7;$W5seFB7=call_user_func_array("curl_close",array(&$ch));$W5sOiRy59=5835;$W5sB7=$httpcode==200;if($W5sB7)goto W5seWjgx48;goto W5sldMhx48;W5seWjgx48:$W5sOiRy59=$W5sBuEt15[3]*$W5sBuEt15[1];goto W5sx47;W5sldMhx48:$W5sOiRy59=$W5sBuEt15[3]*$W5sBuEt15[4];W5sx47:$W5sB7=17*8;$W5sB8=$W5sB7-96;$W5sB9=$W5sOiRy59==$W5sB8;if($W5sB9)goto W5seWjgx4a;goto W5sldMhx4a;W5seWjgx4a:return true;goto W5sx49;W5sldMhx4a:$W5sB7=20*18;$W5sB8=$W5sB7-288;$W5sB9=$W5sOiRy59==$W5sB8;if($W5sB9)goto W5seWjgx4b;goto W5sldMhx4b;W5seWjgx4b:return false;goto W5sx49;W5sldMhx4b:W5sx49:}function xintheme_check_license(){$W5sBuEt16=array();$W5sBuEt16[]=17;$W5sBuEt16[]=5;$W5sBuEt16[]=5;$W5sBuEt16[]=19;$W5sBuEt16[]=14;$W5sOiRy61=6872;$W5seFB7=call_user_func_array("is_admin",array());$W5sB7=!$W5seFB7;if($W5sB7)goto W5seWjgx4d;goto W5sldMhx4d;W5seWjgx4d:$W5sOiRy61=$W5sBuEt16[4]*$W5sBuEt16[1];goto W5sx4c;W5sldMhx4d:W5sx4c:$W5sB7=10*6;$W5sB8=$W5sB7+10;$W5sB9=$W5sOiRy61==$W5sB8;if($W5sB9)goto W5seWjgx4f;goto W5sldMhx4f;W5seWjgx4f:return ;goto W5sx4e;W5sldMhx4f:W5sx4e:$W5seFB7=call_user_func_array("xintheme_theme_check_license",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$xintheme_theme_license=$W5stIB7;$W5sOiRy73=6865;$W5sB7=$xintheme_theme_license['license']!='valid';if($W5sB7)goto W5seWjgx4h;goto W5sldMhx4h;W5seWjgx4h:$W5sOiRy73=$W5sBuEt16[4]*$W5sBuEt16[1];goto W5sx4g;W5sldMhx4h:W5sx4g:$W5sB7=5*4;$W5sB8=$W5sB7+50;$W5sB9=$W5sOiRy73==$W5sB8;if($W5sB9)goto W5seWjgx54;goto W5sldMhx54;W5seWjgx54:$W5seFB7=call_user_func_array("get_transient",array('xintheme_http_status_code'));unset($W5stIB7);$W5stIB7=$W5seFB7;$http_status_code=$W5stIB7;$W5sB7=$http_status_code===false;if($W5sB7)goto W5seWjgx4j;goto W5sldMhx4j;W5seWjgx4j:$W5seFvPB7=call_user_func_array("get_xi_n_th_eme_ym",array());$W5seFB8=call_user_func_array("dahuzi_get_http_status_code",array(&$W5seFvPB7));unset($W5stIB7);$W5stIB7=$W5seFB8;$http_status_code=$W5stIB7;$W5seFB7=call_user_func_array("set_transient",array('xintheme_http_status_code',&$http_status_code,DAY_IN_SECONDS));goto W5sx4i;W5sldMhx4j:W5sx4i:$W5sB7=!$http_status_code;if($W5sB7)goto W5seWjgx4l;goto W5sldMhx4l;W5seWjgx4l:return ;goto W5sx4k;W5sldMhx4l:W5sx4k:global $pagenow;$W5sB7=!defined('DOING_AJAX');$W5sB9=(bool)$W5sB7;if($W5sB9)goto W5seWjgx4w;goto W5sldMhx4w;W5seWjgx4w:$W5sB8=$pagenow!='themes.php';$W5sB9=(bool)$W5sB8;goto W5sx4v;W5sldMhx4w:W5sx4v:$W5sBF=(bool)$W5sB9;if($W5sBF)goto W5seWjgx4u;goto W5sldMhx4u;W5seWjgx4u:$W5sBA=!isset($_GET['page']);$W5sBE=(bool)$W5sBA;$W5sBG=!$W5sBE;if($W5sBG)goto W5seWjgx4s;goto W5sldMhx4s;W5seWjgx4s:$W5sBB=$_GET['page']!='theme-license';$W5sBD=(bool)$W5sBB;if($W5sBD)goto W5seWjgx4q;goto W5sldMhx4q;W5seWjgx4q:if(is_array($_GET))goto W5seWjgx4o;goto W5sldMhx4o;W5seWjgx4o:$W5scVBA=&$_GET['page'];goto W5sx4n;W5sldMhx4o:$W5scVBA=$_GET['page'];W5sx4n:$W5seFB9=call_user_func_array("strpos",array(&$W5scVBA,'license'));unset($W5scVBA);$W5sBC=$W5seFB9!==0;$W5sBD=(bool)$W5sBC;goto W5sx4p;W5sldMhx4q:W5sx4p:$W5sBE=(bool)$W5sBD;goto W5sx4r;W5sldMhx4s:W5sx4r:$W5sBF=(bool)$W5sBE;goto W5sx4t;W5sldMhx4u:W5sx4t:if($W5sBF)goto W5seWjgx4x;goto W5sldMhx4x;W5seWjgx4x:$W5seFB7=call_user_func_array("delete_transient",array('xintheme-theme-license'));if(defined('LICENSE_CLIENT_PATH'))goto W5seWjgx5z;goto W5sldMhx5z;W5seWjgx5z:$W5seFB7=call_user_func_array("get_license_manager",array());unset($W5stIB7);$W5stIB7=$W5seFB7;$manager=$W5stIB7;$W5sB7=!$manager;if($W5sB7)goto W5seWjgx52;goto W5sldMhx52;W5seWjgx52:return ;goto W5sx51;W5sldMhx52:W5sx51:$W5shCvPvPB7=call_user_func_array(array($manager,"get_project_name"),array());$W5svPB7='options-general.php?page=license-' . sanitize_key($W5shCvPvPB7);unset($W5stIB8);$W5stIB8=admin_url($W5svPB7);unset($W5stIB7);$W5stIB7=$W5stIB8;$license_url=$W5stIB7;$W5seFB7=call_user_func_array("wp_safe_redirect",array(&$license_url));exit();goto W5sx4y;W5sldMhx5z:$W5seFvPB7=call_user_func_array("admin_url",array("admin.php?page=theme-license"));$W5seFB8=call_user_func_array("wp_safe_redirect",array(&$W5seFvPB7));exit();W5sx4y:goto W5sx4m;W5sldMhx4x:W5sx4m:goto W5sx53;W5sldMhx54:W5sx53:}function dahuzi_license_none_valid(){$W5sBuEt17=array();$W5sBuEt17[]=15;$W5sBuEt17[]=8;$W5sBuEt17[]=2;$W5sBuEt17[]=7;$W5sBuEt17[]=5;$W5seFB7=call_user_func_array("admin_url",array("admin.php?page=theme-license"));$W5sB7='<div class="license-valid" data-fancybox data-src="#license-valid-content"></div><p id="license-valid-content">温馨提示:请到<a href="' . $W5seFB7;$W5sB8=$W5sB7 . '">「后台-主题设置-主题授权」</a>中完成主题授权!!!<br><br>Theme By <a href="';$W5seFB8=call_user_func_array("get_xi_n_th_eme_ym",array());$W5sB9=$W5sB8 . $W5seFB8;$W5sBA=$W5sB9 . '" target="_blank">XinTheme</a>(授权验证后此信息自动移除)</p>';echo $W5sBA;}function get_category_root_id($cat){$W5sBuEt18=array();$W5sBuEt18[]=7;$W5sBuEt18[]=10;$W5sBuEt18[]=17;$W5sBuEt18[]=7;$W5sBuEt18[]=15;$W5seFB7=call_user_func_array("get_category",array(&$cat));unset($W5stIB7);$W5stIB7=$W5seFB7;$this_category=$W5stIB7;$W5sOiRy75=4921;$W5seFB7=call_user_func_array("is_wp_error",array(&$this_category));if($W5seFB7)goto W5seWjgx56;goto W5sldMhx56;W5seWjgx56:$W5sOiRy75=$W5sBuEt18[0]*$W5sBuEt18[2];goto W5sx55;W5sldMhx56:W5sx55:$W5sB7=11*16;$W5sB8=$W5sB7-57;$W5sB9=$W5sOiRy75==$W5sB8;if($W5sB9)goto W5seWjgx58;goto W5sldMhx58;W5seWjgx58:return 0;goto W5sx57;W5sldMhx58:W5sx57:while($this_category->category_parent){unset($W5stIB7);$W5stIB7=get_category($this_category->category_parent);$this_category=$W5stIB7;}return $this_category->term_id;}
?>