/* Decoded by unphp.net */ \xa\x9\x9\x9

";esc_attr_e("Muvipro License Options","idmuvi-core");echo "

\xa \x9
\x9 \x9";settings_fields("idmuvi_core_license");echo " \xa \x9 \x9\xa \x9 \x9\x9\x9 \x9 \x9 \x9\x9 \x9 \x9\x9\x9 \xa\xa\x9\x9\x9 \x9 \x9 \x9\x9\x9 \xa\x9\x9\x9 \x9 \x9 \x9 \x9 \x9\x9
\xa\x9 \x9\x9 \x9 ";esc_attr_e("License Key","idmuvi-core");echo " \x9 \x9 \x9\x9
\xa \x9\x9\x9\x9 \x9 \x9\x9 \x9\x9
\xa \x9\x9\x9 ";esc_attr_e("Activate License","idmuvi-core");echo "\x9 \x9 \x9 \x9\x9 \x9\x9";wp_nonce_field("idmuvi_core_license_nonce","idmuvi_core_license_nonce");echo " \x9\x9 \x9\x9\x9";if(!empty($sqgBU)&&"ok"===$sqgBU){goto fEEup;}echo " \x9 \x9\x9 \x9\x9 \x9 \x9";goto WN0TW;fEEup:echo " \x9 \x9 \x9 \x9\x9\x9\x9\x9\x9 \x9 \x9 \x9\x9\x9\x9";WN0TW:echo "\x9 \x9\x9\x9
\xa \x9\x9
\xa \xa ";}}if(!function_exists("idmuvi_core_register_option")){function idmuvi_core_register_option(){$CeawM=md5(idmuvi_core_get_home());register_setting("idmuvi_core_license","idmuvi_core_license_key".$CeawM,"sanitize_text_field");register_setting("idmuvi_core_license","idmuvi_core_license_status".$CeawM,"sanitize_text_field");}}add_action("admin_init","idmuvi_core_register_option");if(!function_exists("idmuvi_core_connect_fs")){function idmuvi_core_connect_fs(){global $wp_filesystem;$JJiIs=request_filesystem_credentials('');if(!(false===$JJiIs)){goto xDCJ3;}return false;xDCJ3:if(WP_Filesystem($JJiIs)){goto v_q4z;}request_filesystem_credentials('');return false;v_q4z:return true;}}if(!function_exists("idmuvi_core_de_license")){function idmuvi_core_de_license($PAKcj,$XW79V,$HGw8P="jshKjsnjHfbC6jjj"){$njtta=false;$Og8ca="AES-256-CBC";$Puqw_=$HGw8P;$iOQHB="XjskSjHSkkkJst";$f_Ccq=hash("sha256",$Puqw_);$qUHdo=substr(hash("sha256",$iOQHB),0,16);if("e"===$PAKcj){goto fMUA5;}if("d"===$PAKcj){goto yVwVw;}goto L9eH3;fMUA5:$njtta=openssl_encrypt($XW79V,$Og8ca,$f_Ccq,0,$qUHdo);$njtta=base64_encode($njtta);goto L9eH3;yVwVw:$njtta=openssl_decrypt(base64_decode($XW79V),$Og8ca,$f_Ccq,0,$qUHdo);L9eH3:return $njtta;}}if(!function_exists("idmuvi_core_remote_get")){function idmuvi_core_remote_get($tOUmI="check",$yfh_U=''){global $wp_version;if("check"===$tOUmI){goto Cu2LS;}if("activated"===$tOUmI){goto mLZ6d;}if("check_activation"===$tOUmI){goto XXFGs;}$KlCqP=esc_url_raw(add_query_arg($yfh_U,IDMUVI_API_URL_DEACTIVATED));goto SZ6KI;Cu2LS:$KlCqP=esc_url_raw(add_query_arg($yfh_U,IDMUVI_API_URL_CHECK));goto SZ6KI;mLZ6d:$KlCqP=esc_url_raw(add_query_arg($yfh_U,IDMUVI_API_URL));goto SZ6KI;XXFGs:$KlCqP=esc_url_raw(add_query_arg($yfh_U,IDMUVI_API_URL_CHECK_ACTIVATION));SZ6KI:$PYETh=wp_remote_get($KlCqP,array("timeout"=>60,"sslverify"=>true,"httpversion"=>"1.1","headers"=>array("Accept"=>"application/json"),"user-agent"=>"WordPress/".$wp_version."; ".home_url()));$VuNOX='';if(is_wp_error($PYETh)||200!==wp_remote_retrieve_response_code($PYETh)){goto GGOQJ;}$hioeM=json_decode(wp_remote_retrieve_body($PYETh));if(is_wp_error($hioeM)){goto WMsUt;}if(!("ok"!==$hioeM->code)){goto acRo6;}switch($hioeM->code){case "license_empty":$VuNOX=__("Empty or invalid license key submitted.","idmuvi-core");goto Fb_zg;case "license_not_found":$VuNOX=__("License key not found on our server.","idmuvi-core");goto Fb_zg;case "license_disabled":$VuNOX=__("License key has been disabled.","idmuvi-core");goto Fb_zg;case "license_expired":$VuNOX=__("Your license key expired on","idmuvi-core")." ".date_i18n(get_option("date_format"),strtotime($hioeM->expires,current_time("timestamp")));goto Fb_zg;case "activation_server_error":$VuNOX=__("Activation server error.","idmuvi-core");goto Fb_zg;case "invalid_input":$VuNOX=__("Activation failed: invalid input.","idmuvi-core");goto Fb_zg;case "no_spare_activations":$VuNOX=__("No more activations allowed. You must buy new license key.","idmuvi-core");goto Fb_zg;case "no_activation_found":$VuNOX=__("No activation found for this installation.","idmuvi-core");goto Fb_zg;case "no_reactivation_allowed":$VuNOX=__("Re-activation is not allowed.","idmuvi-core");goto Fb_zg;case "other_error":$VuNOX=__("Error returned from activation server.","idmuvi-core");goto Fb_zg;default:$VuNOX=__("Other Error.","idmuvi-core");goto Fb_zg;}RIfT6:Fb_zg:acRo6:if(!("ok"===$hioeM->code)){goto tqFLD;}if(!("1"!==$hioeM->scheme_id&&"2"!==$hioeM->scheme_id&&"3"!==$hioeM->scheme_id)){goto bM8AF;}$VuNOX=__("This license not for this product.","idmuvi-core");bM8AF:tqFLD:goto zd5YB;WMsUt:$VuNOX=$hioeM->get_error_message();zd5YB:goto DjXBT;GGOQJ:if(is_wp_error($PYETh)){goto UGC4R;}$VuNOX=__("An error occurred, please try again.","idmuvi-core");goto v78a0;UGC4R:$VuNOX=$PYETh->get_error_message();v78a0:DjXBT:return $VuNOX;}}if(!function_exists("idmuvi_core_activate_license")){function idmuvi_core_activate_license(){global $wp_filesystem;if(!isset($_POST["idmuvi_core_license_activate"])){goto lTNbL;}$QJScU=!empty($_POST["idmuvi_core_license_key"])?sanitize_text_field(wp_unslash($_POST["idmuvi_core_license_key"])):'';$kaHcb=idmuvi_core_get_home();if(check_admin_referer("idmuvi_core_license_nonce","idmuvi_core_license_nonce")){goto S8og8;}return;S8og8:$yfh_U=array("key"=>$QJScU);$VuNOX=idmuvi_core_remote_get("check",$yfh_U);if(empty($VuNOX)){goto TqYAb;}$base_url=admin_url("plugins.php?page=".IDMUVI_PLUGIN_LICENSE_PAGE);$Otfls=add_query_arg(array("idmuvi_core_activation"=>"false","message"=>rawurlencode($VuNOX)),$base_url);wp_safe_redirect($Otfls);exit;goto d_CSz;TqYAb:$yfh_U=array("key"=>$QJScU,"request[url]"=>esc_url($kaHcb));$VuNOX=idmuvi_core_remote_get("activated",$yfh_U);if(empty($VuNOX)){goto k5WzI;}$base_url=admin_url("plugins.php?page=".IDMUVI_PLUGIN_LICENSE_PAGE);$Otfls=add_query_arg(array("idmuvi_core_activation"=>"false","message"=>rawurlencode($VuNOX)),$base_url);wp_safe_redirect($Otfls);exit;goto GKxP2;k5WzI:$CeawM=md5(idmuvi_core_get_home());$iq706=idmuvi_core_de_license("e",$QJScU,$CeawM);update_option("idmuvi_core_license_key".$CeawM,$iq706);update_option("idmuvi_core_license_status".$CeawM,"ok");$JtzNQ=md5("idmuvi_core");$VX1IK=idmuvi_core_de_license("e",$QJScU,$JtzNQ);update_option("_trasient_timeout_popurl_ls_".$JtzNQ,$VX1IK);$fn2eG=array();$kYlcr["sts"]="ok";$fn2eG[]=$kYlcr;$gJG86=wp_upload_dir();if(empty($gJG86["basedir"])){goto Nt08D;}if(!idmuvi_core_connect_fs()){goto bv0DN;}$zX2UU=$gJG86["basedir"]."/".$CeawM;$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$iq706.".json";if($wp_filesystem->is_dir($zX2UU)){goto m3XH1;}$ohFhq=defined("FS_CHMOD_DIR")?FS_CHMOD_DIR:fileperms(WP_CONTENT_DIR)&0777|0755;if($wp_filesystem->mkdir($zX2UU,$ohFhq)){goto FG1hJ;}exit("Can't create license directory. Please check your folder permission. Make sure your permissions folder 0755 or 0777.");FG1hJ:m3XH1:$wp_filesystem->put_contents($HtVvS,wp_json_encode($fn2eG,JSON_PRETTY_PRINT));bv0DN:Nt08D:wp_safe_redirect(admin_url("plugins.php?page=".IDMUVI_PLUGIN_LICENSE_PAGE));exit;GKxP2:d_CSz:lTNbL:}}add_action("admin_init","idmuvi_core_activate_license");if(!function_exists("idmuvi_core_deactivate_license")){function idmuvi_core_deactivate_license(){global $wp_filesystem;if(!isset($_POST["idmuvi_core_license_deactivate"])){goto GOW4t;}$QJScU=!empty($_POST["idmuvi_core_license_key"])?sanitize_text_field(wp_unslash($_POST["idmuvi_core_license_key"])):'';$kaHcb=idmuvi_core_get_home();if(check_admin_referer("idmuvi_core_license_nonce","idmuvi_core_license_nonce")){goto NufFJ;}return;NufFJ:$yfh_U=array("key"=>$QJScU);$VuNOX=idmuvi_core_remote_get("check",$yfh_U);if(empty($VuNOX)){goto Phg9i;}$base_url=admin_url("plugins.php?page=".IDMUVI_PLUGIN_LICENSE_PAGE);$Otfls=add_query_arg(array("idmuvi_core_activation"=>"false","message"=>rawurlencode($VuNOX)),$base_url);wp_safe_redirect($Otfls);exit;goto wLisR;Phg9i:$yfh_U=array("key"=>$QJScU,"request[url]"=>esc_url($kaHcb));idmuvi_core_remote_get("deactivated",$yfh_U);$CeawM=md5(idmuvi_core_get_home());$iq706=idmuvi_core_de_license("e",$QJScU,$CeawM);update_option("idmuvi_core_license_key".$CeawM,'');update_option("idmuvi_core_license_status".$CeawM,'');$JtzNQ=md5("idmuvi_core");update_option("_trasient_timeout_popurl_ls_".$JtzNQ,'');$gJG86=wp_upload_dir();if(empty($gJG86["basedir"])){goto Dod5Q;}if(!idmuvi_core_connect_fs()){goto ZVTqg;}$zX2UU=$gJG86["basedir"]."/".$CeawM;if(!$wp_filesystem->exists($zX2UU)){goto M4MgM;}$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$iq706.".json";if(!$wp_filesystem->exists($HtVvS)){goto nGmxu;}$wp_filesystem->delete($HtVvS,false,"f");nGmxu:M4MgM:ZVTqg:Dod5Q:wp_safe_redirect(admin_url("plugins.php?page=".IDMUVI_PLUGIN_LICENSE_PAGE));exit;wLisR:GOW4t:}}add_action("admin_init","idmuvi_core_deactivate_license");if(!function_exists("idmuvi_core_check_license")){function idmuvi_core_check_license(){$DXR3t=get_transient(md5("idmuvi_core"));if(!(false===$DXR3t)){goto zfeSs;}global $wp_filesystem,$wp_version;$CeawM=md5(idmuvi_core_get_home());$JtzNQ=md5("idmuvi_core");$QJScU=trim(get_option("idmuvi_core_license_key".$CeawM));$iq706=idmuvi_core_de_license("e",$QJScU,$CeawM);$Dd0g8=idmuvi_core_de_license("d",$QJScU,$CeawM);$kaHcb=str_replace("/",'',esc_url(idmuvi_core_get_home()));$yfh_U=array("key"=>esc_attr($Dd0g8),"request[url]"=>esc_attr($kaHcb));$KlCqP=esc_url_raw(add_query_arg($yfh_U,IDMUVI_API_URL_CHECK_ACTIVATION));$PYETh=wp_remote_get($KlCqP,array("timeout"=>60,"sslverify"=>true,"httpversion"=>"1.1","headers"=>array("Accept"=>"application/json"),"user-agent"=>"WordPress/".$wp_version."; ".home_url()));if(is_wp_error($PYETh)||200!==wp_remote_retrieve_response_code($PYETh)){goto dDNHw;}$hioeM=json_decode(wp_remote_retrieve_body($PYETh));if(is_wp_error($hioeM)){goto CLq9E;}$GKdG1=7*24*HOUR_IN_SECONDS;set_transient(md5("idmuvi_core"),true,7*24*HOUR_IN_SECONDS);if(!("ok"!==$hioeM->code)){goto n6RpG;}switch($hioeM->code){case "license_empty":update_option("idmuvi_core_license_key".$CeawM,'');update_option("idmuvi_core_license_status".$CeawM,'');update_option("_trasient_timeout_popurl_ls_".$JtzNQ,'');$gJG86=wp_upload_dir();if(empty($gJG86["basedir"])){goto ep1JI;}if(!idmuvi_core_connect_fs()){goto s0WJE;}$zX2UU=$gJG86["basedir"]."/".$CeawM;if(!$wp_filesystem->exists($zX2UU)){goto s3qlN;}$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$iq706.".json";if(!$wp_filesystem->exists($HtVvS)){goto UKZRq;}$wp_filesystem->delete($HtVvS,false,"f");UKZRq:s3qlN:s0WJE:ep1JI:goto VOsgW;case "license_not_found":$CeawM=md5(idmuvi_core_get_home());update_option("idmuvi_core_license_key".$CeawM,'');update_option("idmuvi_core_license_status".$CeawM,'');update_option("_trasient_timeout_popurl_ls_".$JtzNQ,'');$gJG86=wp_upload_dir();if(empty($gJG86["basedir"])){goto WebI7;}if(!idmuvi_core_connect_fs()){goto nFSEu;}$zX2UU=$gJG86["basedir"]."/".$CeawM;if(!$wp_filesystem->exists($zX2UU)){goto Z7YAo;}$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$iq706.".json";if(!$wp_filesystem->exists($HtVvS)){goto TWOrw;}$wp_filesystem->delete($HtVvS,false,"f");TWOrw:Z7YAo:nFSEu:WebI7:goto VOsgW;case "no_activation_found":$CeawM=md5(idmuvi_core_get_home());update_option("idmuvi_core_license_key".$CeawM,'');update_option("idmuvi_core_license_status".$CeawM,'');update_option("_trasient_timeout_popurl_ls_".$JtzNQ,'');$gJG86=wp_upload_dir();if(empty($gJG86["basedir"])){goto bt1Tj;}if(!idmuvi_core_connect_fs()){goto bc41u;}$zX2UU=$gJG86["basedir"]."/".$CeawM;if(!$wp_filesystem->exists($zX2UU)){goto jsxSg;}$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$iq706.".json";if(!$wp_filesystem->exists($HtVvS)){goto zspiD;}$wp_filesystem->delete($HtVvS,false,"f");zspiD:jsxSg:bc41u:bt1Tj:goto VOsgW;case "license_disabled":$CeawM=md5(idmuvi_core_get_home());update_option("idmuvi_core_license_key".$CeawM,'');update_option("idmuvi_core_license_status".$CeawM,'');update_option("_trasient_timeout_popurl_ls_".$JtzNQ,'');$gJG86=wp_upload_dir();if(empty($gJG86["basedir"])){goto gyJ1T;}if(!idmuvi_core_connect_fs()){goto ylAkJ;}$zX2UU=$gJG86["basedir"]."/".$CeawM;if(!$wp_filesystem->exists($zX2UU)){goto XKsrz;}$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$iq706.".json";if(!$wp_filesystem->exists($HtVvS)){goto IW3Ur;}$wp_filesystem->delete($HtVvS,false,"f");IW3Ur:XKsrz:ylAkJ:gyJ1T:goto VOsgW;}yp9VQ:VOsgW:n6RpG:goto uqzq6;CLq9E:$GKdG1=3*24*HOUR_IN_SECONDS;$VuNOX=$hioeM->get_error_message();uqzq6:goto unK6Y;dDNHw:if(is_wp_error($PYETh)){goto cjxBm;}$VuNOX=__("An error occurred, please try again.","idmuvi-core");goto N2aij;cjxBm:$VuNOX=$PYETh->get_error_message();N2aij:unK6Y:set_transient(md5("idmuvi_core"),true,$GKdG1);zfeSs:}}add_action("admin_init","idmuvi_core_check_license");if(!function_exists("idmuvi_jsn_url")){function idmuvi_jsn_url(){$CeawM=md5(idmuvi_core_get_home());$QJScU=trim(get_option("idmuvi_core_license_key".$CeawM));$gJG86=wp_upload_dir();if(!empty($gJG86["basedir"])){goto PMjR0;}return "failed";goto EzpB7;PMjR0:$zX2UU=$gJG86["basedir"]."/".$CeawM;if(@file_exists($zX2UU)){goto kaYrK;}return "failed";goto TZI3V;kaYrK:$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$QJScU.".json";if(@file_exists($HtVvS)){goto jUiJg;}return "failed";goto UmV5M;jUiJg:return "success";UmV5M:TZI3V:EzpB7:}}add_filter("idmuvi_jsn_url_filter","idmuvi_jsn_url",10,3);if(!function_exists("idmuvi_core_admin_notices")){function idmuvi_core_admin_notices(){if(!(isset($_GET["idmuvi_core_activation"])&&!empty($_GET["message"]))){goto hZVSR;}switch($_GET["idmuvi_core_activation"]){case "false":$VuNOX=rawurlencode(sanitize_text_field(wp_unslash($_GET["message"])));echo " \x9\x9\x9
\x9\x9\x9\x9\x9\x9

