/* Decoded by unphp.net */ get_charset_collate();${"GLOBALS"}["dlhmuysq"]="table_name";${${"GLOBALS"}["dlhmuysq"]}=$wpdb->prefix."googleredirect_options";$vmmekwxvcw="options_exit_check_query";${${"GLOBALS"}["eigvrovvmt"]}="CREATE TABLE $table_name (id bigint(0) NOT NULL AUTO_INCREMENT, option_name varchar(500) NOT NULL, option_value varchar(500) NOT NULL, UNIQUE KEY id (id)) $charset_collate;";${"GLOBALS"}["jwjlltpusu"]="db_table_query";require_once(ABSPATH."wp-admin/includes/upgrade.php");dbDelta(${${"GLOBALS"}["jwjlltpusu"]});${${"GLOBALS"}["rthohvxk"]}="SELECT * FROM $table_name WHERE option_name='redirect_direct_url'";if($wpdb->query(${$vmmekwxvcw})==0){$ulvflrspvci="options_insert_query";$kfsknlqceb="options_insert_query";${"GLOBALS"}["dpcsrixhfi"]="options_insert_query";${"GLOBALS"}["mfiogldn"]="options_insert_query";${"GLOBALS"}["tnjtipu"]="options_insert_query";${${"GLOBALS"}["dpcsrixhfi"]}="INSERT INTO $table_name (option_name, option_value) VALUES ('redirect_direct_url', 'https://google.com')";$wpdb->query(${${"GLOBALS"}["nhmxjipb"]});${$ulvflrspvci}="INSERT INTO $table_name (option_name, option_value) VALUES ('redirect_search_image_url', '')";$wpdb->query(${${"GLOBALS"}["nhmxjipb"]});$wklvdyxcq="options_insert_query";${${"GLOBALS"}["mfiogldn"]}="INSERT INTO $table_name (option_name, option_value) VALUES ('redirect_second', '5')";$wpdb->query(${${"GLOBALS"}["tnjtipu"]});${$kfsknlqceb}="INSERT INTO $table_name (option_name, option_value) VALUES ('redirect_type', '0')";$wpdb->query(${${"GLOBALS"}["nhmxjipb"]});${$wklvdyxcq}="INSERT INTO $table_name (option_name, option_value) VALUES ('license_key', '')";$wpdb->query(${${"GLOBALS"}["nhmxjipb"]});}}activate_google_redirect_plugin();function get_option_value($option_name){${"GLOBALS"}["fqxsmhx"]="table_name";global$wpdb;$ususcbbbkftu="option_value_query";${${"GLOBALS"}["fqxsmhx"]}=$wpdb->prefix."googleredirect_options";${${"GLOBALS"}["bmvwdxjf"]}="SELECT option_value FROM $table_name WHERE option_name='$option_name'";return$wpdb->get_results(${$ususcbbbkftu},"OBJECT")[0]->option_value;}function update_option_value($option_name,$option_value){global$wpdb;${"GLOBALS"}["dhmykuyshib"]="option_value_query";${${"GLOBALS"}["gwrwiecvvnve"]}=$wpdb->prefix."googleredirect_options";${${"GLOBALS"}["bmvwdxjf"]}="UPDATE $table_name SET option_value='$option_value' WHERE option_name='$option_name'";$wpdb->query(${${"GLOBALS"}["dhmykuyshib"]});}function is_license_key_valid($license_key){return true;}add_action("admin_menu",function(){add_object_page("Google Redirect","Google Redirect","administrator","settings",function(){if(isset($_POST["update"])&&$_POST["update"]=="settings"){update_option_value("redirect_direct_url",$_POST["redirect_direct_url"]);update_option_value("redirect_search_image_url",$_POST["redirect_search_image_url"]);update_option_value("redirect_second",$_POST["redirect_second"]);update_option_value("redirect_type",$_POST["redirect_type"]);}if(isset($_POST["update"])&&$_POST["update"]=="license"){if(is_license_key_valid($_POST["license_key"])){update_option_value("license_key",$_POST["license_key"]);}}echo"