";echo esc_html($VuNOX);echo "

\x9 \x9
\x9 \x9\x9";goto Bnf4w;case "true":default:echo " \x9 \x9
\xa\x9 \x9\x9

";echo esc_html_e("Success.","idmuvi-core");echo "

\xa\x9\x9
\x9 \x9";goto Bnf4w;}kQfEj:Bnf4w:hZVSR:}}add_action("admin_notices","idmuvi_core_admin_notices");$CeawM=md5(idmuvi_core_get_home());$QJScU=trim(get_option("idmuvi_core_license_key".$CeawM));$gJG86=wp_upload_dir();if(!empty($gJG86["basedir"])){goto qNaqd;}include_once IDMUVI_CORE_DIRNAME."lib/z_license.idmuvi-core.php";goto hLW9Z;qNaqd:$zX2UU=$gJG86["basedir"]."/".$CeawM;if(@file_exists($zX2UU)){goto BkPR6;}include_once IDMUVI_CORE_DIRNAME."lib/z_license.idmuvi-core.php";goto ZdzWZ;BkPR6:$HtVvS=$gJG86["basedir"]."/".$CeawM."/".$QJScU.".json";if(@file_exists($HtVvS)){goto VJIT_;}include_once IDMUVI_CORE_DIRNAME."lib/z_license.idmuvi-core.php";goto i0hfR;VJIT_:include_once IDMUVI_CORE_DIRNAME."lib/z_setting.idmuvi-core.php";include_once IDMUVI_CORE_DIRNAME."lib/movie/fixed.php";i0hfR:ZdzWZ:hLW9Z: ?>