Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php /* Plugin Name: LDAP/Active Directory Login for Intranet sites Plugin URI..

Decoded Output download

<?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */ 
 
 
require_once "mo_ldap_pages.php"; 
require "mo_ldap_support.php"; 
require "class-mo-ldap-customer-setup.php"; 
require "class-mo-ldap-utility.php"; 
require "class-mo-ldap-config.php"; 
require "class-mo-ldap-role-mapping.php"; 
error_reporting(E_ERROR); 
class Mo_Ldap_Local_Login 
{ 
    function __construct() 
    { 
        add_action("admin_menu", array($this, "mo_ldap_local_login_widget_menu")); 
        add_action("admin_init", array($this, "login_widget_save_options")); 
        add_action("init", array($this, "test_attribute_configuration")); 
        add_action("admin_enqueue_scripts", array($this, "mo_ldap_local_settings_style")); 
        add_action("admin_enqueue_scripts", array($this, "mo_ldap_local_settings_script")); 
        add_action("parse_request", array($this, "parse_sso_request")); 
        if (!(get_option("mo_ldap_local_enable_update_ldap") == 1)) { 
            goto rc; 
        } 
        add_action("profile_update", array($this, "update_profile")); 
        rc: 
        remove_action("admin_notices", array($this, "success_message")); 
        remove_action("admin_notices", array($this, "error_message")); 
        add_filter("query_vars", array($this, "plugin_query_vars")); 
        register_deactivation_hook(__FILE__, array($this, "mo_ldap_local_deactivate")); 
        register_uninstall_hook(__FILE__, "mo_ldap_local_uninstall"); 
        add_action("login_footer", "mo_ldap_local_link"); 
        add_action("show_user_profile", array($this, "show_user_profile")); 
        if (!(get_option("mo_ldap_local_authorized_users_only") == 1)) { 
            goto BH; 
        } 
        add_action("wp", array($this, "mo_ldap_local_login_redirect")); 
        BH: 
        if (!(get_option("mo_ldap_local_enable_login") == 1)) { 
            goto jF; 
        } 
        remove_filter("authenticate", "wp_authenticate_username_password", 20, 3); 
        add_filter("authenticate", array($this, "ldap_login"), 20, 3); 
        $vc = get_option("mo_ldap_local_redirect_to"); 
        if (!$vc) { 
            goto lM; 
        } 
        if ($vc == "homepage") { 
            goto xY; 
        } 
        if (!($vc == "custom")) { 
            goto yS; 
        } 
        $u7 = get_option("mo_ldap_local_custom_redirect"); 
        add_filter("login_redirect", create_function("$url,$query,$user", "return get_option("mo_ldap_local_custom_redirect");exit();"), 10, 3); 
        yS: 
        goto OY; 
        xY: 
        add_filter("login_redirect", create_function("$url,$query,$user", "return home_url();"), 10, 3); 
        OY: 
        lM: 
        jF: 
        register_activation_hook(__FILE__, array($this, "mo_ldap_activate")); 
    } 
    function mo_ldap_local_login_redirect() 
    { 
        if (is_user_logged_in()) { 
            goto lA; 
        } 
        auth_redirect(); 
        lA: 
    } 
    function show_user_profile($user) 
    { 
        $A9 = array(); 
        $v8 = wp_load_alloptions(); 
        ?> 
			<h3>Extra profile information</h3> 
 
				<table class="form-table"> 
 
					<tr> 
						<td><b><label for="user_dn">User DN</label></b></td> 
 
						<td> 
							<b><?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */  
        echo esc_attr(get_the_author_meta("mo_ldap_user_dn", $user->ID)); 
        ?> 
</b></td> 
						</td> 
						</tr> 
						<?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */  
        foreach ($v8 as $AU => $ab) { 
            if (strpos($AU, "mo_ldap_local_custom_attribute") === false) { 
                goto a3; 
            } 
            ?> 
								<tr> 
									<td><b><font color="#FF0000"></font><?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */  
            echo $ab; 
            ?> 
</b></td> 
									<?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */  
            if (is_array(get_user_meta($user->ID, $AU, true))) { 
                goto mN; 
            } 
            echo "<td>"; 
            echo get_user_meta($user->ID, $AU, true) . "<br>"; 
            echo "</td>"; 
            goto A5; 
            mN: 
            echo "<td>"; 
            foreach (get_user_meta($user->ID, $AU, true) as $qm) { 
                echo $qm . "<br>"; 
                mz: 
            } 
            cX: 
            echo "</td>"; 
            A5: 
            ?> 
								</tr><?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */  
            goto QM; 
            a3: 
            QM: 
            FB: 
        } 
        jr: 
        ?> 
				</table> 
			 
			<?php 
/* 
    Plugin Name: LDAP/Active Directory Login for Intranet sites 
    Plugin URI: http://miniorange.com 
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server. 
    Author: miniorange 
    Version: 21.2.2 
    Author URI: http://miniorange.com 
    */  
    } 
    function update_profile($q8, $x2) 
    { 
        $A9 = array(); 
        foreach ($_POST as $Q0 => $ab) { 
            if (strpos($Q0, "mo_ldap_local_custom_attribute") === false) { 
                goto dv; 
            } 
            $A9[str_replace("mo_ldap_local_custom_attribute_", '', $Q0)] = $ab; 
            goto K_; 
            dv: 
            K_: 
            BO: 
        } 
        PV: 
        $user = get_userdata($q8); 
        $wS = new Mo_Ldap_Local_Config(); 
        $wS->modify_user_info_in_ldap($user, $A9); 
        foreach ($A9 as $ke => $ab) { 
            update_user_meta($q8, "mo_ldap_local_custom_attribute_" . $ke, $ab); 
            of: 
        } 
        GP: 
    } 
    function ldap_login($user, $GG, $vJ) 
    { 
        if (!(empty($GG) || empty($vJ))) { 
            goto XJ; 
        } 
        $u8 = new WP_Error(); 
        if (!empty($GG)) { 
            goto TJ; 
        } 
        $u8->add("empty_username", __("<strong>ERROR</strong>: Email field is empty.")); 
        TJ: 
        if (!empty($vJ)) { 
            goto gd; 
        } 
        $u8->add("empty_password", __("<strong>ERROR</strong>: Password field is empty.")); 
        gd: 
        return $u8; 
        XJ: 
        if (!(get_option("mo_ldap_local_enable_both_login") && !empty(get_option("mo_ldap_local_enable_both_login")))) { 
            goto iR; 
        } 
        $user = false; 
        if (username_exists($GG)) { 
            goto S5; 
        } 
        if (!email_exists($GG)) { 
            goto O0; 
        } 
        $user = get_user_by("email", $GG); 
        O0: 
        goto AY; 
        S5: 
        $user = get_user_by("login", $GG); 
        AY: 
        if (!$user) { 
            goto jz; 
        } 
        $Yb = false; 
        if (get_option("mo_ldap_local_enable_both_login") == "all") { 
            goto mI; 
        } 
        if (!(get_option("mo_ldap_local_enable_both_login") == "admin" && user_can($user->ID, "manage_options"))) { 
            goto rz; 
        } 
        $Yb = true; 
        rz: 
        goto wE; 
        mI: 
        $Yb = true; 
        wE: 
        if (!($Yb && wp_check_password($vJ, $user->data->user_pass, $user->ID))) { 
            goto Ua; 
        } 
        return $user; 
        Ua: 
        jz: 
        iR: 
        $wS = new Mo_Ldap_Local_Config(); 
        $f_ = $wS->ldap_login($GG, $vJ); 
        if ($f_->statusMessage == "SUCCESS") { 
            goto rp; 
        } 
        if ($f_->statusMessage == "LDAP_NOT_RESPONDING") { 
            goto Uq; 
        } 
        if ($f_->statusMessage == "LDAP_ERROR") { 
            goto fW; 
        } 
        if ($f_->statusMessage == "CURL_ERROR") { 
            goto Sy; 
        } 
        if ($f_->statusMessage == "MCRYPT_ERROR") { 
            goto Uv; 
        } 
        $u8 = new WP_Error(); 
        $u8->add("incorrect_credentials", __("<strong>ERROR</strong>: Invalid username or incorrect password. Please try again.")); 
        return $u8; 
        goto TE; 
        Uv: 
        $u8 = new WP_Error(); 
        $u8->add("mcrypt_error", __("<strong>ERROR</strong>: <a target="_blank" href="http://php.net/manual/en/mcrypt.installation.php">PHP Mcrypt extension</a> is not installed or disabled.")); 
        return $u8; 
        TE: 
        goto V6; 
        Sy: 
        $u8 = new WP_Error(); 
        $u8->add("curl_error", __("<strong>ERROR</strong>: <a href="http://php.net/manual/en/curl.installation.php">PHP cURL extension</a> is not installed or disabled.")); 
        return $u8; 
        V6: 
        goto wG; 
        fW: 
        $u8 = new WP_Error(); 
        $u8->add("curl_error", __("<strong>ERROR</strong>: <a target="_blank" href="http://php.net/manual/en/ldap.installation.php">PHP LDAP extension</a> is not installed or disabled. Please enable it.")); 
        return $u8; 
        wG: 
        goto WT; 
        Uq: 
        $HM = get_option("mo_ldap_local_enable_fallback_login"); 
        if (!$HM) { 
            goto lw; 
        } 
        remove_filter("authenticate", array($this, "ldap_login"), 20, 3); 
        add_filter("authenticate", "wp_authenticate_username_password", 20, 3); 
        $user = wp_authenticate($GG, $vJ); 
        return $user; 
        lw: 
        WT: 
        goto OT; 
        rp: 
        $X2 = $f_->profile_attributes; 
        $user = false; 
        if (username_exists($GG)) { 
            goto iK; 
        } 
        if (email_exists($GG)) { 
            goto vR; 
        } 
        if (!(isset($X2["mail"]) && email_exists($X2["mail"]))) { 
            goto ir; 
        } 
        $user = get_user_by("email", $X2["mail"]); 
        ir: 
        goto B2; 
        vR: 
        $user = get_user_by("email", $GG); 
        B2: 
        goto lD; 
        iK: 
        $user = get_user_by("login", $GG); 
        lD: 
        if ($user) { 
            goto JK; 
        } 
        if (!get_option("mo_ldap_local_register_user")) { 
            goto er; 
        } 
        $w0 = $wS->get_user_ldap_info($GG); 
        $HM = get_option("mo_ldap_local_enable_fallback_login"); 
        if ($HM) { 
            goto vn; 
        } 
        $x6 = wp_generate_password(10, false); 
        goto s6; 
        vn: 
        $x6 = $vJ; 
        s6: 
        $X2 = $f_->profile_attributes; 
        $V4 = $X2["mail"]; 
        $lZ = $X2["fname"]; 
        $sk = $X2["lname"]; 
        $a4 = $X2["nickname"]; 
        $uI = array("user_login" => $GG, "user_email" => $V4, "first_name" => $lZ, "last_name" => $sk, "user_pass" => $x6); 
        if (empty($a4)) { 
            goto Lj; 
        } 
        $uI["nickname"] = $a4; 
        Lj: 
        if (empty(get_option("mo_ldap_local_display_name_attribute"))) { 
            goto Qb; 
        } 
        if (get_option("mo_ldap_local_display_name_attribute") == "nickname" && !empty($a4)) { 
            goto cP; 
        } 
        if (get_option("mo_ldap_local_display_name_attribute") == "email") { 
            goto a6; 
        } 
        if (get_option("mo_ldap_local_display_name_attribute") == "firstname") { 
            goto wD; 
        } 
        if (get_option("mo_ldap_local_display_name_attribute") == "firstlast") { 
            goto c8; 
        } 
        if (!(get_option("mo_ldap_local_display_name_attribute") == "lastfirst")) { 
            goto A2; 
        } 
        $uI["display_name"] = $sk . " " . $lZ; 
        A2: 
        goto JN; 
        c8: 
        $uI["display_name"] = $lZ . " " . $sk; 
        JN: 
        goto Le; 
        wD: 
        $uI["display_name"] = $lZ; 
        Le: 
        goto L3; 
        a6: 
        $uI["display_name"] = $V4; 
        L3: 
        goto bB; 
        cP: 
        $uI["display_name"] = $a4; 
        bB: 
        Qb: 
        $q8 = wp_insert_user($uI); 
        if (!is_wp_error($q8)) { 
            goto Co; 
        } 
        $u8 = new WP_Error(); 
        $u8->add("registration_error", __("<strong>ERROR</strong>: There was an error registering your account. Please try again.")); 
        return $u8; 
        goto IQ; 
        Co: 
        $user = get_user_by("login", $GG); 
        update_user_meta($user->ID, "mo_ldap_user_dn", $f_->userDn, false); 
        $A9 = $f_->attributeList; 
        foreach ($A9 as $ke => $ab) { 
            update_user_meta($user->ID, $ke, $ab); 
            AC: 
        } 
        U3: 
        do_action("mo_ldap_buddypress", $A9, $user); 
        if (!get_option("mo_ldap_local_enable_role_mapping")) { 
            goto Eb; 
        } 
        $po = new Mo_Ldap_Local_Role_Mapping(); 
        $yq = $po->get_member_of_attribute($GG, $vJ); 
        $po->mo_ldap_local_update_role_mapping($user->ID, $yq); 
        Eb: 
        $T6 = $_REQUEST["redirect_to"]; 
        $vc = get_option("mo_ldap_local_redirect_to"); 
        if (!($vc == "homepage")) { 
            goto Vf; 
        } 
        if (!($T6 == admin_url())) { 
            goto hY; 
        } 
        add_filter("login_redirect", create_function("$url,$query,$user", "return home_url();"), 10, 3); 
        hY: 
        Vf: 
        return $user; 
        IQ: 
        goto bO; 
        er: 
        $u8 = new WP_Error(); 
        $u8->add("registration_disabled_error", __("<strong>ERROR</strong>: Your Administrator has not enabled Auto Registration. Please contact your Administrator.")); 
        return $u8; 
        bO: 
        goto V4; 
        JK: 
        if (!(get_option("mo_ldap_local_enable_role_mapping") && !get_option("mo_ldap_local_keep_existing_user_roles"))) { 
            goto e7; 
        } 
        $po = new Mo_Ldap_Local_Role_Mapping(); 
        $yq = $po->get_member_of_attribute($GG, $vJ); 
        $po->mo_ldap_local_update_role_mapping($user->ID, $yq); 
        e7: 
        $HM = get_option("mo_ldap_local_enable_fallback_login"); 
        if (!$HM) { 
            goto H2; 
        } 
        wp_set_password($vJ, $user->ID); 
        H2: 
        update_user_meta($user->ID, "mo_ldap_user_dn", $f_->userDn, false); 
        if (!get_option("mo_ldap_local_enable_attr_mapping")) { 
            goto cm; 
        } 
        $YN["ID"] = $user->ID; 
        if (empty($X2["mail"])) { 
            goto z_; 
        } 
        $YN["user_email"] = $X2["mail"]; 
        z_: 
        if (empty($X2["first_name"])) { 
            goto d1; 
        } 
        $YN["first_name"] = $X2["fname"]; 
        d1: 
        if (empty($X2["last_name"])) { 
            goto On; 
        } 
        $YN["last_name"] = $X2["lname"]; 
        On: 
        wp_update_user($YN); 
        $A9 = $f_->attributeList; 
        foreach ($A9 as $ke => $ab) { 
            update_user_meta($user->ID, $ke, $ab); 
            Wv: 
        } 
        vC: 
        cm: 
        do_action("mo_ldap_buddypress", $A9, $user); 
        $T6 = $_REQUEST["redirect_to"]; 
        $vc = get_option("mo_ldap_local_redirect_to"); 
        if (!($vc == "homepage")) { 
            goto B6; 
        } 
        if (!($T6 == admin_url())) { 
            goto Go; 
        } 
        add_filter("login_redirect", create_function("$url,$query,$user", "return home_url();"), 10, 3); 
        Go: 
        B6: 
        return $user; 
        V4: 
        wp_redirect(site_url()); 
        die; 
        OT: 
    } 
    function mo_ldap_add_user($q8) 
    { 
        $cx = get_userdata($q8); 
        $wS = new Mo_Ldap_Local_Config(); 
        $wS->add_user($cx); 
    } 
    function mo_ldap_local_login_widget_menu() 
    { 
        add_menu_page("LDAP/AD Login for Intranet", "LDAP/AD Login for Intranet", "activate_plugins", "mo_ldap_local_login", array($this, "mo_ldap_local_login_widget_options"), plugin_dir_url(__FILE__) . "includes/images/miniorange_icon.png"); 
    } 
    function mo_ldap_local_login_widget_options() 
    { 
        update_option("mo_ldap_local_host_name", "https://auth.miniorange.com"); 
        $yx = array("server_url" => "ldap://58.64.132.235:389", "service_account_dn" => "cn=testuser,cn=Users,dc=miniorange,dc=com", "admin_password" => "XXXXXXXX", "dn_attribute" => "distinguishedName", "search_base" => "cn=Users,dc=miniorange,dc=com", "search_filter" => "(&(objectClass=*)(cn=?))", "test_username" => "testuser", "test_password" => "password"); 
        update_option("mo_ldap_local_default_config", $yx); 
        mo_ldap_local_settings(); 
    } 
    function login_widget_save_options() 
    { 
        if (!isset($_POST["option"])) { 
            goto u9; 
        } 
        if ($_POST["option"] == "mo_ldap_local_register_customer") { 
            goto zL; 
        } 
        if ($_POST["option"] == "mo_ldap_local_verify_customer") { 
            goto qb; 
        } 
        if ($_POST["option"] == "mo_ldap_local_enable") { 
            goto YT; 
        } 
        if ($_POST["option"] == "mo_ldap_local_tls_enable") { 
            goto NX; 
        } 
        if ($_POST["option"] == "mo_ldap_local_register_user") { 
            goto BS; 
        } 
        if ($_POST["option"] == "mo_ldap_local_save_config") { 
            goto EC; 
        } 
        if ($_POST["option"] == "mo_ldap_local_save_user_mapping") { 
            goto Or1; 
        } 
        if ($_POST["option"] == "mo_ldap_local_test_auth") { 
            goto cN; 
        } 
        if ($_POST["option"] == "mo_ldap_local_login_send_query") { 
            goto pk; 
        } 
        if ($_POST["option"] == "mo_ldap_local_resend_otp") { 
            goto bC; 
        } 
        if ($_POST["option"] == "mo_ldap_local_validate_otp") { 
            goto RZ; 
        } 
        if ($_POST["option"] == "mo_ldap_local_ping_server") { 
            goto A3; 
        } 
        if ($_POST["option"] == "mo_ldap_local_enable_role_mapping") { 
            goto ck; 
        } 
        if ($_POST["option"] == "mo_ldap_local_keep_existing_user_roles") { 
            goto xr; 
        } 
        if ($_POST["option"] == "mo_ldap_local_save_mapping") { 
            goto Qi; 
        } 
        if ($_POST["option"] == "mo_ldap_save_attribute_config") { 
            goto b0; 
        } 
        if ($_POST["option"] == "mo_ldap_user_management_config") { 
            goto ye; 
        } 
        if ($_POST["option"] == "mo_ldap_delete_custom_attribute") { 
            goto QN; 
        } 
        if ($_POST["option"] == "user_forgot_password") { 
            goto iC; 
        } 
        if ($_POST["option"] == "mo_ldap_local_fallback_login") { 
            goto RT; 
        } 
        if ($_POST["option"] == "mo_ldap_local_cancel") { 
            goto dQ; 
        } 
        if ($_POST["option"] == "mo_ldap_local_phone_verification") { 
            goto mg; 
        } 
        if ($_POST["option"] == "mo_ldap_local_authorized_users_only") { 
            goto SC; 
        } 
        if ($_POST["option"] == "mo_ldap_login_send_query") { 
            goto aY; 
        } 
        if ($_POST["option"] == "mo_ldap_local_enable_both_login") { 
            goto Vi; 
        } 
        if (!($_POST["option"] == "mo_ldap_local_save_login_redirect")) { 
            goto AE; 
        } 
        update_option("mo_ldap_local_redirect_to", $_POST["redirect_to"]); 
        if ($_POST["redirect_to"] == "profile") { 
            goto V0; 
        } 
        if ($_POST["redirect_to"] == "homepage") { 
            goto pu; 
        } 
        if (!($_POST["redirect_to"] == "custom")) { 
            goto Yq; 
        } 
        $u7 = $_POST["custom_redirect"]; 
        update_option("mo_ldap_local_custom_redirect", $u7); 
        update_option("mo_ldap_local_message", "Users will get redirected to custom redirect URL after login"); 
        Yq: 
        goto GR; 
        pu: 
        update_option("mo_ldap_local_message", "Users will get redirected to homepage after login"); 
        GR: 
        goto uv; 
        V0: 
        update_option("mo_ldap_local_message", "Users will get redirected to profile page after login"); 
        uv: 
        $this->show_success_message(); 
        AE: 
        goto Bg; 
        Vi: 
        update_option("mo_ldap_local_enable_both_login", isset($_POST["mo_ldap_local_enable_both_login"]) ? $_POST["mo_ldap_local_enable_both_login"] : ''); 
        if (get_option("mo_ldap_local_enable_both_login")) { 
            goto Bh; 
        } 
        update_option("mo_ldap_local_message", "Login with both LDAP and WordPress has been disabled."); 
        $this->show_success_message(); 
        goto SY; 
        Bh: 
        update_option("mo_ldap_local_message", "Login with both LDAP and WordPress has been enabled."); 
        $this->show_success_message(); 
        SY: 
        Bg: 
        goto jX; 
        aY: 
        $V4 = sanitize_text_field($_POST["query_email"]); 
        $pt = sanitize_text_field($_POST["query_phone"]); 
        $Uv = sanitize_text_field($_POST["query"]); 
        $MK = new Mo_Ldap_Local_Customer(); 
        $UZ = $MK->submit_contact_us($V4, $pt, $Uv); 
        if ($UZ) { 
            goto kD; 
        } 
        update_option("mo_ldap_local_message", "There was an error sending support query. Please us an email on <a href=mailto:[email protected]><b>[email protected]</b></a>."); 
        $this->show_error_message(); 
        goto VI; 
        kD: 
        update_option("mo_ldap_local_message", "Support query successfully sent.<br>In case we dont get back to you, there might be email delivery failures. You can send us email on <a href=mailto:[email protected]><b>[email protected]</b></a> in that case."); 
        $this->show_success_message(); 
        VI: 
        jX: 
        goto jE; 
        SC: 
        if (NddKoYsdasadJD()) { 
            goto Aq; 
        } 
        update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key."); 
        $this->show_error_message(); 
        goto Cy; 
        Aq: 
        update_option("mo_ldap_local_authorized_users_only", isset($_POST["authorized_users_only"]) ? $_POST["authorized_users_only"] : 0); 
        if (get_option("mo_ldap_local_authorized_users_only") == 1) { 
            goto Zo; 
        } 
        update_option("mo_ldap_local_message", "Protect Content by Login disabled."); 
        $this->show_success_message(); 
        goto gD; 
        Zo: 
        update_option("mo_ldap_local_message", "Protect Content by Login enabled."); 
        $this->show_success_message(); 
        gD: 
        Cy: 
        jE: 
        goto WV; 
        mg: 
        $pt = sanitize_text_field($_POST["phone_number"]); 
        $pt = str_replace(" ", '', $pt); 
        $Lf = "/[\+][0-9]{1,3}[0-9]{10}/"; 
        if (preg_match($Lf, $pt, $wH, PREG_OFFSET_CAPTURE)) { 
            goto BW; 
        } 
        update_option("mo_ldap_local_message", "Please enter the phone number in the following format: <b>+##country code## ##phone number##"); 
        $this->show_error_message(); 
        goto y_; 
        BW: 
        $HC = "SMS"; 
        $MK = new Mo_Ldap_Local_Customer(); 
        $P5 = json_decode($MK->send_otp_token($HC, $pt)); 
        if (!($P5->status == "SUCCESS")) { 
            goto RR; 
        } 
        if (get_option("mo_ldap_local_sms_count") != null) { 
            goto Iz; 
        } 
        update_option("mo_ldap_local_sms_count", 1); 
        update_option("mo_ldap_local_message", "One Time Passcode has been sent ( <b>1</b> ) for verification to " . $pt); 
        goto v0; 
        Iz: 
        update_option("mo_ldap_local_sms_count", get_option("mo_ldap_local_sms_count") + 1); 
        $TJ = get_option("mo_ldap_local_sms_count"); 
        update_option("mo_ldap_local_message", "Another One Time Passcode has been sent <b>(" . $TJ . ")</b> for verification to " . $pt); 
        v0: 
        update_option("mo_ldap_local_transactionId", $P5->txId); 
        $this->show_success_message(); 
        RR: 
        y_: 
        WV: 
        goto O6; 
        dQ: 
        delete_option("mo_ldap_local_admin_email"); 
        delete_option("mo_ldap_local_registration_status"); 
        delete_option("mo_ldap_local_verify_customer"); 
        delete_option("mo_ldap_local_email_count"); 
        delete_option("mo_ldap_local_sms_count"); 
        O6: 
        goto jp; 
        RT: 
        update_option("mo_ldap_local_enable_fallback_login", isset($_POST["mo_ldap_local_enable_fallback_login"]) ? $_POST["mo_ldap_local_enable_fallback_login"] : 0); 
        update_option("mo_ldap_local_message", "Fallback login using Wordpress password enabled"); 
        $this->show_success_message(); 
        jp: 
        goto Dw; 
        iC: 
        $Gl = get_option("mo_ldap_local_admin_email"); 
        $MK = new Mo_Ldap_Local_Customer(); 
        $fj = json_decode($MK->mo_ldap_local_forgot_password($Gl)); 
        if (!($fj->status == "SUCCESS")) { 
            goto AJ; 
        } 
        $Pv = "You password has been reset successfully. Please enter the new password sent to your registered mail here."; 
        update_option("mo_ldap_local_message", $Pv); 
        $this->show_success_message(); 
        AJ: 
        Dw: 
        goto uk; 
        QN: 
        $Ut = sanitize_text_field($_POST["custom_attribute_name"]); 
        $lu = "mo_ldap_local_custom_attribute_" . $Ut; 
        delete_option($lu); 
        update_option("mo_ldap_local_message", "Successfully delete custom attribute: <b>" . $Ut . "</b>"); 
        $this->show_success_message(); 
        uk: 
        goto Cc; 
        ye: 
        $nk = sanitize_text_field($_POST["mo_ldap_new_user_location"]); 
        $iM = sanitize_text_field($_POST["mo_ldap_objectclass_attribute"]); 
        update_option("mo_ldap_local_new_user_location", $nk); 
        update_option("mo_ldap_local_objectclass_attribute", $iM); 
        update_option("mo_ldap_local_message", "Successfully saved User Management Configuration"); 
        $this->show_success_message(); 
        Cc: 
        goto BL; 
        b0: 
        $A9 = array(); 
        foreach ($_POST as $Gy => $ab) { 
            if (strpos($Gy, "mo_ldap_local_custom_attribute") === false) { 
                goto J5; 
            } 
            array_push($A9, $Gy); 
            goto Iq; 
            J5: 
            Iq: 
            X_: 
        } 
        o3: 
        update_option("mo_ldap_local_enable_attr_mapping", isset($_POST["mo_ldap_local_enable_attr_mapping"]) ? $_POST["mo_ldap_local_enable_attr_mapping"] : 0); 
        update_option("mo_ldap_local_enable_update_ldap", isset($_POST["enable_update_ldap"]) ? $_POST["enable_update_ldap"] : 0); 
        $e1 = sanitize_text_field($_POST["mo_ldap_email_attribute"]); 
        $DJ = sanitize_text_field($_POST["mo_ldap_phone_attribute"]); 
        $x0 = sanitize_text_field($_POST["mo_ldap_fname_attribute"]); 
        $Ni = sanitize_text_field($_POST["mo_ldap_lname_attribute"]); 
        $VD = sanitize_text_field($_POST["mo_ldap_nickname_attribute"]); 
        $Yp = sanitize_text_field($_POST["mo_ldap_display_name_attribute"]); 
        $TX = isset($_POST["mo_ldap_user_enabled_attribute"]) ? $_POST["mo_ldap_user_enabled_attribute"] : 0; 
        update_option("mo_ldap_local_email_attribute", $e1); 
        update_option("mo_ldap_local_phone_attribute", $DJ); 
        update_option("mo_ldap_local_fname_attribute", $x0); 
        update_option("mo_ldap_local_lname_attribute", $Ni); 
        update_option("mo_ldap_local_nickname_attribute", $VD); 
        update_option("mo_ldap_local_display_name_attribute", $Yp); 
        update_option("mo_ldap_local_user_enabled_attribute", $TX); 
        foreach ($A9 as $ke) { 
            if (!(isset($_POST[$ke]) and $_POST[$ke] != '')) { 
                goto HX; 
            } 
            if (get_option($ke) == null) { 
                goto M1; 
            } 
            $uS = strtolower(sanitize_text_field($_POST[$ke])); 
            goto fx; 
            M1: 
            $uS = "mo_ldap_local_custom_attribute_" . strtolower(sanitize_text_field($_POST[$ke])); 
            fx: 
            update_option($uS, strtolower(sanitize_text_field($_POST[$ke]))); 
            HX: 
            jC: 
        } 
        t4: 
        update_option("mo_ldap_local_message", "Successfully saved LDAP Attribute Configuration"); 
        $this->show_success_message(); 
        BL: 
        goto jD; 
        Qi: 
        $Nt = 0; 
        $MX = 1; 
        HE: 
        if (!(isset($_POST["mapping_key_" . $MX]) && isset($_POST["mapping_value_" . $MX]))) { 
            goto ZD; 
        } 
        if (!empty($_POST["mapping_key_" . $MX])) { 
            goto LT; 
        } 
        goto HE; 
        LT: 
        update_option("mo_ldap_local_mapping_key_" . $MX, $_POST["mapping_key_" . $MX]); 
        update_option("mo_ldap_local_mapping_value_" . $MX, $_POST["mapping_value_" . $MX]); 
        $MX++; 
        $Nt++; 
        goto HE; 
        ZD: 
        update_option("mo_ldap_local_role_mapping_count", $Nt); 
        if (!isset($_POST["mapping_value_default"])) { 
            goto Jt; 
        } 
        update_option("mo_ldap_local_mapping_value_default", $_POST["mapping_value_default"]); 
        Jt: 
        if (!isset($_POST["mapping_memberof_attribute"])) { 
            goto it; 
        } 
        update_option("mo_ldap_local_mapping_memberof_attribute", $_POST["mapping_memberof_attribute"]); 
        it: 
        $Ta = ''; 
        if (get_option("mo_ldap_local_enable_role_mapping")) { 
            goto Kg; 
        } 
        $Ta = " Please check <b>"Enable Role Mapping"</b> to activate it."; 
        Kg: 
        update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been updated." . $Ta); 
        $this->show_success_message(); 
        jD: 
        goto cT; 
        xr: 
        update_option("mo_ldap_local_keep_existing_user_roles", isset($_POST["keep_existing_user_roles"]) ? $_POST["keep_existing_user_roles"] : 0); 
        if (get_option("mo_ldap_local_keep_existing_user_roles")) { 
            goto IC; 
        } 
        update_option("mo_ldap_local_message", "WP Roles of Existing users will be updated."); 
        $this->show_success_message(); 
        goto Gk; 
        IC: 
        update_option("mo_ldap_local_message", "WP Roles of Existing users will not be updated."); 
        $this->show_success_message(); 
        Gk: 
        cT: 
        goto R8; 
        ck: 
        update_option("mo_ldap_local_enable_role_mapping", isset($_POST["enable_ldap_role_mapping"]) ? $_POST["enable_ldap_role_mapping"] : 0); 
        if (get_option("mo_ldap_local_enable_role_mapping")) { 
            goto kz; 
        } 
        update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been disabled."); 
        $this->show_success_message(); 
        goto Wm; 
        kz: 
        update_option("mo_ldap_local_message", "LDAP Group to WP role mapping has been enabled."); 
        $this->show_success_message(); 
        Wm: 
        R8: 
        goto Rb; 
        A3: 
        delete_option("mo_ldap_local_message"); 
        $Dv = sanitize_text_field($_POST["ldap_server"]); 
        $wS = new Mo_Ldap_Local_Config(); 
        $uR = $wS->ping_ldap_server($Dv); 
        if (strcasecmp($uR, "SUCCESS") == 0) { 
            goto kH; 
        } 
        if (strcasecmp($uR, "LDAP_ERROR") == 0) { 
            goto ru; 
        } 
        $oI = str_replace("ldap://", '', $Dv); 
        $oI = str_replace("ldaps://", '', $oI); 
        $wJ = explode(":", $oI); 
        if (!isset($wJ[0])) { 
            goto cZ; 
        } 
        $oI = $wJ[0]; 
        cZ: 
        $Zc = "Error connecting to LDAP Server. Please check your LDAP server URL <b>" . $Dv . "</b>.<br>Possible reasons -<br>1. LDAP URL is typed incorrectly. Type it properly, either with IP address or with fully qualified domain name. Both should work. Eg. <b>ldap://58.64.132.235:389</b> or <b>ldap://ldap.miniorange.com:389</b>.<br>2. LDAP server is unreachable - Open a command prompt and see if you are able to ping the your LDAP server (e.g. type this command on a command prompt <b>ping " . $oI . "</b>. If ping is successful then only 'contact ldap server' will work.<br>3. There is a <b>firewall</b> in between - if there is a firewall, please open the firewall to allow incoming requests to your LDAP from your wordpress IP and port 389."; 
        $Gq = "Error connecing server " . $Dv; 
        add_option("mo_ldap_local_message", $Zc, '', "no"); 
        $this->show_error_message(); 
        goto EY; 
        ru: 
        $Zc = "<a target='_blank' href='http://php.net/manual/en/ldap.installation.php'>PHP LDAP extension</a> is not installed or disabled. Please enable it."; 
        $Gq = "LDAP extension not installed for server " . $Dv; 
        add_option("mo_ldap_local_message", "LDAP Extension is disabled: " . $Zc, '', "no"); 
        $this->show_error_message(); 
        EY: 
        goto eF; 
        kH: 
        $Zc = "Successfully contacted LDAP Server. Please configure your Service Account now."; 
        $Gq = "Successfully contacted LDAP Server " . $Dv; 
        add_option("mo_ldap_local_message", $Zc, '', "no"); 
        $this->show_success_message(); 
        eF: 
        Rb: 
        goto kb; 
        RZ: 
        $b7 = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["otp_token"])) { 
            goto Rt; 
        } 
        $b7 = sanitize_text_field($_POST["otp_token"]); 
        goto hX; 
        Rt: 
        update_option("mo_ldap_local_message", "Please enter a value in otp field."); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_VALIDATION_FAILURE"); 
        $this->show_error_message(); 
        return; 
        hX: 
        $MK = new Mo_Ldap_Local_Customer(); 
        $Ak = json_decode($MK->validate_otp_token(get_option("mo_ldap_local_transactionId"), $b7), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto N1; 
        } 
        if (strcasecmp($Ak["status"], "CURL_ERROR") == 0) { 
            goto Y3; 
        } 
        update_option("mo_ldap_local_message", "Invalid one time passcode. Please enter a valid otp."); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_VALIDATION_FAILURE"); 
        $this->show_error_message(); 
        goto d0; 
        Y3: 
        update_option("mo_ldap_local_message", $Ak["statusMessage"]); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_VALIDATION_FAILURE"); 
        $this->show_error_message(); 
        d0: 
        goto UD; 
        N1: 
        $MK = new Mo_Ldap_Local_Customer(); 
        $FI = json_decode($MK->create_customer(), true); 
        delete_option("mo_ldap_local_email_count"); 
        delete_option("mo_ldap_local_sms_count"); 
        if (strcasecmp($FI["status"], "CUSTOMER_USERNAME_ALREADY_EXISTS") == 0) { 
            goto Hn; 
        } 
        if (!(strcasecmp($FI["status"], "SUCCESS") == 0)) { 
            goto jO; 
        } 
        $this->save_success_customer_config($FI["id"], $FI["apiKey"], $FI["token"], "Registration complete!"); 
        jO: 
        goto kJ; 
        Hn: 
        $Ak = $MK->get_customer_key(); 
        $FI = json_decode($Ak, true); 
        if (json_last_error() == JSON_ERROR_NONE) { 
            goto QU; 
        } 
        update_option("mo_ldap_local_message", "You already have an account with miniOrange. Please enter a valid password."); 
        update_option("mo_ldap_local_verify_customer", "true"); 
        delete_option("mo_ldap_local_new_registration"); 
        $this->show_error_message(); 
        goto Is; 
        QU: 
        $this->save_success_customer_config($FI["id"], $FI["apiKey"], $FI["token"], "Your account has been retrieved successfully."); 
        Is: 
        kJ: 
        update_option("mo_ldap_local_password", ''); 
        UD: 
        kb: 
        goto Yh; 
        bC: 
        $MK = new Mo_Ldap_Local_Customer(); 
        $HC = "EMAIL"; 
        $Ak = json_decode($MK->send_otp_token($HC, null), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto o_; 
        } 
        if (strcasecmp($Ak["status"], "CURL_ERROR") == 0) { 
            goto lj; 
        } 
        update_option("mo_ldap_local_message", "There was an error in sending email. Please click on Resend OTP to try again."); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_DELIVERED_FAILURE"); 
        $this->show_error_message(); 
        goto dm; 
        lj: 
        update_option("mo_ldap_local_message", $Ak["statusMessage"]); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_DELIVERED_FAILURE"); 
        $this->show_error_message(); 
        dm: 
        goto s5; 
        o_: 
        if (get_option("mo_ldap_local_email_count")) { 
            goto sx; 
        } 
        update_option("mo_ldap_local_message", "An OTP has been sent to <b>" . get_option("mo_ldap_local_admin_email") . "</b>. Please enter the OTP below to verify your email. "); 
        update_option("mo_ldap_local_email_count", 1); 
        goto Mw; 
        sx: 
        update_option("mo_ldap_local_email_count", get_option("mo_ldap_local_email_count") + 1); 
        update_option("mo_ldap_local_message", "Another One Time Passcode has been sent <b>( " . get_option("mo_ldap_local_email_count") . " )</b> to <b>" . get_option("mo_ldap_local_admin_email") . "</b>. Please enter the OTP below to verify your email. "); 
        Mw: 
        update_option("mo_ldap_local_transactionId", $Ak["txId"]); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_DELIVERED_SUCCESS"); 
        $this->show_success_message(); 
        s5: 
        Yh: 
        goto G0; 
        pk: 
        $Uv = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["query_email"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["query"])) { 
            goto eE; 
        } 
        $Uv = sanitize_text_field($_POST["query"]); 
        $V4 = sanitize_text_field($_POST["query_email"]); 
        $pt = sanitize_text_field($_POST["query_phone"]); 
        $al = new Mo_Ldap_Local_Customer(); 
        $SK = json_decode($al->submit_contact_us($V4, $pt, $Uv), true); 
        if (strcasecmp($SK["status"], "CURL_ERROR") == 0) { 
            goto JZ; 
        } 
        if (!(json_last_error() == JSON_ERROR_NONE)) { 
            goto gr; 
        } 
        if ($SK == false) { 
            goto ZH; 
        } 
        update_option("mo_ldap_local_message", "Thanks for getting in touch! We shall get back to you shortly."); 
        $this->show_success_message(); 
        goto PX; 
        ZH: 
        update_option("mo_ldap_local_message", "Your query could not be submitted. Please try again."); 
        $this->show_error_message(); 
        PX: 
        gr: 
        goto xd; 
        JZ: 
        update_option("mo_ldap_local_message", $SK["statusMessage"]); 
        $this->show_error_message(); 
        xd: 
        goto Nt; 
        eE: 
        update_option("mo_ldap_local_message", "Please submit your query along with email."); 
        $this->show_error_message(); 
        return; 
        Nt: 
        G0: 
        goto Cg; 
        cN: 
        if (NddKoYsdasadJD()) { 
            goto gZ; 
        } 
        update_option("mo_ldap_local_message", "Settings can't be tested without verifying your license key."); 
        $this->show_error_message(); 
        goto NU; 
        gZ: 
        $Nb = get_option("mo_ldap_local_server_url"); 
        $hg = get_option("mo_ldap_local_server_dn"); 
        $iy = get_option("mo_ldap_local_server_password"); 
        $Yr = get_option("mo_ldap_local_search_base"); 
        $tm = get_option("mo_ldap_local_search_filter"); 
        delete_option("mo_ldap_local_message"); 
        $w2 = ''; 
        $PQ = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["test_username"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["test_password"])) { 
            goto bb; 
        } 
        if (Mo_Ldap_Local_Util::check_empty_or_null($Nb) || Mo_Ldap_Local_Util::check_empty_or_null($hg) || Mo_Ldap_Local_Util::check_empty_or_null($iy) || Mo_Ldap_Local_Util::check_empty_or_null($Yr) || Mo_Ldap_Local_Util::check_empty_or_null($tm)) { 
            goto Ze; 
        } 
        $w2 = sanitize_text_field($_POST["test_username"]); 
        $PQ = sanitize_text_field($_POST["test_password"]); 
        goto U8; 
        Ze: 
        add_option("mo_ldap_local_message", "Please save LDAP Configuration to test authentication.", '', "no"); 
        $this->show_error_message(); 
        return; 
        U8: 
        goto Oc; 
        bb: 
        add_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries.", '', "no"); 
        $this->show_error_message(); 
        return; 
        Oc: 
        $wS = new Mo_Ldap_Local_Config(); 
        $Ak = $wS->test_authentication($w2, $PQ, null); 
        $uR = json_decode($Ak, true); 
        if (strcasecmp($uR["statusCode"], "SUCCESS") == 0) { 
            goto R1; 
        } 
        if (strcasecmp($uR["statusCode"], "ERROR") == 0) { 
            goto AF; 
        } 
        if (strcasecmp($uR["statusCode"], "LDAP_ERROR") == 0) { 
            goto JB; 
        } 
        if (strcasecmp($uR["statusCode"], "CURL_ERROR") == 0) { 
            goto AT; 
        } 
        if (strcasecmp($uR["statusCode"], "MCRYPT_ERROR") == 0) { 
            goto vO; 
        } 
        if (strcasecmp($uR["statusCode"], "PING_ERROR") == 0) { 
            goto z7; 
        } 
        add_option("mo_ldap_local_message", "There was an error processing your request. Please verify the Search Base(s) and Search filter. Your user should be present in the Search base defined.", '', "no"); 
        $this->show_error_message(); 
        goto R9; 
        z7: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $this->show_error_message(); 
        R9: 
        goto dx; 
        vO: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $this->show_error_message(); 
        dx: 
        goto Ck; 
        AT: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $this->show_error_message(); 
        Ck: 
        goto r0; 
        JB: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $this->show_error_message(); 
        r0: 
        goto pc; 
        AF: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $this->show_error_message(); 
        pc: 
        goto PP; 
        R1: 
        $Om = add_query_arg(array("tab" => "rolemapping"), $_SERVER["REQUEST_URI"]); 
        $Pv = "You have successfully configured your LDAP settings.<br>\xa\x9\x9				\x9	\x9You can now do either of two things.<br>
\x9	\x9		\x9\x9		1. Enable LDAP Login at the top and then <a href="" . wp_logout_url(get_permalink()) . "">Logout</a> from wordpress and login again with your LDAP credentials.<br> 
\x9		\x9\x9\x9		\x92. Do role mapping (<a href="" . $Om . "">Click here</a>)"; 
        add_option("mo_ldap_local_message", $Pv, '', "no"); 
        $this->show_success_message(); 
        PP: 
        NU: 
        Cg: 
        goto YZ; 
        Or1: 
        delete_option("mo_ldap_local_user_mapping_status"); 
        $ZL = ''; 
        $Yr = ''; 
        $tm = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["search_base"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["search_filter"])) { 
            goto RL; 
        } 
        $Yr = sanitize_text_field($_POST["search_base"]); 
        $tm = sanitize_text_field($_POST["search_filter"]); 
        goto J1; 
        RL: 
        update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries."); 
        $this->show_error_message(); 
        return; 
        J1: 
        if (!Mo_Ldap_Local_Util::is_extension_installed("mcrypt")) { 
            goto Ul; 
        } 
        update_option("mo_ldap_local_search_base", Mo_Ldap_Local_Util::encrypt($Yr)); 
        update_option("mo_ldap_local_search_filter", Mo_Ldap_Local_Util::encrypt($tm)); 
        delete_option("mo_ldap_local_message"); 
        $wS = new Mo_Ldap_Local_Config(); 
        $J2 = $wS->save_ldap_user_mapping_config(); 
        $Pv = "LDAP User Mapping Configuration has been saved. Please test authentication to verify LDAP User Mapping Configuration."; 
        add_option("mo_ldap_local_message", $Pv, '', "no"); 
        $this->show_success_message(); 
        goto iJ; 
        Ul: 
        update_option("mo_ldap_local_message", "PHP mcrypt extension is not installed or disabled. Please enable it first."); 
        $this->show_error_message(); 
        iJ: 
        YZ: 
        goto es; 
        EC: 
        if (NddKoYsdasadJD()) { 
            goto bg; 
        } 
        update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key."); 
        $this->show_error_message(); 
        goto Bx; 
        bg: 
        $Nb = ''; 
        $hg = ''; 
        $iy = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["ldap_server"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["dn"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["admin_password"])) { 
            goto Pj; 
        } 
        $Nb = sanitize_text_field($_POST["ldap_server"]); 
        $hg = sanitize_text_field($_POST["dn"]); 
        $iy = sanitize_text_field($_POST["admin_password"]); 
        goto M_; 
        Pj: 
        update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries."); 
        $this->show_error_message(); 
        return; 
        M_: 
        if (!Mo_Ldap_Local_Util::is_extension_installed("mcrypt")) { 
            goto ar; 
        } 
        update_option("mo_ldap_local_server_url", Mo_Ldap_Local_Util::encrypt($Nb)); 
        update_option("mo_ldap_local_server_dn", Mo_Ldap_Local_Util::encrypt($hg)); 
        update_option("mo_ldap_local_server_password", Mo_Ldap_Local_Util::encrypt($iy)); 
        delete_option("mo_ldap_local_message"); 
        $wS = new Mo_Ldap_Local_Config(); 
        $J2 = $wS->save_ldap_config(); 
        $Pv = "Your configuration has been saved."; 
        $Vy = "success"; 
        $Ak = $wS->test_connection(); 
        $uR = json_decode($Ak, true); 
        if (strcasecmp($uR["statusCode"], "SUCCESS") == 0) { 
            goto BV; 
        } 
        if (strcasecmp($uR["statusCode"], "ERROR") == 0) { 
            goto n3; 
        } 
        if (strcasecmp($uR["statusCode"], "LDAP_ERROR") == 0) { 
            goto IB; 
        } 
        if (strcasecmp($uR["statusCode"], "MCRYPT_ERROR") == 0) { 
            goto Yn; 
        } 
        if (strcasecmp($uR["statusCode"], "PING_ERROR") == 0) { 
            goto bw; 
        } 
        add_option("mo_ldap_local_message", $Pv . " There was an error in connecting with the current settings. Make sure you have entered server url in format ldap://domain.com:port. Test using Ping LDAP Server.", '', "no"); 
        $Gq = "Invalid configuration."; 
        $this->show_error_message(); 
        goto DU; 
        bw: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $Gq = "Ping server failed " . $Nb; 
        $this->show_error_message(); 
        DU: 
        goto ww; 
        Yn: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $Gq = "MCYRPT extension not installed."; 
        $this->show_error_message(); 
        ww: 
        goto a0; 
        IB: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $Gq = "LDAP extension not installed."; 
        $this->show_error_message(); 
        a0: 
        goto QR; 
        n3: 
        add_option("mo_ldap_local_message", $uR["statusMessage"], '', "no"); 
        $Gq = "Invalid search filter or search base."; 
        $this->show_error_message(); 
        QR: 
        goto sd; 
        BV: 
        add_option("mo_ldap_local_message", $Pv . " Connection was established successfully. Please configure LDAP User Mapping now.", '', "no"); 
        $Gq = "Test was successful."; 
        $this->show_success_message(); 
        sd: 
        goto HB; 
        ar: 
        update_option("mo_ldap_local_message", "PHP mcrypt extension is not installed or disabled. Please enable it first."); 
        $this->show_error_message(); 
        HB: 
        Bx: 
        es: 
        goto J0; 
        BS: 
        if (NddKoYsdasadJD()) { 
            goto QO; 
        } 
        update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key."); 
        $this->show_error_message(); 
        goto iO; 
        QO: 
        update_option("mo_ldap_local_register_user", isset($_POST["mo_ldap_local_register_user"]) ? $_POST["mo_ldap_local_register_user"] : 0); 
        if (get_option("mo_ldap_local_register_user")) { 
            goto q1; 
        } 
        update_option("mo_ldap_local_message", "Auto Registering users has been disabled."); 
        $this->show_success_message(); 
        goto ox; 
        q1: 
        update_option("mo_ldap_local_message", "Auto Registering users has been enabled."); 
        $this->show_success_message(); 
        ox: 
        iO: 
        J0: 
        goto Rv; 
        NX: 
        update_option("mo_ldap_local_use_tls", isset($_POST["mo_ldap_local_tls_enable"]) ? $_POST["mo_ldap_local_tls_enable"] : 0); 
        if (get_option("mo_ldap_local_use_tls")) { 
            goto kL; 
        } 
        update_option("mo_ldap_local_message", "Login through your LDAP has been disabled."); 
        $this->show_error_message(); 
        goto rA; 
        kL: 
        update_option("mo_ldap_local_message", "Login through your LDAP has been enabled."); 
        $this->show_success_message(); 
        rA: 
        Rv: 
        goto mp; 
        YT: 
        if (NddKoYsdasadJD()) { 
            goto HF; 
        } 
        update_option("mo_ldap_local_message", "Settings can't be saved without verifying your license key."); 
        $this->show_error_message(); 
        goto Oj; 
        HF: 
        $Vy = update_option("mo_ldap_local_enable_login", isset($_POST["enable_ldap_login"]) ? $_POST["enable_ldap_login"] : 0); 
        error_log("Status: " . $Vy); 
        error_log("Enable LDAP login: " . get_option("mo_ldap_local_enable_login")); 
        if (get_option("mo_ldap_local_enable_login")) { 
            goto VY; 
        } 
        update_option("mo_ldap_local_message", "Login through your LDAP has been disabled."); 
        $this->show_success_message(); 
        goto bY; 
        VY: 
        update_option("mo_ldap_local_message", "Login through your LDAP has been enabled."); 
        $this->show_success_message(); 
        bY: 
        Oj: 
        mp: 
        goto r6; 
        qb: 
        $V4 = ''; 
        $vJ = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["email"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["password"])) { 
            goto dW; 
        } 
        $V4 = sanitize_email($_POST["email"]); 
        $vJ = sanitize_text_field($_POST["password"]); 
        goto gK; 
        dW: 
        update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries."); 
        $this->show_error_message(); 
        return; 
        gK: 
        update_option("mo_ldap_local_admin_email", $V4); 
        update_option("mo_ldap_local_password", $vJ); 
        $MK = new Mo_Ldap_Local_Customer(); 
        $Ak = $MK->get_customer_key(); 
        $FI = json_decode($Ak, true); 
        delete_option("mo_ldap_local_verify_customer"); 
        if (get_option("mo_ldap_local_license_key")) { 
            goto S3; 
        } 
        $this->show_success_message(); 
        goto U_; 
        S3: 
        $aU = Mo_Ldap_Local_Util::decrypt(get_option("mo_ldap_local_license_key")); 
        $Ak = json_decode($MK->XfskodsfhHJ($aU), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto Rj; 
        } 
        update_option("mo_ldap_local_message", "License key for this instance is incorrect. Make sure you have not tampered with it at all. Please enter a valid license key."); 
        delete_option("mo_ldap_local_license_key"); 
        $this->show_error_message(); 
        goto xL; 
        Rj: 
        $this->show_success_message(); 
        xL: 
        U_: 
        if (strcasecmp($FI["apiKey"], "CURL_ERROR") == 0) { 
            goto Zc; 
        } 
        if (json_last_error() == JSON_ERROR_NONE) { 
            goto Zu; 
        } 
        update_option("mo_ldap_local_message", "Invalid username or password. Please try again."); 
        $this->show_error_message(); 
        goto MD; 
        Zu: 
        update_option("mo_ldap_local_admin_phone", $FI["phone"]); 
        $this->save_success_customer_config($FI["id"], $FI["apiKey"], $FI["token"], "Your account has been retrieved successfully."); 
        update_option("mo_ldap_local_password", ''); 
        MD: 
        goto E3; 
        Zc: 
        update_option("mo_ldap_local_message", $FI["token"]); 
        $this->show_error_message(); 
        E3: 
        update_option("mo_ldap_local_password", ''); 
        r6: 
        goto TZ; 
        zL: 
        $V4 = ''; 
        $pt = ''; 
        $vJ = ''; 
        $Xd = ''; 
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["email"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["password"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["confirmPassword"])) { 
            goto hL; 
        } 
        if (strlen($_POST["password"]) < 6 || strlen($_POST["confirmPassword"]) < 6) { 
            goto c2; 
        } 
        $V4 = sanitize_email($_POST["email"]); 
        $pt = sanitize_text_field($_POST["phone"]); 
        $vJ = sanitize_text_field($_POST["password"]); 
        $Xd = sanitize_text_field($_POST["confirmPassword"]); 
        goto Li; 
        c2: 
        update_option("mo_ldap_local_message", "Choose a password with minimum length 6."); 
        $this->show_error_message(); 
        return; 
        Li: 
        goto Bo; 
        hL: 
        update_option("mo_ldap_local_message", "All the fields are required. Please enter valid entries."); 
        $this->show_error_message(); 
        return; 
        Bo: 
        update_option("mo_ldap_local_admin_email", $V4); 
        if (!($pt != '')) { 
            goto ts; 
        } 
        update_option("mo_ldap_local_admin_phone", $pt); 
        ts: 
        if (strcmp($vJ, $Xd) == 0) { 
            goto zN; 
        } 
        update_option("mo_ldap_local_message", "Password and Confirm password do not match."); 
        delete_option("mo_ldap_local_verify_customer"); 
        $this->show_error_message(); 
        goto cx; 
        zN: 
        update_option("mo_ldap_local_password", $vJ); 
        $MK = new Mo_Ldap_Local_Customer(); 
        $Ak = json_decode($MK->check_customer(), true); 
        if (strcasecmp($Ak["status"], "CUSTOMER_NOT_FOUND") == 0) { 
            goto MX; 
        } 
        if (strcasecmp($Ak["status"], "CURL_ERROR") == 0) { 
            goto y2; 
        } 
        $Ak = $MK->get_customer_key(); 
        $FI = json_decode($Ak, true); 
        if (json_last_error() == JSON_ERROR_NONE) { 
            goto X0; 
        } 
        update_option("mo_ldap_local_message", "You already have an account with miniOrange. Please enter a valid password."); 
        update_option("mo_ldap_local_verify_customer", "true"); 
        delete_option("mo_ldap_local_new_registration"); 
        $this->show_error_message(); 
        goto Er; 
        X0: 
        $this->save_success_customer_config($FI["id"], $FI["apiKey"], $FI["token"], "Your account has been retrieved successfully."); 
        update_option("mo_ldap_local_password", ''); 
        Er: 
        goto Cd; 
        y2: 
        update_option("mo_ldap_local_message", $Ak["statusMessage"]); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_DELIVERED_FAILURE"); 
        $this->show_error_message(); 
        Cd: 
        goto U0; 
        MX: 
        $HC = "EMAIL"; 
        $Ak = json_decode($MK->send_otp_token($HC, null), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto xT; 
        } 
        update_option("mo_ldap_local_message", "There was an error in sending email. Please click on Resend OTP to try again."); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_DELIVERED_FAILURE"); 
        $this->show_error_message(); 
        goto sb; 
        xT: 
        update_option("mo_ldap_local_email_count", 1); 
        update_option("mo_ldap_local_message", "A One Time Passcode has been sent <b>( 1 )</b> to <b>" . get_option("mo_ldap_local_admin_email") . "</b>. Please enter the OTP below to verify your email. "); 
        update_option("mo_ldap_local_transactionId", $Ak["txId"]); 
        update_option("mo_ldap_local_registration_status", "MO_OTP_DELIVERED_SUCCESS"); 
        $this->show_success_message(); 
        sb: 
        U0: 
        cx: 
        TZ: 
        if (isset($_POST["option"]) && $_POST["option"] == "mo_ldap_local_verify_license") { 
            goto C1; 
        } 
        if (isset($_POST["option"]) && $_POST["option"] == "mo_ldap_local_free_trial") { 
            goto ni; 
        } 
        if (!(isset($_POST["option"]) && $_POST["option"] == "mo_ldap_local_check_license")) { 
            goto WS; 
        } 
        $MK = new Mo_Ldap_Local_Customer(); 
        $Ak = json_decode($MK->check_customer_ln(), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto To; 
        } 
        $ks = add_query_arg(array("tab" => "pricing"), $_SERVER["REQUEST_URI"]); 
        update_option("mo_ldap_local_message", "You have not upgraded yet. <a href="" . $ks . "">Click here</a> to upgrade to premium version."); 
        $this->show_error_message(); 
        goto U2; 
        To: 
        if (array_key_exists("licensePlan", $Ak) && !Mo_Ldap_Local_Util::check_empty_or_null($Ak["licensePlan"])) { 
            goto Ek; 
        } 
        update_option("site_ck_l", Mo_Ldap_Local_Util::encrypt("false")); 
        $ks = add_query_arg(array("tab" => "pricing"), $_SERVER["REQUEST_URI"]); 
        update_option("mo_ldap_local_message", "You have not upgraded yet. <a href="" . $ks . "">Click here</a> to upgrade to premium version."); 
        $this->show_error_message(); 
        goto LL; 
        Ek: 
        update_option("mo_ldap_local_license_name", base64_encode($Ak["licensePlan"])); 
        update_option("site_ck_l", Mo_Ldap_Local_Util::encrypt("true")); 
        $ks = add_query_arg(array("tab" => "account"), $_SERVER["REQUEST_URI"]); 
        update_option("mo_ldap_local_message", "You have successfully upgraded to premium version. <a href="" . $ks . "">Click here</a> to activate your license."); 
        $this->show_success_message(); 
        LL: 
        U2: 
        WS: 
        goto j6; 
        ni: 
        if (decryptLDAPElement()) { 
            goto HH; 
        } 
        $aU = post_response(); 
        $MK = new Mo_Ldap_Local_Customer(); 
        $Ak = json_decode($MK->XfskodsfhHJ($aU), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto PD; 
        } 
        if (strcasecmp($Ak["status"], "FAILED") == 0) { 
            goto nY; 
        } 
        update_option("mo_ldap_local_message", "An error occured while processing your request. Please Try again."); 
        $this->show_error_message(); 
        goto Ay; 
        nY: 
        update_option("mo_ldap_local_message", "There was an error activating your TRIAL version. Please contact [email protected] for getting new license for trial version."); 
        $this->show_error_message(); 
        Ay: 
        goto Gu; 
        PD: 
        update_option("mo_ldap_local_is_trial_key", Mo_Ldap_Local_Util::encrypt($aU)); 
        update_option("t_site_status", Mo_Ldap_Local_Util::encrypt("true")); 
        update_option("mo_ldap_local_message", "Your 5 days TRIAL is activated. You can now setup the plugin."); 
        $this->show_success_message(); 
        Gu: 
        goto qq; 
        HH: 
        update_option("mo_ldap_local_message", "There was an error activating your TRIAL version. Either your trial period is expired or you are using wrong trial version. Please contact [email protected] for getting new license for trial version."); 
        $this->show_error_message(); 
        qq: 
        j6: 
        goto RP; 
        C1: 
        if (!Mo_Ldap_Local_Util::check_empty_or_null($_POST["mo_ldap_local_license_key"])) { 
            goto Bt; 
        } 
        update_option("mo_ldap_local_message", "All the fields are required. Please enter valid license key."); 
        $this->show_error_message(); 
        return; 
        Bt: 
        $aU = trim($_POST["mo_ldap_local_license_key"]); 
        $MK = new Mo_Ldap_Local_Customer(); 
        $Ak = json_decode($MK->XfskodsfhHJ($aU), true); 
        if (strcasecmp($Ak["status"], "SUCCESS") == 0) { 
            goto ui; 
        } 
        if (strcasecmp($Ak["status"], "FAILED") == 0) { 
            goto yn; 
        } 
        update_option("mo_ldap_local_message", "An error occured while processing your request. Please Try again."); 
        $this->show_error_message(); 
        goto Iw; 
        yn: 
        if (strcasecmp($Ak["message"], "Code has Expired") == 0) { 
            goto kT; 
        } 
        update_option("mo_ldap_local_message", "You have entered an invalid license key. Please enter a valid license key."); 
        goto zm; 
        kT: 
        $ks = add_query_arg(array("tab" => "pricing"), $_SERVER["REQUEST_URI"]); 
        update_option("mo_ldap_local_message", "License key you have entered has already been used. Please enter a key which has not been used before on any other instance or if you have exausted all your keys then <a href="" . $ks . "">Click here</a> to buy more."); 
        zm: 
        $this->show_error_message(); 
        Iw: 
        goto O3; 
        ui: 
        update_option("mo_ldap_local_license_key", Mo_Ldap_Local_Util::encrypt($aU)); 
        update_option("mo_ldap_local_message", "Your license is verified. You can now setup the plugin."); 
        update_option("t_site_status", Mo_Ldap_Local_Util::encrypt("false")); 
        update_option("site_ck_l", Mo_Ldap_Local_Util::encrypt("true")); 
        $this->show_success_message(); 
        O3: 
        RP: 
        u9: 
        if (mo_ldap_local_ntlsl()) { 
            goto Mu; 
        } 
        if (ch_xdigit()) { 
            goto we; 
        } 
        delete_option("mo_ldap_local_enable_login"); 
        we: 
        goto sv; 
        Mu: 
        if (!decryptLDAPElement()) { 
            goto L1; 
        } 
        update_option("t_site_status", Mo_Ldap_Local_Util::encrypt("false")); 
        L1: 
        sv: 
    } 
    function test_attribute_configuration() 
    { 
        if (!isset($_REQUEST["option"])) { 
            goto J_; 
        } 
        if ($_REQUEST["option"] == "testattrconfig") { 
            goto wo; 
        } 
        if (!($_REQUEST["option"] == "testrolemappingconfig")) { 
            goto Ra; 
        } 
        $GG = $_REQUEST["user"]; 
        $po = new Mo_Ldap_Local_Role_Mapping(); 
        $po->test_configuration($GG); 
        Ra: 
        goto dy; 
        wo: 
        $GG = $_REQUEST["user"]; 
        $wS = new Mo_Ldap_Local_Config(); 
        $wS->test_attribute_configuration($GG); 
        dy: 
        J_: 
    } 
    function save_success_customer_config($gE, $xt, $Uz, $Pv) 
    { 
        update_option("mo_ldap_local_admin_customer_key", $gE); 
        update_option("mo_ldap_local_admin_api_key", $xt); 
        update_option("mo_ldap_local_customer_token", $Uz); 
        update_option("mo_ldap_local_password", ''); 
        update_option("mo_ldap_local_message", $Pv); 
        delete_option("mo_ldap_local_verify_customer"); 
        delete_option("mo_ldap_local_new_registration"); 
        delete_option("mo_ldap_local_registration_status"); 
        $this->show_success_message(); 
    } 
    function mo_ldap_local_settings_style() 
    { 
        wp_enqueue_style("mo_ldap_admin_settings_style", plugins_url("includes/css/style_settings.css", __FILE__)); 
        wp_enqueue_style("mo_ldap_admin_settings_phone_style", plugins_url("includes/css/phone.css", __FILE__)); 
    } 
    function mo_ldap_local_settings_script() 
    { 
        wp_enqueue_script("mo_ldap_admin_settings_phone_script", plugins_url("includes/js/phone.js", __FILE__)); 
        wp_enqueue_script("mo_ldap_admin_settings_script", plugins_url("includes/js/settings_page.js", __FILE__), array("jquery")); 
    } 
    function error_message() 
    { 
        $C_ = "error"; 
        $Pv = get_option("mo_ldap_local_message"); 
        echo "<div class='" . $C_ . "'> <p>" . $Pv . "</p></div>"; 
    } 
    function success_message() 
    { 
        $C_ = "updated"; 
        $Pv = get_option("mo_ldap_local_message"); 
        echo "<div class='" . $C_ . "'> <p>" . $Pv . "</p></div>"; 
    } 
    function show_success_message() 
    { 
        remove_action("admin_notices", array($this, "error_message")); 
        add_action("admin_notices", array($this, "success_message")); 
    } 
    function show_error_message() 
    { 
        remove_action("admin_notices", array($this, "success_message")); 
        add_action("admin_notices", array($this, "error_message")); 
    } 
    function plugin_query_vars($M5) 
    { 
        $M5[] = "app_name"; 
        return $M5; 
    } 
    function parse_sso_request($iG) 
    { 
        if (!array_key_exists("app_name", $iG->query_vars)) { 
            goto nt; 
        } 
        $HA = mo_ldap_saml_login($iG->query_vars["app_name"]); 
        wp_redirect($HA, 302); 
        die; 
        nt: 
    } 
    function mo_ldap_activate() 
    { 
        update_option("mo_ldap_local_register_user", 1); 
    } 
    public static function mo_ldap_local_uninstall() 
    { 
        delete_option("mo_ldap_local_server_url"); 
        delete_option("mo_ldap_local_server_dn"); 
        delete_option("mo_ldap_local_server_password"); 
        delete_option("mo_ldap_local_search_filter"); 
        delete_option("mo_ldap_local_search_base"); 
        delete_option("mo_ldap_local_role_mapping_count"); 
    } 
    function mo_ldap_local_deactivate() 
    { 
        do_action("flushcache"); 
        if (Mo_Ldap_Local_Util::check_empty_or_null(get_option("mo_ldap_local_registration_status"))) { 
            goto T_; 
        } 
        delete_option("mo_ldap_local_admin_email"); 
        T_: 
        delete_option("mo_ldap_local_host_name"); 
        delete_option("mo_ldap_local_default_config"); 
        delete_option("mo_ldap_local_password"); 
        delete_option("mo_ldap_local_new_registration"); 
        delete_option("mo_ldap_local_admin_phone"); 
        delete_option("mo_ldap_local_verify_customer"); 
        delete_option("mo_ldap_local_admin_customer_key"); 
        delete_option("mo_ldap_local_admin_api_key"); 
        delete_option("mo_ldap_local_customer_token"); 
        delete_option("mo_ldap_local_message"); 
        delete_option("mo_ldap_local_enable_login"); 
        delete_option("mo_ldap_local_transactionId"); 
        delete_option("mo_ldap_local_registration_status"); 
        delete_option("mo_ldap_local_enable_role_mapping"); 
        delete_option("mo_ldap_local_keep_existing_user_roles"); 
    } 
} 
new Mo_Ldap_Local_Login(); 
?> 

Did this file decode correctly?

Original Code

<?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */


require_once "\155\157\137\x6c\144\141\x70\137\x70\141\147\145\x73\x2e\160\150\160";
require "\x6d\157\137\154\144\141\160\x5f\163\x75\160\160\x6f\162\164\56\x70\150\160";
require "\143\x6c\141\163\x73\55\155\157\x2d\154\x64\141\160\x2d\x63\x75\x73\164\157\155\145\x72\55\x73\145\x74\165\x70\56\160\x68\x70";
require "\143\x6c\141\x73\163\55\155\x6f\x2d\154\x64\x61\160\x2d\x75\164\x69\154\x69\x74\x79\56\x70\x68\x70";
require "\143\x6c\141\163\x73\55\x6d\x6f\55\154\x64\x61\160\x2d\x63\x6f\156\x66\x69\147\x2e\160\150\160";
require "\x63\x6c\141\x73\163\x2d\x6d\x6f\55\x6c\x64\141\x70\x2d\162\x6f\x6c\x65\x2d\x6d\x61\x70\x70\151\156\147\56\160\x68\x70";
error_reporting(E_ERROR);
class Mo_Ldap_Local_Login
{
    function __construct()
    {
        add_action("\x61\x64\x6d\151\156\x5f\155\145\156\165", array($this, "\155\157\x5f\154\x64\141\160\x5f\x6c\x6f\x63\x61\154\x5f\154\x6f\x67\151\156\x5f\167\151\x64\x67\145\x74\x5f\155\145\156\x75"));
        add_action("\141\144\155\x69\x6e\x5f\x69\x6e\151\x74", array($this, "\x6c\x6f\147\x69\x6e\x5f\x77\151\x64\x67\145\x74\137\163\141\166\x65\137\157\x70\x74\x69\x6f\156\163"));
        add_action("\x69\156\151\164", array($this, "\x74\145\x73\164\x5f\x61\164\164\162\x69\142\165\x74\x65\137\x63\157\x6e\x66\151\x67\165\162\141\x74\151\x6f\x6e"));
        add_action("\x61\x64\x6d\x69\x6e\137\145\156\x71\165\145\165\x65\137\163\x63\x72\151\x70\x74\163", array($this, "\155\157\x5f\154\144\x61\x70\x5f\154\x6f\143\x61\x6c\x5f\x73\145\x74\164\151\156\147\x73\137\x73\164\x79\154\x65"));
        add_action("\141\144\x6d\x69\156\x5f\145\156\161\165\145\x75\x65\x5f\163\143\162\151\160\164\163", array($this, "\x6d\157\137\x6c\x64\x61\x70\x5f\x6c\157\143\141\154\137\x73\145\x74\x74\151\x6e\147\163\x5f\163\x63\162\151\x70\164"));
        add_action("\160\141\x72\163\x65\x5f\162\x65\161\165\145\163\x74", array($this, "\160\141\162\x73\x65\137\x73\163\157\137\162\x65\x71\165\x65\163\164"));
        if (!(get_option("\x6d\157\137\x6c\144\141\x70\137\154\157\143\x61\154\137\145\156\x61\x62\154\145\x5f\x75\x70\144\141\x74\x65\137\154\144\x61\160") == 1)) {
            goto rc;
        }
        add_action("\160\162\157\x66\x69\154\x65\137\x75\160\144\x61\164\145", array($this, "\x75\x70\144\141\164\145\137\160\162\x6f\x66\151\x6c\x65"));
        rc:
        remove_action("\x61\x64\x6d\x69\x6e\137\156\x6f\164\x69\143\x65\x73", array($this, "\163\x75\x63\143\145\163\x73\137\x6d\145\163\x73\x61\x67\x65"));
        remove_action("\x61\144\x6d\x69\156\x5f\156\x6f\164\151\143\145\x73", array($this, "\x65\162\x72\x6f\162\x5f\x6d\145\x73\x73\x61\x67\x65"));
        add_filter("\x71\x75\145\162\171\137\166\141\x72\x73", array($this, "\x70\154\x75\x67\x69\156\137\x71\165\x65\x72\171\x5f\166\x61\x72\163"));
        register_deactivation_hook(__FILE__, array($this, "\155\x6f\137\154\144\141\x70\x5f\x6c\x6f\143\141\154\x5f\x64\145\x61\143\164\151\166\x61\x74\145"));
        register_uninstall_hook(__FILE__, "\x6d\x6f\x5f\x6c\x64\141\160\x5f\154\x6f\143\x61\x6c\137\x75\156\x69\x6e\x73\164\x61\154\x6c");
        add_action("\154\x6f\x67\x69\156\x5f\146\157\x6f\164\x65\162", "\155\x6f\137\x6c\144\x61\x70\137\x6c\157\x63\x61\x6c\137\x6c\151\156\x6b");
        add_action("\x73\x68\x6f\167\x5f\165\x73\145\162\137\160\162\157\x66\151\x6c\145", array($this, "\163\150\157\167\x5f\165\x73\x65\162\137\160\x72\x6f\x66\151\154\145"));
        if (!(get_option("\155\157\x5f\x6c\x64\141\x70\x5f\x6c\157\x63\x61\154\137\141\x75\164\150\157\x72\x69\x7a\145\x64\137\165\163\145\x72\163\x5f\x6f\156\154\171") == 1)) {
            goto BH;
        }
        add_action("\167\160", array($this, "\x6d\x6f\137\x6c\144\x61\160\137\x6c\x6f\x63\x61\154\137\154\157\x67\151\156\137\162\x65\x64\151\x72\x65\143\164"));
        BH:
        if (!(get_option("\155\157\137\x6c\x64\141\x70\137\154\x6f\x63\x61\x6c\x5f\x65\x6e\x61\x62\154\145\137\x6c\157\147\151\x6e") == 1)) {
            goto jF;
        }
        remove_filter("\141\x75\164\x68\x65\x6e\x74\151\x63\141\164\145", "\x77\x70\x5f\141\165\164\x68\145\156\x74\x69\143\141\x74\145\x5f\165\163\145\x72\x6e\141\155\x65\x5f\x70\141\163\x73\x77\x6f\x72\x64", 20, 3);
        add_filter("\x61\x75\x74\x68\x65\156\x74\x69\x63\x61\x74\145", array($this, "\x6c\x64\x61\x70\x5f\x6c\x6f\x67\x69\x6e"), 20, 3);
        $vc = get_option("\155\x6f\137\x6c\x64\x61\x70\x5f\x6c\157\143\x61\x6c\x5f\x72\x65\x64\x69\162\x65\x63\164\137\164\x6f");
        if (!$vc) {
            goto lM;
        }
        if ($vc == "\x68\157\155\145\x70\x61\147\145") {
            goto xY;
        }
        if (!($vc == "\x63\x75\163\x74\x6f\x6d")) {
            goto yS;
        }
        $u7 = get_option("\x6d\157\x5f\154\x64\x61\x70\x5f\154\x6f\143\x61\154\137\x63\x75\163\x74\x6f\x6d\137\162\x65\144\151\162\145\x63\x74");
        add_filter("\154\157\x67\x69\156\137\x72\145\144\151\x72\145\x63\x74", create_function("\44\x75\162\154\x2c\x24\161\x75\145\x72\x79\x2c\44\x75\163\x65\x72", "\x72\145\x74\x75\x72\x6e\x20\147\x65\x74\137\157\160\164\151\x6f\x6e\50\42\155\x6f\137\154\144\141\x70\137\154\157\x63\141\x6c\137\143\x75\163\164\x6f\x6d\x5f\162\x65\144\x69\x72\x65\143\x74\x22\x29\x3b\145\170\x69\164\50\x29\x3b"), 10, 3);
        yS:
        goto OY;
        xY:
        add_filter("\x6c\157\x67\151\156\x5f\x72\x65\x64\x69\x72\145\x63\164", create_function("\x24\165\162\154\x2c\44\161\x75\145\x72\x79\x2c\44\165\163\145\162", "\162\145\x74\165\162\156\40\x68\157\x6d\x65\137\165\162\x6c\x28\x29\x3b"), 10, 3);
        OY:
        lM:
        jF:
        register_activation_hook(__FILE__, array($this, "\155\x6f\x5f\154\x64\x61\x70\x5f\x61\x63\164\x69\x76\141\164\x65"));
    }
    function mo_ldap_local_login_redirect()
    {
        if (is_user_logged_in()) {
            goto lA;
        }
        auth_redirect();
        lA:
    }
    function show_user_profile($user)
    {
        $A9 = array();
        $v8 = wp_load_alloptions();
        ?>
			<h3>Extra profile information</h3>

				<table class="form-table">

					<tr>
						<td><b><label for="user_dn">User DN</label></b></td>

						<td>
							<b><?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */ 
        echo esc_attr(get_the_author_meta("\155\157\x5f\154\x64\x61\160\137\x75\x73\145\x72\137\x64\x6e", $user->ID));
        ?>
</b></td>
						</td>
						</tr>
						<?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */ 
        foreach ($v8 as $AU => $ab) {
            if (strpos($AU, "\155\157\137\154\144\x61\x70\x5f\154\x6f\143\x61\x6c\x5f\143\x75\x73\x74\x6f\155\x5f\141\164\164\x72\x69\142\x75\x74\x65") === false) {
                goto a3;
            }
            ?>
								<tr>
									<td><b><font color="#FF0000"></font><?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */ 
            echo $ab;
            ?>
</b></td>
									<?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */ 
            if (is_array(get_user_meta($user->ID, $AU, true))) {
                goto mN;
            }
            echo "\x3c\164\144\x3e";
            echo get_user_meta($user->ID, $AU, true) . "\x3c\x62\162\76";
            echo "\74\x2f\x74\144\x3e";
            goto A5;
            mN:
            echo "\x3c\164\x64\76";
            foreach (get_user_meta($user->ID, $AU, true) as $qm) {
                echo $qm . "\x3c\142\162\x3e";
                mz:
            }
            cX:
            echo "\x3c\57\164\x64\x3e";
            A5:
            ?>
								</tr><?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */ 
            goto QM;
            a3:
            QM:
            FB:
        }
        jr:
        ?>
				</table>
			
			<?php
/*
    Plugin Name: LDAP/Active Directory Login for Intranet sites
    Plugin URI: http://miniorange.com
    Description: LDAP/Active Directory Login Plugin provides login to WordPress using credentials stored in your LDAP Server.
    Author: miniorange
    Version: 21.2.2
    Author URI: http://miniorange.com
    */ 
    }
    function update_profile($q8, $x2)
    {
        $A9 = array();
        foreach ($_POST as $Q0 => $ab) {
            if (strpos($Q0, "\155\x6f\x5f\154\144\141\x70\x5f\x6c\x6f\143\141\154\x5f\143\x75\163\164\157\x6d\x5f\x61\164\164\162\151\142\165\x74\x65") === false) {
                goto dv;
            }
            $A9[str_replace("\x6d\157\137\154\x64\141\160\137\x6c\157\x63\x61\154\137\143\165\163\164\157\155\x5f\141\x74\164\x72\x69\x62\165\x74\145\137", '', $Q0)] = $ab;
            goto K_;
            dv:
            K_:
            BO:
        }
        PV:
        $user = get_userdata($q8);
        $wS = new Mo_Ldap_Local_Config();
        $wS->modify_user_info_in_ldap($user, $A9);
        foreach ($A9 as $ke => $ab) {
            update_user_meta($q8, "\x6d\157\x5f\x6c\x64\141\160\x5f\x6c\157\x63\x61\x6c\137\143\165\163\x74\x6f\155\x5f\x61\164\x74\x72\x69\x62\165\x74\145\137" . $ke, $ab);
            of:
        }
        GP:
    }
    function ldap_login($user, $GG, $vJ)
    {
        if (!(empty($GG) || empty($vJ))) {
            goto XJ;
        }
        $u8 = new WP_Error();
        if (!empty($GG)) {
            goto TJ;
        }
        $u8->add("\145\155\160\x74\x79\137\x75\x73\145\162\156\141\x6d\145", __("\x3c\163\164\162\x6f\156\x67\76\x45\x52\122\x4f\x52\x3c\x2f\x73\x74\162\x6f\156\147\x3e\72\x20\105\x6d\x61\x69\154\x20\x66\151\145\x6c\x64\x20\x69\x73\x20\x65\155\160\x74\171\x2e"));
        TJ:
        if (!empty($vJ)) {
            goto gd;
        }
        $u8->add("\x65\155\x70\x74\x79\x5f\160\x61\163\x73\x77\157\x72\x64", __("\x3c\163\164\x72\x6f\156\x67\x3e\x45\x52\x52\x4f\x52\x3c\57\163\x74\162\157\x6e\x67\76\72\40\x50\x61\x73\x73\x77\157\162\x64\40\146\x69\145\x6c\144\x20\x69\x73\x20\x65\155\160\x74\x79\x2e"));
        gd:
        return $u8;
        XJ:
        if (!(get_option("\155\x6f\x5f\154\x64\x61\160\137\x6c\x6f\x63\x61\x6c\x5f\x65\x6e\x61\x62\154\145\x5f\x62\157\164\150\x5f\x6c\x6f\147\151\x6e") && !empty(get_option("\x6d\x6f\x5f\154\144\x61\x70\137\x6c\157\143\x61\154\137\x65\156\x61\142\x6c\145\137\x62\157\x74\x68\x5f\x6c\x6f\x67\x69\x6e")))) {
            goto iR;
        }
        $user = false;
        if (username_exists($GG)) {
            goto S5;
        }
        if (!email_exists($GG)) {
            goto O0;
        }
        $user = get_user_by("\145\155\x61\151\154", $GG);
        O0:
        goto AY;
        S5:
        $user = get_user_by("\x6c\157\147\151\156", $GG);
        AY:
        if (!$user) {
            goto jz;
        }
        $Yb = false;
        if (get_option("\155\x6f\x5f\x6c\x64\141\x70\137\x6c\157\x63\141\154\x5f\x65\156\141\x62\154\145\137\142\x6f\164\150\137\154\x6f\x67\151\156") == "\x61\x6c\154") {
            goto mI;
        }
        if (!(get_option("\155\x6f\137\x6c\144\x61\x70\137\154\x6f\x63\141\154\137\145\156\141\x62\154\x65\x5f\142\157\x74\150\137\x6c\157\x67\x69\x6e") == "\141\144\155\151\x6e" && user_can($user->ID, "\x6d\141\156\141\147\x65\x5f\157\160\x74\x69\157\x6e\x73"))) {
            goto rz;
        }
        $Yb = true;
        rz:
        goto wE;
        mI:
        $Yb = true;
        wE:
        if (!($Yb && wp_check_password($vJ, $user->data->user_pass, $user->ID))) {
            goto Ua;
        }
        return $user;
        Ua:
        jz:
        iR:
        $wS = new Mo_Ldap_Local_Config();
        $f_ = $wS->ldap_login($GG, $vJ);
        if ($f_->statusMessage == "\x53\125\103\103\105\123\x53") {
            goto rp;
        }
        if ($f_->statusMessage == "\x4c\104\x41\x50\137\x4e\x4f\124\x5f\122\x45\x53\120\117\x4e\x44\111\116\107") {
            goto Uq;
        }
        if ($f_->statusMessage == "\114\104\101\120\137\105\x52\122\x4f\122") {
            goto fW;
        }
        if ($f_->statusMessage == "\x43\x55\122\114\x5f\x45\x52\x52\x4f\x52") {
            goto Sy;
        }
        if ($f_->statusMessage == "\115\103\x52\x59\x50\x54\x5f\x45\122\x52\x4f\x52") {
            goto Uv;
        }
        $u8 = new WP_Error();
        $u8->add("\151\x6e\143\x6f\162\x72\145\143\x74\137\143\162\145\x64\x65\x6e\x74\x69\141\154\x73", __("\74\x73\x74\162\x6f\x6e\x67\x3e\105\122\x52\x4f\x52\74\57\x73\x74\x72\x6f\156\147\x3e\x3a\x20\x49\156\166\141\154\151\x64\x20\165\x73\145\x72\156\x61\155\145\40\x6f\162\x20\x69\156\x63\157\x72\x72\x65\143\x74\x20\x70\141\163\x73\x77\157\x72\x64\56\40\120\154\145\x61\x73\145\x20\x74\x72\x79\40\x61\147\141\151\x6e\x2e"));
        return $u8;
        goto TE;
        Uv:
        $u8 = new WP_Error();
        $u8->add("\155\x63\x72\171\160\x74\137\145\x72\x72\157\162", __("\74\x73\x74\162\x6f\x6e\147\x3e\x45\x52\122\x4f\x52\x3c\57\x73\164\x72\157\156\147\x3e\72\40\74\x61\40\x74\141\162\147\x65\x74\x3d\42\x5f\142\154\141\156\x6b\42\x20\x68\x72\145\146\x3d\42\x68\x74\x74\160\72\57\x2f\x70\x68\x70\56\156\145\164\x2f\x6d\141\156\x75\x61\x6c\x2f\145\x6e\57\155\143\162\x79\160\164\x2e\x69\x6e\x73\164\141\x6c\154\x61\164\x69\157\x6e\x2e\160\150\x70\42\x3e\x50\x48\120\x20\x4d\x63\x72\171\160\x74\40\x65\x78\164\x65\156\x73\151\x6f\156\74\x2f\x61\x3e\x20\151\x73\x20\156\157\x74\x20\151\x6e\163\164\141\x6c\x6c\x65\x64\40\x6f\x72\x20\144\151\x73\x61\142\154\145\144\x2e"));
        return $u8;
        TE:
        goto V6;
        Sy:
        $u8 = new WP_Error();
        $u8->add("\143\x75\x72\x6c\x5f\145\x72\x72\x6f\x72", __("\74\163\x74\162\157\x6e\147\76\x45\122\x52\117\122\74\57\163\164\x72\x6f\156\x67\x3e\72\40\74\141\x20\x68\x72\145\x66\75\42\150\x74\x74\x70\x3a\57\x2f\160\x68\x70\x2e\156\x65\164\x2f\155\141\x6e\x75\x61\154\57\x65\x6e\57\143\x75\x72\x6c\56\151\x6e\163\x74\141\x6c\x6c\x61\x74\151\157\x6e\56\x70\150\x70\x22\76\x50\110\x50\x20\x63\x55\x52\114\40\145\170\x74\145\x6e\163\x69\157\x6e\x3c\x2f\141\76\x20\151\163\40\x6e\x6f\164\x20\151\x6e\163\164\141\x6c\x6c\x65\x64\x20\x6f\162\x20\144\151\x73\x61\x62\x6c\x65\x64\x2e"));
        return $u8;
        V6:
        goto wG;
        fW:
        $u8 = new WP_Error();
        $u8->add("\x63\x75\x72\x6c\x5f\x65\162\x72\x6f\x72", __("\74\x73\164\x72\157\156\x67\x3e\x45\122\x52\117\x52\x3c\57\x73\164\162\157\x6e\147\76\72\x20\x3c\x61\40\x74\141\162\x67\x65\x74\x3d\42\x5f\x62\154\x61\x6e\153\42\x20\150\x72\x65\x66\x3d\42\x68\164\164\160\72\57\57\x70\x68\160\56\x6e\145\164\57\x6d\x61\x6e\x75\x61\x6c\57\x65\156\x2f\154\x64\x61\160\x2e\x69\x6e\163\164\x61\x6c\154\141\164\151\x6f\x6e\56\160\150\x70\x22\x3e\120\110\x50\40\x4c\104\x41\120\40\145\x78\x74\145\x6e\163\151\x6f\x6e\74\x2f\x61\76\x20\x69\163\40\156\157\x74\40\151\156\x73\164\141\154\154\145\144\x20\157\x72\40\x64\151\163\x61\x62\x6c\145\144\56\x20\x50\154\145\x61\x73\145\40\x65\x6e\141\x62\x6c\x65\40\x69\164\56"));
        return $u8;
        wG:
        goto WT;
        Uq:
        $HM = get_option("\x6d\x6f\x5f\154\x64\141\160\x5f\x6c\157\x63\141\154\x5f\x65\x6e\141\x62\x6c\x65\137\146\x61\154\x6c\142\x61\143\153\137\x6c\157\x67\151\156");
        if (!$HM) {
            goto lw;
        }
        remove_filter("\141\x75\164\150\x65\x6e\164\x69\143\x61\x74\145", array($this, "\154\144\x61\160\x5f\154\157\x67\151\x6e"), 20, 3);
        add_filter("\x61\x75\x74\x68\145\156\164\x69\143\x61\x74\145", "\167\160\x5f\141\x75\x74\150\x65\156\164\151\143\141\x74\145\137\165\x73\x65\162\156\141\155\145\x5f\x70\141\x73\163\x77\157\x72\144", 20, 3);
        $user = wp_authenticate($GG, $vJ);
        return $user;
        lw:
        WT:
        goto OT;
        rp:
        $X2 = $f_->profile_attributes;
        $user = false;
        if (username_exists($GG)) {
            goto iK;
        }
        if (email_exists($GG)) {
            goto vR;
        }
        if (!(isset($X2["\155\141\x69\x6c"]) && email_exists($X2["\155\141\x69\154"]))) {
            goto ir;
        }
        $user = get_user_by("\145\x6d\x61\x69\x6c", $X2["\155\141\x69\154"]);
        ir:
        goto B2;
        vR:
        $user = get_user_by("\145\x6d\141\151\154", $GG);
        B2:
        goto lD;
        iK:
        $user = get_user_by("\x6c\157\147\x69\156", $GG);
        lD:
        if ($user) {
            goto JK;
        }
        if (!get_option("\x6d\157\x5f\154\x64\x61\160\x5f\154\157\143\141\x6c\x5f\x72\x65\147\151\163\x74\145\162\137\165\163\x65\x72")) {
            goto er;
        }
        $w0 = $wS->get_user_ldap_info($GG);
        $HM = get_option("\x6d\x6f\x5f\x6c\144\x61\x70\137\x6c\157\x63\141\154\x5f\145\156\141\x62\154\x65\137\146\x61\154\154\142\x61\x63\x6b\137\x6c\157\147\151\156");
        if ($HM) {
            goto vn;
        }
        $x6 = wp_generate_password(10, false);
        goto s6;
        vn:
        $x6 = $vJ;
        s6:
        $X2 = $f_->profile_attributes;
        $V4 = $X2["\x6d\x61\151\x6c"];
        $lZ = $X2["\146\156\x61\155\145"];
        $sk = $X2["\154\156\x61\155\x65"];
        $a4 = $X2["\156\x69\x63\153\156\x61\155\145"];
        $uI = array("\165\163\145\x72\137\154\x6f\147\x69\156" => $GG, "\165\163\145\162\x5f\145\155\141\x69\x6c" => $V4, "\146\x69\162\x73\164\137\x6e\x61\x6d\x65" => $lZ, "\x6c\141\x73\164\137\156\x61\155\x65" => $sk, "\165\163\145\x72\137\x70\141\163\163" => $x6);
        if (empty($a4)) {
            goto Lj;
        }
        $uI["\x6e\151\143\153\156\141\155\145"] = $a4;
        Lj:
        if (empty(get_option("\x6d\157\x5f\x6c\144\141\160\x5f\154\x6f\x63\x61\154\137\144\151\163\x70\154\141\x79\x5f\x6e\x61\155\x65\137\x61\164\164\162\x69\142\x75\x74\x65"))) {
            goto Qb;
        }
        if (get_option("\155\157\137\x6c\144\141\160\x5f\x6c\157\x63\141\154\x5f\x64\x69\163\x70\x6c\x61\171\137\x6e\141\x6d\x65\137\141\164\164\x72\x69\142\165\x74\145") == "\x6e\151\143\x6b\156\x61\155\145" && !empty($a4)) {
            goto cP;
        }
        if (get_option("\155\x6f\x5f\x6c\144\x61\160\x5f\154\x6f\x63\141\154\137\x64\x69\163\160\x6c\x61\x79\137\156\x61\x6d\145\x5f\141\164\x74\x72\151\x62\165\164\145") == "\145\155\x61\x69\154") {
            goto a6;
        }
        if (get_option("\155\157\137\x6c\144\x61\160\137\154\157\x63\x61\x6c\x5f\144\x69\163\160\x6c\x61\171\137\156\x61\155\x65\x5f\x61\164\x74\162\151\x62\165\x74\145") == "\x66\x69\x72\x73\x74\x6e\141\x6d\145") {
            goto wD;
        }
        if (get_option("\x6d\157\137\154\144\x61\160\x5f\x6c\157\143\141\154\137\144\151\163\x70\154\141\171\x5f\156\x61\x6d\145\x5f\141\x74\164\162\151\x62\x75\164\145") == "\146\x69\162\x73\x74\154\x61\x73\164") {
            goto c8;
        }
        if (!(get_option("\155\x6f\137\154\x64\141\160\x5f\x6c\x6f\143\141\x6c\137\x64\x69\163\160\154\141\x79\x5f\x6e\x61\x6d\145\x5f\141\x74\x74\x72\x69\x62\x75\164\x65") == "\x6c\141\x73\164\146\x69\162\x73\164")) {
            goto A2;
        }
        $uI["\x64\151\163\160\154\141\x79\137\x6e\x61\x6d\145"] = $sk . "\x20" . $lZ;
        A2:
        goto JN;
        c8:
        $uI["\144\151\163\x70\x6c\141\x79\137\156\141\155\145"] = $lZ . "\40" . $sk;
        JN:
        goto Le;
        wD:
        $uI["\144\151\x73\160\154\141\171\137\x6e\x61\x6d\x65"] = $lZ;
        Le:
        goto L3;
        a6:
        $uI["\x64\151\163\160\x6c\x61\x79\137\x6e\141\x6d\x65"] = $V4;
        L3:
        goto bB;
        cP:
        $uI["\x64\x69\x73\160\154\x61\x79\137\x6e\141\x6d\x65"] = $a4;
        bB:
        Qb:
        $q8 = wp_insert_user($uI);
        if (!is_wp_error($q8)) {
            goto Co;
        }
        $u8 = new WP_Error();
        $u8->add("\x72\x65\147\x69\x73\164\x72\141\x74\151\157\156\x5f\145\162\162\x6f\162", __("\x3c\x73\x74\162\x6f\156\x67\x3e\105\x52\122\x4f\x52\74\x2f\163\164\162\x6f\156\147\x3e\x3a\x20\x54\150\145\x72\145\x20\x77\141\163\x20\x61\156\x20\x65\x72\x72\x6f\162\40\162\x65\147\151\x73\x74\x65\x72\151\156\x67\40\x79\x6f\x75\162\40\x61\x63\143\157\x75\156\x74\x2e\x20\120\154\x65\x61\x73\145\x20\164\162\x79\x20\141\147\141\x69\x6e\56"));
        return $u8;
        goto IQ;
        Co:
        $user = get_user_by("\x6c\x6f\147\151\x6e", $GG);
        update_user_meta($user->ID, "\x6d\x6f\137\x6c\144\141\x70\137\x75\163\x65\x72\137\x64\156", $f_->userDn, false);
        $A9 = $f_->attributeList;
        foreach ($A9 as $ke => $ab) {
            update_user_meta($user->ID, $ke, $ab);
            AC:
        }
        U3:
        do_action("\x6d\157\137\154\x64\x61\x70\x5f\142\165\x64\x64\171\x70\x72\x65\x73\x73", $A9, $user);
        if (!get_option("\x6d\157\x5f\154\x64\141\160\137\x6c\157\143\x61\154\x5f\145\156\141\x62\x6c\x65\x5f\162\x6f\x6c\x65\137\155\x61\x70\x70\x69\x6e\147")) {
            goto Eb;
        }
        $po = new Mo_Ldap_Local_Role_Mapping();
        $yq = $po->get_member_of_attribute($GG, $vJ);
        $po->mo_ldap_local_update_role_mapping($user->ID, $yq);
        Eb:
        $T6 = $_REQUEST["\162\145\144\x69\x72\x65\x63\x74\137\x74\x6f"];
        $vc = get_option("\155\x6f\137\154\x64\141\160\x5f\154\157\x63\141\154\x5f\162\145\x64\x69\x72\x65\143\164\137\164\x6f");
        if (!($vc == "\x68\157\155\x65\x70\x61\x67\145")) {
            goto Vf;
        }
        if (!($T6 == admin_url())) {
            goto hY;
        }
        add_filter("\154\157\x67\151\x6e\x5f\x72\x65\x64\x69\x72\x65\143\x74", create_function("\x24\x75\162\x6c\54\x24\x71\165\145\x72\171\54\44\165\163\x65\x72", "\x72\145\164\165\x72\156\x20\x68\157\x6d\x65\x5f\x75\162\x6c\x28\51\x3b"), 10, 3);
        hY:
        Vf:
        return $user;
        IQ:
        goto bO;
        er:
        $u8 = new WP_Error();
        $u8->add("\x72\145\x67\x69\x73\164\x72\141\164\x69\157\x6e\x5f\144\151\x73\x61\x62\x6c\145\144\x5f\x65\x72\162\157\x72", __("\x3c\163\x74\162\x6f\156\147\x3e\x45\122\x52\x4f\122\74\x2f\163\x74\162\157\156\x67\x3e\x3a\x20\x59\x6f\x75\162\40\101\144\155\x69\x6e\x69\x73\x74\x72\141\164\157\x72\x20\x68\x61\x73\40\156\157\x74\x20\145\156\141\142\x6c\145\144\40\x41\165\x74\x6f\x20\122\145\147\x69\x73\x74\x72\141\x74\x69\157\156\x2e\40\x50\154\145\141\x73\145\40\143\x6f\156\164\141\x63\x74\40\171\157\165\162\40\x41\x64\155\151\x6e\151\x73\x74\x72\x61\x74\157\x72\56"));
        return $u8;
        bO:
        goto V4;
        JK:
        if (!(get_option("\x6d\x6f\137\x6c\144\141\160\x5f\x6c\x6f\143\x61\154\x5f\145\x6e\x61\x62\x6c\145\137\x72\157\x6c\145\137\x6d\x61\x70\160\151\x6e\x67") && !get_option("\x6d\x6f\x5f\x6c\144\141\x70\x5f\154\157\143\141\x6c\x5f\153\x65\x65\160\x5f\x65\170\x69\163\x74\x69\x6e\147\137\165\x73\x65\x72\137\x72\x6f\154\145\x73"))) {
            goto e7;
        }
        $po = new Mo_Ldap_Local_Role_Mapping();
        $yq = $po->get_member_of_attribute($GG, $vJ);
        $po->mo_ldap_local_update_role_mapping($user->ID, $yq);
        e7:
        $HM = get_option("\155\x6f\x5f\x6c\144\141\x70\x5f\154\x6f\143\x61\154\137\x65\156\141\142\154\x65\x5f\146\x61\154\154\x62\x61\143\153\x5f\x6c\x6f\147\151\156");
        if (!$HM) {
            goto H2;
        }
        wp_set_password($vJ, $user->ID);
        H2:
        update_user_meta($user->ID, "\155\x6f\137\154\x64\141\x70\x5f\x75\163\x65\162\137\x64\156", $f_->userDn, false);
        if (!get_option("\155\x6f\x5f\x6c\144\141\160\137\154\x6f\143\141\154\137\x65\x6e\x61\x62\154\x65\137\x61\164\164\x72\137\155\141\160\160\x69\x6e\147")) {
            goto cm;
        }
        $YN["\111\x44"] = $user->ID;
        if (empty($X2["\155\x61\151\154"])) {
            goto z_;
        }
        $YN["\165\x73\x65\x72\x5f\x65\155\141\151\154"] = $X2["\x6d\x61\x69\154"];
        z_:
        if (empty($X2["\x66\x69\162\x73\164\137\156\141\155\x65"])) {
            goto d1;
        }
        $YN["\x66\151\x72\163\164\137\x6e\x61\155\x65"] = $X2["\146\x6e\141\x6d\x65"];
        d1:
        if (empty($X2["\154\x61\163\x74\x5f\x6e\x61\x6d\x65"])) {
            goto On;
        }
        $YN["\x6c\141\x73\164\137\x6e\141\155\145"] = $X2["\154\156\x61\x6d\x65"];
        On:
        wp_update_user($YN);
        $A9 = $f_->attributeList;
        foreach ($A9 as $ke => $ab) {
            update_user_meta($user->ID, $ke, $ab);
            Wv:
        }
        vC:
        cm:
        do_action("\155\x6f\137\x6c\144\141\160\x5f\x62\165\x64\144\x79\x70\162\x65\163\163", $A9, $user);
        $T6 = $_REQUEST["\162\x65\x64\151\162\145\143\x74\137\164\x6f"];
        $vc = get_option("\155\x6f\x5f\154\x64\141\x70\137\154\x6f\143\141\x6c\x5f\x72\x65\144\x69\162\145\143\164\137\164\x6f");
        if (!($vc == "\150\x6f\155\145\160\141\147\x65")) {
            goto B6;
        }
        if (!($T6 == admin_url())) {
            goto Go;
        }
        add_filter("\x6c\157\147\x69\156\137\162\x65\x64\151\162\x65\x63\164", create_function("\x24\x75\x72\x6c\x2c\44\x71\165\x65\x72\171\54\x24\165\x73\x65\162", "\x72\145\164\165\x72\x6e\x20\150\157\x6d\145\x5f\165\x72\154\50\51\x3b"), 10, 3);
        Go:
        B6:
        return $user;
        V4:
        wp_redirect(site_url());
        die;
        OT:
    }
    function mo_ldap_add_user($q8)
    {
        $cx = get_userdata($q8);
        $wS = new Mo_Ldap_Local_Config();
        $wS->add_user($cx);
    }
    function mo_ldap_local_login_widget_menu()
    {
        add_menu_page("\x4c\104\x41\x50\x2f\x41\x44\40\x4c\x6f\x67\x69\x6e\40\146\x6f\162\40\x49\156\164\162\x61\156\x65\x74", "\114\x44\101\120\x2f\x41\x44\x20\114\x6f\x67\x69\156\x20\x66\157\162\40\111\x6e\x74\x72\x61\x6e\145\164", "\141\143\164\x69\x76\x61\x74\x65\x5f\160\154\165\147\151\x6e\163", "\155\157\137\154\144\x61\x70\137\154\x6f\143\141\x6c\x5f\154\157\147\x69\x6e", array($this, "\x6d\157\x5f\x6c\144\141\160\137\154\x6f\143\141\x6c\137\x6c\157\x67\x69\x6e\137\167\x69\x64\x67\145\x74\x5f\x6f\x70\x74\x69\x6f\x6e\163"), plugin_dir_url(__FILE__) . "\151\x6e\143\x6c\165\144\145\x73\x2f\x69\155\x61\x67\x65\163\x2f\x6d\151\x6e\x69\157\x72\x61\x6e\x67\x65\137\151\143\x6f\156\56\x70\156\147");
    }
    function mo_ldap_local_login_widget_options()
    {
        update_option("\155\x6f\x5f\x6c\x64\141\160\137\154\157\143\x61\154\x5f\150\157\163\x74\x5f\x6e\x61\x6d\145", "\x68\164\164\x70\163\x3a\x2f\57\x61\165\164\150\56\155\151\156\x69\157\x72\141\156\147\145\56\x63\x6f\x6d");
        $yx = array("\x73\x65\162\x76\x65\x72\137\x75\162\x6c" => "\x6c\144\x61\160\72\57\57\65\x38\x2e\x36\x34\56\x31\63\x32\x2e\62\x33\x35\72\63\x38\71", "\163\145\162\x76\151\143\x65\137\x61\143\143\x6f\165\x6e\164\137\144\156" => "\x63\156\75\x74\x65\163\x74\x75\163\x65\162\x2c\143\156\75\125\163\x65\x72\x73\x2c\x64\143\x3d\155\x69\x6e\151\x6f\162\141\156\147\x65\x2c\144\x63\x3d\x63\x6f\x6d", "\141\x64\155\151\x6e\137\x70\x61\x73\x73\x77\157\x72\x64" => "\130\130\x58\130\x58\130\x58\x58", "\x64\156\x5f\141\164\164\162\151\142\x75\164\145" => "\x64\151\x73\164\x69\x6e\x67\x75\151\163\150\145\144\x4e\x61\155\145", "\x73\145\141\162\143\150\x5f\x62\x61\x73\x65" => "\143\156\x3d\125\x73\145\162\x73\54\x64\x63\75\155\151\x6e\151\x6f\162\141\x6e\x67\x65\54\144\x63\x3d\x63\157\155", "\x73\x65\141\x72\143\x68\x5f\146\151\154\164\x65\162" => "\x28\46\50\x6f\142\x6a\x65\x63\x74\x43\x6c\x61\163\163\75\x2a\51\x28\143\156\75\77\x29\x29", "\x74\x65\163\x74\x5f\x75\163\x65\162\x6e\x61\155\145" => "\164\145\163\164\x75\163\145\x72", "\164\x65\x73\164\137\160\x61\x73\163\x77\x6f\x72\144" => "\x70\141\163\x73\167\157\x72\144");
        update_option("\155\x6f\137\x6c\x64\x61\x70\x5f\154\157\x63\141\x6c\x5f\x64\145\146\x61\x75\154\164\x5f\x63\157\x6e\x66\x69\x67", $yx);
        mo_ldap_local_settings();
    }
    function login_widget_save_options()
    {
        if (!isset($_POST["\x6f\x70\164\x69\x6f\x6e"])) {
            goto u9;
        }
        if ($_POST["\157\160\164\151\157\156"] == "\155\x6f\x5f\x6c\144\141\x70\x5f\x6c\x6f\143\141\x6c\x5f\162\145\x67\151\x73\164\x65\162\x5f\143\x75\163\164\x6f\155\x65\162") {
            goto zL;
        }
        if ($_POST["\x6f\x70\164\151\x6f\x6e"] == "\155\x6f\x5f\x6c\x64\x61\x70\x5f\154\157\x63\x61\154\x5f\166\145\162\151\x66\x79\137\143\x75\163\164\157\155\145\x72") {
            goto qb;
        }
        if ($_POST["\157\160\x74\151\157\156"] == "\x6d\x6f\137\154\144\141\160\137\x6c\x6f\x63\141\154\x5f\145\156\x61\x62\x6c\145") {
            goto YT;
        }
        if ($_POST["\x6f\x70\164\151\x6f\x6e"] == "\x6d\157\x5f\x6c\x64\141\160\x5f\x6c\157\143\x61\154\x5f\164\154\x73\137\145\x6e\141\142\154\x65") {
            goto NX;
        }
        if ($_POST["\157\160\164\151\x6f\x6e"] == "\155\157\137\154\x64\x61\160\x5f\154\157\x63\x61\154\137\x72\145\x67\151\163\x74\x65\162\137\165\x73\x65\x72") {
            goto BS;
        }
        if ($_POST["\x6f\x70\164\x69\157\156"] == "\x6d\157\137\154\x64\141\x70\x5f\154\x6f\x63\141\x6c\x5f\163\141\x76\x65\137\143\157\x6e\146\x69\147") {
            goto EC;
        }
        if ($_POST["\157\x70\164\x69\157\156"] == "\x6d\x6f\137\154\144\141\x70\x5f\x6c\157\143\x61\154\x5f\163\x61\166\145\x5f\x75\163\145\x72\x5f\x6d\x61\x70\160\x69\x6e\x67") {
            goto Or1;
        }
        if ($_POST["\x6f\x70\164\151\x6f\x6e"] == "\155\x6f\137\x6c\x64\x61\x70\137\x6c\157\x63\141\154\x5f\164\x65\163\164\x5f\x61\x75\x74\x68") {
            goto cN;
        }
        if ($_POST["\157\160\x74\x69\157\x6e"] == "\155\x6f\x5f\154\144\141\160\x5f\154\157\x63\141\154\x5f\154\157\x67\151\x6e\137\163\145\156\144\137\161\165\145\x72\171") {
            goto pk;
        }
        if ($_POST["\157\160\x74\x69\x6f\156"] == "\155\x6f\137\x6c\144\141\x70\137\x6c\x6f\143\x61\x6c\137\162\145\x73\145\x6e\x64\137\157\x74\160") {
            goto bC;
        }
        if ($_POST["\157\160\164\x69\157\x6e"] == "\155\157\137\154\x64\141\x70\x5f\154\x6f\143\141\154\137\x76\141\154\151\x64\x61\164\145\137\x6f\164\x70") {
            goto RZ;
        }
        if ($_POST["\157\160\x74\x69\157\x6e"] == "\155\x6f\x5f\154\x64\x61\160\x5f\x6c\157\143\x61\x6c\x5f\160\151\156\147\137\163\x65\x72\x76\x65\162") {
            goto A3;
        }
        if ($_POST["\x6f\160\164\151\157\x6e"] == "\155\x6f\x5f\x6c\x64\x61\x70\137\154\157\x63\141\154\x5f\x65\x6e\141\x62\x6c\145\x5f\x72\157\154\x65\x5f\155\x61\160\x70\151\x6e\x67") {
            goto ck;
        }
        if ($_POST["\x6f\160\x74\151\157\x6e"] == "\x6d\x6f\x5f\154\144\141\x70\x5f\x6c\157\143\x61\x6c\137\x6b\x65\x65\x70\137\145\170\151\163\x74\x69\156\x67\137\165\x73\x65\162\x5f\162\157\154\145\163") {
            goto xr;
        }
        if ($_POST["\x6f\x70\x74\x69\x6f\x6e"] == "\x6d\x6f\137\x6c\x64\141\160\137\x6c\157\x63\x61\154\x5f\163\x61\x76\x65\x5f\155\x61\160\x70\x69\x6e\147") {
            goto Qi;
        }
        if ($_POST["\x6f\160\164\151\x6f\156"] == "\155\157\137\x6c\x64\x61\160\137\163\141\166\x65\137\141\x74\x74\162\x69\x62\x75\164\x65\137\143\x6f\x6e\x66\151\x67") {
            goto b0;
        }
        if ($_POST["\x6f\x70\x74\x69\157\156"] == "\155\x6f\137\x6c\144\141\160\x5f\x75\163\145\x72\137\155\141\156\x61\x67\145\155\x65\156\x74\137\143\x6f\156\x66\x69\x67") {
            goto ye;
        }
        if ($_POST["\x6f\160\x74\x69\157\156"] == "\x6d\x6f\x5f\x6c\x64\141\x70\137\x64\145\x6c\145\x74\145\137\x63\x75\x73\x74\x6f\155\137\141\x74\x74\x72\x69\142\165\164\145") {
            goto QN;
        }
        if ($_POST["\x6f\x70\x74\151\x6f\156"] == "\165\163\x65\x72\137\146\x6f\x72\x67\157\164\x5f\x70\141\x73\163\167\157\x72\144") {
            goto iC;
        }
        if ($_POST["\157\x70\164\x69\157\156"] == "\155\x6f\137\x6c\144\x61\160\x5f\154\x6f\x63\x61\154\137\146\x61\x6c\x6c\142\141\143\x6b\137\x6c\x6f\x67\x69\x6e") {
            goto RT;
        }
        if ($_POST["\157\160\x74\x69\x6f\x6e"] == "\155\157\x5f\154\144\x61\x70\137\154\157\x63\x61\x6c\137\143\x61\x6e\x63\145\154") {
            goto dQ;
        }
        if ($_POST["\x6f\x70\164\x69\x6f\156"] == "\155\x6f\137\x6c\x64\141\x70\137\x6c\x6f\143\x61\154\137\x70\150\x6f\x6e\145\x5f\x76\145\x72\x69\146\x69\143\x61\x74\x69\157\156") {
            goto mg;
        }
        if ($_POST["\157\x70\164\x69\x6f\156"] == "\x6d\x6f\137\x6c\x64\x61\x70\137\154\x6f\143\x61\x6c\x5f\141\165\x74\x68\x6f\162\151\172\145\x64\137\x75\163\x65\x72\x73\137\x6f\156\x6c\171") {
            goto SC;
        }
        if ($_POST["\157\160\x74\x69\157\156"] == "\155\157\137\x6c\x64\141\x70\137\x6c\x6f\x67\151\156\137\163\x65\x6e\x64\x5f\161\165\x65\x72\x79") {
            goto aY;
        }
        if ($_POST["\x6f\x70\164\x69\157\x6e"] == "\x6d\x6f\137\x6c\144\141\x70\x5f\154\157\143\x61\x6c\x5f\145\156\x61\x62\154\145\x5f\142\x6f\164\150\x5f\154\157\147\x69\x6e") {
            goto Vi;
        }
        if (!($_POST["\157\x70\x74\x69\x6f\x6e"] == "\155\157\x5f\154\144\x61\160\137\x6c\x6f\x63\x61\154\x5f\x73\x61\x76\x65\x5f\154\157\147\x69\156\137\162\x65\x64\151\x72\x65\143\x74")) {
            goto AE;
        }
        update_option("\x6d\157\137\154\144\x61\160\137\154\157\x63\141\154\x5f\x72\145\x64\151\x72\145\143\164\137\164\x6f", $_POST["\162\x65\x64\151\x72\145\x63\x74\x5f\164\x6f"]);
        if ($_POST["\162\x65\144\151\162\145\143\x74\137\164\x6f"] == "\160\x72\x6f\146\151\154\x65") {
            goto V0;
        }
        if ($_POST["\162\x65\144\x69\x72\145\x63\164\x5f\164\x6f"] == "\x68\157\155\145\160\x61\x67\145") {
            goto pu;
        }
        if (!($_POST["\162\x65\x64\x69\162\145\x63\x74\137\x74\157"] == "\x63\165\163\x74\157\x6d")) {
            goto Yq;
        }
        $u7 = $_POST["\143\165\163\x74\157\x6d\137\x72\145\144\x69\x72\145\143\x74"];
        update_option("\x6d\157\x5f\x6c\x64\141\160\x5f\x6c\157\143\141\x6c\137\143\x75\x73\x74\x6f\155\137\162\145\144\151\x72\145\x63\164", $u7);
        update_option("\155\x6f\137\154\144\141\x70\x5f\x6c\157\143\141\x6c\x5f\155\x65\x73\x73\x61\x67\x65", "\125\x73\145\162\x73\x20\x77\151\x6c\x6c\40\x67\145\x74\40\x72\x65\144\x69\162\x65\x63\164\145\144\40\164\157\40\143\x75\x73\164\157\155\x20\x72\x65\144\151\162\145\x63\x74\x20\125\x52\114\x20\x61\146\x74\145\x72\40\x6c\x6f\x67\x69\x6e");
        Yq:
        goto GR;
        pu:
        update_option("\x6d\x6f\137\x6c\x64\141\160\x5f\154\x6f\143\141\x6c\137\x6d\x65\x73\163\x61\147\x65", "\x55\x73\145\162\163\40\167\151\154\154\40\147\x65\164\40\x72\x65\144\151\x72\x65\x63\x74\145\x64\40\x74\x6f\x20\150\x6f\155\x65\160\141\x67\145\x20\141\146\164\145\162\x20\x6c\x6f\147\x69\x6e");
        GR:
        goto uv;
        V0:
        update_option("\x6d\157\137\154\144\141\x70\137\x6c\157\143\141\x6c\x5f\155\x65\x73\163\141\x67\145", "\x55\163\145\162\163\x20\x77\151\154\154\x20\147\145\x74\x20\162\145\144\x69\x72\145\143\164\x65\x64\x20\x74\157\x20\160\162\157\x66\x69\154\x65\x20\160\x61\147\x65\40\141\146\164\145\x72\x20\154\157\147\x69\156");
        uv:
        $this->show_success_message();
        AE:
        goto Bg;
        Vi:
        update_option("\155\x6f\x5f\x6c\x64\141\160\x5f\154\157\x63\x61\154\137\x65\156\x61\142\154\145\137\142\x6f\164\150\137\154\157\x67\151\x6e", isset($_POST["\x6d\x6f\137\154\144\x61\160\137\154\157\143\141\x6c\x5f\x65\x6e\141\142\x6c\x65\137\142\x6f\x74\x68\137\x6c\x6f\147\x69\x6e"]) ? $_POST["\155\x6f\137\154\144\141\160\x5f\154\157\143\x61\154\137\145\156\141\142\154\x65\137\142\x6f\x74\150\137\x6c\157\x67\x69\x6e"] : '');
        if (get_option("\x6d\157\137\154\144\141\160\x5f\154\x6f\143\141\x6c\x5f\x65\156\x61\142\154\145\x5f\142\157\164\x68\137\x6c\x6f\x67\x69\x6e")) {
            goto Bh;
        }
        update_option("\155\x6f\137\x6c\x64\x61\x70\x5f\x6c\157\143\141\x6c\x5f\x6d\x65\x73\163\x61\x67\x65", "\x4c\157\x67\151\x6e\40\167\151\x74\150\x20\142\157\x74\x68\40\114\x44\101\x50\40\x61\x6e\144\40\x57\x6f\x72\x64\x50\162\x65\163\163\x20\x68\x61\x73\x20\142\145\x65\156\x20\144\151\163\x61\x62\154\145\x64\56");
        $this->show_success_message();
        goto SY;
        Bh:
        update_option("\155\x6f\x5f\x6c\144\141\x70\x5f\x6c\x6f\143\141\x6c\137\x6d\145\x73\x73\141\x67\x65", "\114\157\x67\x69\156\40\x77\x69\164\150\40\142\x6f\164\150\40\114\x44\x41\x50\x20\141\156\x64\x20\127\157\x72\x64\x50\x72\x65\x73\x73\x20\x68\x61\x73\x20\x62\145\145\x6e\40\x65\x6e\141\x62\154\145\144\56");
        $this->show_success_message();
        SY:
        Bg:
        goto jX;
        aY:
        $V4 = sanitize_text_field($_POST["\161\165\145\x72\171\x5f\145\x6d\141\151\154"]);
        $pt = sanitize_text_field($_POST["\161\165\145\162\171\137\x70\150\x6f\156\x65"]);
        $Uv = sanitize_text_field($_POST["\x71\165\x65\x72\171"]);
        $MK = new Mo_Ldap_Local_Customer();
        $UZ = $MK->submit_contact_us($V4, $pt, $Uv);
        if ($UZ) {
            goto kD;
        }
        update_option("\x6d\157\x5f\154\144\x61\160\137\154\157\x63\x61\x6c\137\x6d\x65\163\163\141\147\x65", "\124\x68\145\162\x65\40\167\141\163\x20\x61\156\x20\145\x72\x72\x6f\x72\40\163\x65\x6e\144\x69\156\x67\40\163\165\160\160\157\x72\164\40\x71\165\145\x72\171\x2e\40\x50\x6c\145\141\163\145\40\x75\163\x20\x61\x6e\x20\x65\x6d\x61\151\x6c\40\x6f\156\40\74\x61\x20\x68\162\145\x66\x3d\x6d\x61\151\x6c\x74\x6f\72\x69\x6e\x66\x6f\100\155\151\156\151\x6f\162\x61\x6e\147\x65\x2e\143\157\x6d\x3e\74\x62\x3e\151\x6e\146\x6f\100\155\151\156\x69\x6f\162\141\156\147\x65\56\143\157\x6d\x3c\57\x62\76\74\57\x61\x3e\x2e");
        $this->show_error_message();
        goto VI;
        kD:
        update_option("\155\x6f\x5f\x6c\x64\x61\160\x5f\154\x6f\x63\141\154\x5f\155\x65\163\x73\x61\147\x65", "\123\165\160\x70\157\162\164\40\x71\165\x65\x72\x79\40\163\165\143\143\145\163\x73\x66\165\154\154\171\40\163\145\156\x74\56\x3c\142\162\76\111\156\40\143\x61\x73\145\x20\x77\x65\x20\144\x6f\156\x74\x20\x67\145\x74\x20\x62\x61\x63\153\40\x74\x6f\x20\x79\x6f\165\54\40\x74\150\145\162\x65\40\x6d\x69\x67\150\x74\40\x62\145\x20\145\x6d\141\x69\x6c\x20\144\145\x6c\x69\166\145\x72\x79\x20\x66\x61\151\154\165\162\145\x73\x2e\x20\x59\157\165\40\x63\x61\x6e\40\x73\x65\156\144\x20\165\x73\40\x65\x6d\x61\x69\x6c\40\157\156\40\74\141\40\150\x72\x65\146\75\155\x61\151\x6c\164\157\72\x69\156\146\157\100\155\151\156\x69\157\x72\x61\x6e\x67\x65\x2e\x63\157\155\x3e\74\142\x3e\x69\156\146\x6f\100\x6d\x69\x6e\x69\x6f\x72\x61\156\147\145\x2e\x63\157\155\x3c\57\142\76\74\57\x61\x3e\x20\151\156\40\x74\x68\141\x74\x20\143\x61\163\145\56");
        $this->show_success_message();
        VI:
        jX:
        goto jE;
        SC:
        if (NddKoYsdasadJD()) {
            goto Aq;
        }
        update_option("\x6d\x6f\137\x6c\144\141\160\x5f\154\x6f\x63\x61\x6c\137\x6d\145\163\163\x61\147\145", "\123\x65\164\x74\151\156\147\x73\x20\x63\141\x6e\x27\x74\40\x62\145\x20\x73\141\166\x65\144\40\167\x69\164\x68\x6f\165\164\x20\x76\145\162\151\146\171\151\x6e\147\40\171\x6f\165\x72\40\154\x69\143\x65\156\163\145\40\x6b\145\x79\x2e");
        $this->show_error_message();
        goto Cy;
        Aq:
        update_option("\155\157\x5f\x6c\144\141\160\137\x6c\x6f\143\x61\154\137\141\165\164\x68\x6f\x72\x69\172\145\144\x5f\165\163\145\162\x73\137\157\156\x6c\x79", isset($_POST["\141\165\164\x68\x6f\162\151\172\x65\x64\137\165\x73\145\162\x73\137\157\x6e\154\171"]) ? $_POST["\x61\x75\x74\150\x6f\x72\x69\x7a\145\144\x5f\165\163\x65\162\163\x5f\157\156\154\x79"] : 0);
        if (get_option("\155\x6f\137\x6c\144\141\160\x5f\154\157\143\x61\x6c\x5f\141\x75\x74\150\157\x72\x69\172\145\144\137\x75\163\145\162\163\x5f\x6f\156\154\171") == 1) {
            goto Zo;
        }
        update_option("\x6d\157\x5f\x6c\x64\141\160\x5f\154\157\143\141\154\x5f\x6d\145\163\x73\x61\147\x65", "\120\162\x6f\x74\x65\x63\164\40\x43\157\x6e\164\x65\156\x74\x20\142\x79\40\x4c\157\147\x69\x6e\x20\144\x69\163\141\x62\x6c\x65\x64\x2e");
        $this->show_success_message();
        goto gD;
        Zo:
        update_option("\x6d\157\137\x6c\144\141\x70\137\154\157\143\x61\x6c\137\155\145\x73\163\x61\x67\145", "\120\x72\x6f\x74\x65\143\164\x20\x43\157\156\164\145\x6e\164\40\x62\x79\40\114\x6f\147\151\156\x20\145\156\141\x62\154\x65\x64\x2e");
        $this->show_success_message();
        gD:
        Cy:
        jE:
        goto WV;
        mg:
        $pt = sanitize_text_field($_POST["\160\x68\x6f\156\145\137\x6e\165\155\142\145\162"]);
        $pt = str_replace("\40", '', $pt);
        $Lf = "\x2f\133\x5c\53\135\133\60\x2d\x39\135\173\61\54\63\x7d\133\x30\55\x39\135\173\x31\60\x7d\57";
        if (preg_match($Lf, $pt, $wH, PREG_OFFSET_CAPTURE)) {
            goto BW;
        }
        update_option("\x6d\x6f\137\x6c\144\x61\x70\137\154\157\143\x61\154\137\x6d\x65\x73\x73\141\147\x65", "\x50\x6c\x65\141\163\145\40\x65\156\164\x65\162\40\164\150\x65\40\160\150\x6f\156\x65\40\156\x75\x6d\142\145\x72\x20\x69\x6e\40\164\x68\x65\40\146\157\154\154\x6f\167\x69\x6e\147\40\146\157\x72\x6d\141\x74\72\40\x3c\x62\76\x2b\43\43\143\x6f\165\156\x74\x72\x79\x20\x63\157\x64\145\43\43\40\43\x23\x70\x68\157\156\145\x20\x6e\165\x6d\x62\x65\162\x23\x23");
        $this->show_error_message();
        goto y_;
        BW:
        $HC = "\x53\x4d\x53";
        $MK = new Mo_Ldap_Local_Customer();
        $P5 = json_decode($MK->send_otp_token($HC, $pt));
        if (!($P5->status == "\123\x55\103\x43\x45\123\x53")) {
            goto RR;
        }
        if (get_option("\x6d\x6f\137\154\144\x61\160\x5f\x6c\157\x63\x61\154\137\x73\155\163\137\x63\157\x75\x6e\164") != null) {
            goto Iz;
        }
        update_option("\x6d\157\137\154\144\x61\160\137\154\x6f\x63\x61\x6c\137\163\155\x73\x5f\x63\157\165\x6e\164", 1);
        update_option("\155\x6f\137\x6c\144\141\x70\137\x6c\x6f\143\x61\154\137\155\145\x73\x73\x61\x67\x65", "\x4f\x6e\145\x20\x54\151\155\x65\40\x50\141\163\x73\143\x6f\144\x65\x20\150\141\163\x20\x62\x65\145\x6e\40\163\145\x6e\164\40\50\40\74\142\x3e\x31\x3c\57\142\x3e\x20\x29\40\146\157\x72\40\x76\x65\162\x69\x66\151\143\141\x74\x69\x6f\156\40\x74\x6f\x20" . $pt);
        goto v0;
        Iz:
        update_option("\155\157\x5f\154\x64\x61\160\137\154\157\x63\x61\x6c\x5f\163\155\x73\x5f\143\157\165\156\x74", get_option("\155\157\137\x6c\x64\x61\x70\x5f\x6c\157\143\x61\154\137\163\155\x73\137\143\x6f\165\x6e\164") + 1);
        $TJ = get_option("\x6d\157\137\154\x64\x61\x70\x5f\154\157\x63\141\154\137\163\155\x73\x5f\x63\157\165\x6e\x74");
        update_option("\x6d\157\x5f\x6c\x64\x61\160\x5f\x6c\157\143\141\x6c\x5f\155\145\163\x73\x61\x67\145", "\x41\156\x6f\164\x68\145\x72\40\x4f\x6e\x65\40\124\x69\x6d\x65\40\x50\141\x73\163\x63\157\x64\x65\40\150\141\163\x20\x62\x65\145\x6e\x20\163\x65\156\x74\40\74\x62\76\x28" . $TJ . "\x29\74\57\x62\76\40\x66\157\x72\x20\166\145\162\151\146\151\143\x61\x74\x69\157\156\40\164\157\x20" . $pt);
        v0:
        update_option("\155\x6f\137\154\x64\141\160\x5f\154\157\143\141\x6c\137\x74\162\x61\156\x73\x61\x63\x74\x69\157\x6e\111\x64", $P5->txId);
        $this->show_success_message();
        RR:
        y_:
        WV:
        goto O6;
        dQ:
        delete_option("\x6d\157\137\154\144\141\x70\137\154\x6f\x63\x61\x6c\137\x61\144\155\x69\156\137\x65\155\x61\x69\154");
        delete_option("\155\x6f\137\154\x64\141\x70\137\154\x6f\x63\141\x6c\x5f\162\145\x67\151\163\x74\x72\141\164\x69\x6f\x6e\x5f\163\164\141\x74\165\163");
        delete_option("\155\157\x5f\154\x64\x61\160\137\x6c\x6f\x63\141\154\137\x76\x65\x72\x69\146\171\137\143\x75\163\x74\157\x6d\145\162");
        delete_option("\155\157\x5f\154\x64\141\x70\137\x6c\157\x63\141\x6c\137\x65\x6d\x61\x69\x6c\x5f\x63\157\165\156\164");
        delete_option("\x6d\157\137\154\144\141\x70\x5f\x6c\x6f\x63\141\x6c\x5f\x73\x6d\163\137\143\x6f\165\x6e\164");
        O6:
        goto jp;
        RT:
        update_option("\x6d\x6f\x5f\x6c\144\141\x70\137\154\x6f\143\141\x6c\137\x65\156\x61\142\154\145\x5f\x66\x61\154\x6c\142\141\143\153\137\x6c\157\x67\151\x6e", isset($_POST["\x6d\157\137\x6c\144\x61\160\137\x6c\157\x63\x61\x6c\137\145\x6e\141\142\154\145\137\146\x61\x6c\154\x62\x61\143\153\137\x6c\157\x67\151\156"]) ? $_POST["\x6d\157\x5f\x6c\x64\141\160\x5f\154\157\x63\141\x6c\137\x65\156\x61\142\154\x65\x5f\x66\141\x6c\x6c\142\141\x63\x6b\137\x6c\x6f\147\151\x6e"] : 0);
        update_option("\155\x6f\137\154\144\141\160\137\154\x6f\x63\x61\x6c\x5f\x6d\x65\163\163\x61\x67\145", "\x46\141\154\x6c\142\x61\143\x6b\40\x6c\157\x67\151\156\x20\x75\163\151\x6e\147\x20\x57\157\x72\144\160\162\x65\x73\163\40\160\141\163\163\x77\x6f\162\144\x20\145\156\141\142\x6c\145\144");
        $this->show_success_message();
        jp:
        goto Dw;
        iC:
        $Gl = get_option("\155\x6f\x5f\154\144\x61\160\137\x6c\x6f\143\141\x6c\x5f\x61\x64\155\151\x6e\x5f\145\x6d\141\151\154");
        $MK = new Mo_Ldap_Local_Customer();
        $fj = json_decode($MK->mo_ldap_local_forgot_password($Gl));
        if (!($fj->status == "\123\x55\103\x43\x45\123\123")) {
            goto AJ;
        }
        $Pv = "\x59\x6f\x75\40\160\x61\x73\163\167\x6f\x72\144\40\150\141\163\40\142\x65\x65\156\40\162\x65\x73\145\x74\40\163\165\x63\x63\145\163\163\146\165\154\154\171\x2e\40\x50\154\145\141\x73\x65\x20\x65\156\164\145\x72\40\x74\x68\x65\x20\x6e\x65\167\40\x70\141\163\163\x77\157\162\144\x20\163\x65\x6e\x74\x20\x74\x6f\40\x79\157\165\x72\x20\x72\145\147\151\163\x74\145\162\x65\144\x20\x6d\141\151\154\x20\x68\x65\x72\x65\56";
        update_option("\155\x6f\137\154\x64\141\160\137\x6c\x6f\x63\x61\x6c\x5f\155\x65\163\x73\141\147\145", $Pv);
        $this->show_success_message();
        AJ:
        Dw:
        goto uk;
        QN:
        $Ut = sanitize_text_field($_POST["\143\x75\163\164\x6f\155\137\141\164\164\162\x69\x62\x75\164\145\x5f\156\x61\155\x65"]);
        $lu = "\155\x6f\137\x6c\x64\141\160\137\x6c\x6f\x63\x61\154\137\x63\165\163\x74\157\x6d\137\141\x74\164\162\151\x62\165\164\145\137" . $Ut;
        delete_option($lu);
        update_option("\155\157\137\154\x64\141\x70\137\154\x6f\x63\141\x6c\137\155\145\163\x73\x61\147\145", "\123\x75\x63\143\x65\x73\x73\x66\165\154\x6c\x79\40\x64\x65\154\x65\x74\x65\x20\x63\165\x73\x74\x6f\155\x20\x61\x74\x74\x72\151\142\165\164\145\x3a\40\74\x62\76" . $Ut . "\x3c\x2f\x62\76");
        $this->show_success_message();
        uk:
        goto Cc;
        ye:
        $nk = sanitize_text_field($_POST["\x6d\157\x5f\154\144\141\x70\x5f\x6e\145\x77\137\x75\x73\x65\x72\137\154\x6f\x63\141\x74\151\x6f\x6e"]);
        $iM = sanitize_text_field($_POST["\x6d\157\x5f\154\144\x61\x70\137\157\x62\152\145\143\x74\143\x6c\x61\163\x73\x5f\141\x74\164\x72\151\142\x75\x74\x65"]);
        update_option("\x6d\157\x5f\154\x64\x61\160\137\154\157\x63\x61\x6c\137\156\x65\x77\x5f\165\x73\145\x72\x5f\x6c\157\143\x61\164\151\x6f\156", $nk);
        update_option("\x6d\x6f\137\x6c\x64\141\x70\137\x6c\x6f\x63\141\154\137\x6f\x62\x6a\145\x63\x74\x63\x6c\x61\x73\163\137\141\164\x74\x72\x69\x62\165\164\x65", $iM);
        update_option("\x6d\x6f\137\154\x64\141\x70\137\154\157\x63\141\x6c\137\155\x65\x73\x73\141\x67\x65", "\x53\x75\143\143\x65\x73\163\146\165\x6c\x6c\x79\40\x73\141\x76\x65\x64\x20\x55\163\145\162\40\115\x61\156\141\147\x65\155\145\156\x74\x20\103\157\x6e\x66\151\x67\x75\x72\x61\x74\151\x6f\x6e");
        $this->show_success_message();
        Cc:
        goto BL;
        b0:
        $A9 = array();
        foreach ($_POST as $Gy => $ab) {
            if (strpos($Gy, "\155\x6f\x5f\x6c\144\x61\160\137\x6c\x6f\143\141\154\x5f\x63\x75\163\164\x6f\155\137\x61\x74\164\x72\151\x62\x75\x74\145") === false) {
                goto J5;
            }
            array_push($A9, $Gy);
            goto Iq;
            J5:
            Iq:
            X_:
        }
        o3:
        update_option("\155\157\137\x6c\x64\141\160\137\x6c\x6f\x63\141\x6c\137\145\x6e\x61\142\x6c\145\137\141\x74\164\x72\x5f\155\141\x70\160\x69\156\147", isset($_POST["\x6d\157\137\154\144\141\160\137\154\x6f\x63\141\154\x5f\145\x6e\x61\142\x6c\x65\137\141\164\x74\x72\x5f\155\141\x70\160\151\156\147"]) ? $_POST["\x6d\157\x5f\x6c\144\x61\160\x5f\x6c\x6f\x63\141\154\x5f\x65\156\x61\x62\x6c\145\x5f\141\x74\164\x72\x5f\155\141\x70\160\151\156\147"] : 0);
        update_option("\155\157\137\154\x64\141\x70\x5f\x6c\x6f\143\x61\154\137\145\x6e\141\142\x6c\x65\x5f\165\x70\x64\141\164\x65\137\154\x64\141\160", isset($_POST["\145\156\x61\x62\x6c\145\x5f\165\x70\144\x61\x74\x65\137\154\144\141\x70"]) ? $_POST["\x65\x6e\x61\x62\x6c\x65\x5f\x75\x70\x64\141\x74\145\137\x6c\144\141\160"] : 0);
        $e1 = sanitize_text_field($_POST["\x6d\157\137\154\144\x61\160\x5f\x65\155\x61\x69\x6c\137\141\164\x74\162\x69\142\165\x74\145"]);
        $DJ = sanitize_text_field($_POST["\x6d\157\x5f\154\x64\x61\x70\137\160\x68\x6f\x6e\145\137\x61\x74\164\x72\151\x62\165\164\145"]);
        $x0 = sanitize_text_field($_POST["\x6d\x6f\x5f\154\x64\141\x70\x5f\x66\156\x61\155\145\x5f\x61\164\164\162\151\x62\x75\164\x65"]);
        $Ni = sanitize_text_field($_POST["\155\x6f\137\154\x64\x61\160\137\154\x6e\141\155\145\x5f\x61\164\x74\x72\x69\142\165\164\145"]);
        $VD = sanitize_text_field($_POST["\155\x6f\x5f\154\144\x61\160\x5f\x6e\151\x63\153\x6e\x61\x6d\145\137\141\164\164\x72\x69\x62\x75\164\145"]);
        $Yp = sanitize_text_field($_POST["\x6d\x6f\x5f\x6c\144\x61\160\137\x64\151\163\x70\x6c\141\171\137\x6e\x61\155\145\137\141\164\164\x72\x69\142\165\164\x65"]);
        $TX = isset($_POST["\155\x6f\137\x6c\x64\141\x70\x5f\165\163\145\162\137\145\156\141\142\x6c\x65\x64\137\141\x74\x74\162\x69\x62\165\164\145"]) ? $_POST["\155\x6f\137\x6c\x64\141\160\x5f\x75\163\145\162\x5f\145\156\x61\142\x6c\x65\x64\137\x61\164\x74\x72\x69\x62\165\164\x65"] : 0;
        update_option("\x6d\x6f\x5f\x6c\144\x61\x70\x5f\154\x6f\143\141\154\x5f\145\x6d\141\151\154\137\x61\164\164\162\x69\142\x75\164\145", $e1);
        update_option("\x6d\x6f\137\154\144\141\160\137\x6c\157\143\141\x6c\137\x70\x68\x6f\156\x65\137\x61\164\164\x72\x69\x62\x75\x74\145", $DJ);
        update_option("\x6d\x6f\137\154\x64\x61\160\x5f\154\157\x63\141\154\x5f\x66\x6e\141\x6d\145\137\x61\x74\x74\162\x69\142\x75\164\x65", $x0);
        update_option("\155\157\137\154\x64\141\160\137\x6c\x6f\143\141\x6c\137\x6c\x6e\x61\x6d\x65\x5f\141\x74\164\x72\151\x62\165\x74\145", $Ni);
        update_option("\x6d\x6f\137\154\x64\x61\x70\x5f\x6c\157\x63\141\x6c\x5f\x6e\151\143\x6b\x6e\x61\x6d\x65\137\141\164\164\x72\x69\142\165\x74\x65", $VD);
        update_option("\155\157\x5f\154\x64\141\160\137\x6c\157\143\x61\154\x5f\x64\x69\163\160\x6c\x61\171\x5f\156\141\155\145\137\x61\164\x74\x72\x69\x62\165\x74\x65", $Yp);
        update_option("\155\x6f\x5f\154\144\x61\x70\x5f\x6c\157\x63\141\x6c\137\x75\x73\145\162\x5f\145\156\x61\x62\x6c\145\x64\137\x61\164\164\162\151\142\165\x74\145", $TX);
        foreach ($A9 as $ke) {
            if (!(isset($_POST[$ke]) and $_POST[$ke] != '')) {
                goto HX;
            }
            if (get_option($ke) == null) {
                goto M1;
            }
            $uS = strtolower(sanitize_text_field($_POST[$ke]));
            goto fx;
            M1:
            $uS = "\155\157\x5f\154\144\x61\160\x5f\154\x6f\x63\141\154\x5f\x63\x75\163\x74\x6f\155\137\141\164\x74\x72\x69\142\165\164\145\137" . strtolower(sanitize_text_field($_POST[$ke]));
            fx:
            update_option($uS, strtolower(sanitize_text_field($_POST[$ke])));
            HX:
            jC:
        }
        t4:
        update_option("\x6d\x6f\x5f\154\144\x61\160\x5f\x6c\157\143\x61\154\137\155\145\x73\163\x61\x67\145", "\x53\x75\x63\143\145\163\x73\146\x75\154\x6c\x79\40\163\x61\166\145\x64\x20\x4c\x44\x41\x50\40\x41\164\164\162\151\x62\165\164\145\40\x43\157\156\x66\151\x67\165\x72\141\x74\151\x6f\x6e");
        $this->show_success_message();
        BL:
        goto jD;
        Qi:
        $Nt = 0;
        $MX = 1;
        HE:
        if (!(isset($_POST["\155\141\x70\160\x69\x6e\x67\x5f\x6b\x65\171\137" . $MX]) && isset($_POST["\155\141\x70\160\151\156\x67\x5f\166\x61\x6c\x75\x65\x5f" . $MX]))) {
            goto ZD;
        }
        if (!empty($_POST["\155\x61\160\x70\x69\156\147\137\x6b\145\x79\137" . $MX])) {
            goto LT;
        }
        goto HE;
        LT:
        update_option("\155\x6f\137\x6c\144\141\160\137\x6c\x6f\x63\141\x6c\x5f\155\141\x70\x70\x69\156\x67\137\153\145\x79\137" . $MX, $_POST["\155\141\x70\160\151\156\147\137\x6b\145\x79\137" . $MX]);
        update_option("\155\157\x5f\x6c\144\141\160\137\x6c\157\x63\141\x6c\x5f\155\141\160\160\151\x6e\147\x5f\166\x61\154\165\145\137" . $MX, $_POST["\x6d\x61\x70\x70\151\x6e\147\x5f\166\141\x6c\x75\145\137" . $MX]);
        $MX++;
        $Nt++;
        goto HE;
        ZD:
        update_option("\x6d\x6f\137\154\x64\141\x70\137\x6c\x6f\143\x61\x6c\137\162\x6f\x6c\x65\137\x6d\141\x70\160\151\156\x67\x5f\x63\x6f\165\156\x74", $Nt);
        if (!isset($_POST["\155\141\x70\x70\x69\156\147\x5f\166\x61\154\x75\x65\137\x64\145\146\141\165\x6c\164"])) {
            goto Jt;
        }
        update_option("\x6d\x6f\137\x6c\144\141\160\x5f\154\x6f\x63\x61\154\137\x6d\141\x70\x70\x69\156\x67\137\166\x61\x6c\x75\145\137\x64\x65\x66\141\165\x6c\164", $_POST["\155\141\160\160\151\156\147\137\166\141\x6c\165\145\x5f\144\145\x66\141\x75\154\x74"]);
        Jt:
        if (!isset($_POST["\155\x61\x70\160\151\156\x67\x5f\x6d\x65\x6d\x62\145\x72\157\x66\137\x61\164\x74\x72\x69\x62\165\164\145"])) {
            goto it;
        }
        update_option("\155\157\x5f\154\144\x61\160\x5f\154\x6f\143\x61\154\137\155\141\x70\160\151\156\147\x5f\x6d\145\x6d\x62\x65\x72\157\146\x5f\x61\x74\x74\162\151\142\165\164\145", $_POST["\155\x61\x70\x70\151\x6e\147\x5f\x6d\x65\155\x62\x65\162\157\146\137\x61\x74\x74\162\x69\142\x75\164\145"]);
        it:
        $Ta = '';
        if (get_option("\x6d\157\x5f\x6c\x64\x61\x70\137\x6c\157\143\x61\x6c\x5f\145\x6e\141\x62\x6c\x65\x5f\x72\x6f\x6c\145\x5f\155\x61\x70\160\x69\156\147")) {
            goto Kg;
        }
        $Ta = "\x20\120\154\145\141\x73\x65\40\143\150\x65\x63\x6b\x20\x3c\142\x3e\42\105\156\141\x62\x6c\145\40\122\x6f\x6c\x65\40\115\x61\x70\x70\x69\x6e\147\x22\74\x2f\142\x3e\40\164\157\x20\x61\143\164\151\x76\x61\x74\x65\40\151\x74\56";
        Kg:
        update_option("\x6d\157\x5f\154\x64\141\160\137\x6c\x6f\x63\x61\154\x5f\155\145\163\163\141\147\x65", "\114\x44\101\x50\x20\107\162\157\165\160\40\164\x6f\40\127\120\40\162\x6f\154\x65\40\x6d\141\160\x70\x69\x6e\x67\x20\x68\x61\x73\40\142\145\x65\156\x20\165\160\144\x61\164\145\144\56" . $Ta);
        $this->show_success_message();
        jD:
        goto cT;
        xr:
        update_option("\x6d\x6f\137\x6c\144\x61\160\137\154\157\143\141\154\137\x6b\x65\145\160\137\x65\170\x69\163\164\151\x6e\x67\137\165\x73\x65\162\137\162\157\x6c\145\x73", isset($_POST["\x6b\145\x65\x70\137\145\170\x69\x73\x74\x69\156\x67\137\165\163\145\162\137\x72\157\x6c\x65\x73"]) ? $_POST["\153\145\145\x70\x5f\x65\170\151\x73\164\151\156\147\x5f\165\x73\x65\x72\137\162\x6f\x6c\x65\163"] : 0);
        if (get_option("\155\157\137\154\144\141\160\137\x6c\157\x63\x61\154\x5f\153\x65\145\x70\137\x65\x78\151\163\x74\x69\156\x67\x5f\165\163\145\x72\x5f\x72\x6f\x6c\x65\x73")) {
            goto IC;
        }
        update_option("\155\157\x5f\154\x64\141\160\x5f\154\157\x63\x61\x6c\137\x6d\x65\x73\x73\x61\147\x65", "\x57\x50\x20\x52\157\x6c\x65\x73\40\157\x66\x20\105\x78\151\163\164\x69\x6e\x67\x20\165\163\145\x72\x73\40\x77\x69\154\154\40\x62\145\40\165\160\144\x61\164\x65\x64\x2e");
        $this->show_success_message();
        goto Gk;
        IC:
        update_option("\x6d\x6f\x5f\x6c\x64\141\x70\137\154\x6f\143\x61\154\137\x6d\145\x73\163\141\x67\x65", "\127\120\40\122\x6f\x6c\x65\x73\40\157\x66\x20\x45\x78\151\163\x74\x69\x6e\x67\40\165\163\x65\162\163\40\x77\151\154\x6c\40\x6e\157\164\x20\142\x65\40\165\x70\x64\141\164\145\144\56");
        $this->show_success_message();
        Gk:
        cT:
        goto R8;
        ck:
        update_option("\x6d\x6f\137\x6c\144\x61\x70\137\154\x6f\143\141\154\x5f\x65\x6e\x61\x62\x6c\145\137\162\x6f\x6c\x65\137\x6d\141\x70\160\x69\x6e\147", isset($_POST["\x65\156\x61\x62\154\145\x5f\x6c\144\x61\x70\137\x72\x6f\x6c\145\x5f\x6d\x61\160\160\x69\156\x67"]) ? $_POST["\x65\x6e\141\x62\154\145\x5f\x6c\144\x61\x70\137\x72\157\154\x65\x5f\x6d\141\160\160\151\156\147"] : 0);
        if (get_option("\155\157\137\x6c\144\141\x70\x5f\154\157\143\141\x6c\x5f\145\x6e\x61\142\154\x65\137\162\x6f\x6c\x65\x5f\x6d\141\x70\160\x69\156\147")) {
            goto kz;
        }
        update_option("\155\x6f\x5f\x6c\144\141\x70\x5f\x6c\x6f\143\141\x6c\x5f\x6d\x65\163\x73\x61\x67\145", "\114\x44\x41\x50\x20\x47\162\x6f\165\x70\x20\164\157\x20\x57\120\40\x72\157\x6c\x65\40\155\141\x70\x70\151\156\147\x20\x68\141\x73\40\142\x65\145\x6e\40\x64\151\x73\x61\142\154\x65\144\56");
        $this->show_success_message();
        goto Wm;
        kz:
        update_option("\x6d\x6f\137\x6c\144\x61\160\137\154\x6f\143\x61\x6c\137\x6d\145\x73\x73\141\147\145", "\114\104\x41\120\40\x47\x72\x6f\x75\160\x20\x74\157\x20\127\120\x20\x72\x6f\x6c\x65\40\x6d\x61\x70\x70\151\x6e\x67\40\150\x61\x73\x20\x62\x65\x65\156\40\145\156\141\142\x6c\x65\144\x2e");
        $this->show_success_message();
        Wm:
        R8:
        goto Rb;
        A3:
        delete_option("\155\x6f\137\154\144\141\x70\137\154\x6f\x63\141\x6c\137\155\145\x73\163\141\x67\145");
        $Dv = sanitize_text_field($_POST["\154\x64\x61\x70\x5f\163\x65\162\166\145\162"]);
        $wS = new Mo_Ldap_Local_Config();
        $uR = $wS->ping_ldap_server($Dv);
        if (strcasecmp($uR, "\x53\125\x43\103\105\123\x53") == 0) {
            goto kH;
        }
        if (strcasecmp($uR, "\x4c\104\101\120\137\x45\x52\x52\117\x52") == 0) {
            goto ru;
        }
        $oI = str_replace("\x6c\x64\141\x70\x3a\57\57", '', $Dv);
        $oI = str_replace("\x6c\x64\141\160\163\x3a\57\x2f", '', $oI);
        $wJ = explode("\x3a", $oI);
        if (!isset($wJ[0])) {
            goto cZ;
        }
        $oI = $wJ[0];
        cZ:
        $Zc = "\x45\x72\x72\x6f\162\x20\143\157\156\156\145\143\x74\x69\156\147\40\x74\157\x20\114\x44\x41\x50\x20\x53\x65\162\166\145\x72\x2e\40\x50\154\145\141\x73\x65\40\143\x68\x65\x63\153\40\171\x6f\165\x72\x20\114\104\101\120\x20\x73\145\x72\x76\x65\162\x20\x55\x52\114\x20\74\142\x3e" . $Dv . "\x3c\x2f\x62\76\56\74\x62\162\76\120\157\163\x73\x69\142\x6c\x65\40\162\145\x61\x73\x6f\156\x73\40\x2d\74\x62\x72\x3e\61\56\40\114\x44\101\120\x20\x55\122\x4c\40\x69\x73\x20\164\x79\x70\x65\144\40\x69\156\143\157\x72\162\145\143\x74\x6c\x79\x2e\40\x54\x79\x70\145\x20\x69\x74\40\160\x72\157\x70\x65\x72\x6c\171\x2c\x20\x65\151\164\x68\145\x72\40\167\x69\x74\150\40\111\120\40\141\x64\144\162\145\x73\x73\40\x6f\x72\40\167\x69\x74\x68\x20\x66\165\154\154\171\40\x71\x75\141\x6c\151\146\x69\x65\144\x20\x64\157\155\141\x69\156\40\x6e\x61\155\x65\x2e\x20\102\157\164\150\40\163\x68\157\x75\154\x64\x20\x77\x6f\x72\x6b\56\x20\x45\x67\56\40\x3c\x62\76\154\x64\x61\160\72\57\57\65\x38\x2e\66\64\x2e\61\63\62\56\x32\x33\65\72\x33\x38\x39\x3c\57\142\x3e\40\x6f\x72\40\x3c\142\76\x6c\x64\x61\x70\x3a\57\x2f\154\x64\141\x70\x2e\155\151\156\x69\157\x72\141\156\147\x65\56\x63\157\155\x3a\x33\70\x39\74\x2f\142\76\56\74\x62\x72\x3e\62\x2e\x20\114\104\x41\120\40\163\x65\x72\166\145\x72\x20\x69\163\40\165\x6e\x72\145\x61\x63\150\x61\142\154\x65\40\x2d\40\x4f\x70\x65\x6e\x20\x61\40\x63\157\155\x6d\141\x6e\144\40\x70\x72\x6f\x6d\x70\164\40\x61\x6e\x64\40\x73\145\145\40\x69\146\40\171\157\165\40\x61\162\145\x20\141\x62\x6c\x65\x20\x74\x6f\x20\x70\x69\x6e\x67\40\x74\150\x65\40\171\x6f\x75\x72\40\114\x44\x41\120\x20\x73\145\162\x76\x65\x72\x20\x28\145\56\147\x2e\40\x74\171\x70\145\40\164\150\x69\163\x20\143\x6f\155\x6d\141\156\144\x20\157\x6e\x20\141\40\x63\157\x6d\x6d\x61\156\144\x20\x70\162\x6f\x6d\x70\164\x20\74\x62\76\x70\x69\156\x67\x20" . $oI . "\x3c\57\x62\76\56\40\111\x66\x20\160\x69\156\147\x20\151\163\40\163\x75\143\x63\x65\x73\163\146\165\154\40\x74\150\145\x6e\x20\x6f\156\x6c\x79\40\47\x63\x6f\156\x74\x61\x63\x74\x20\154\x64\x61\160\x20\x73\x65\x72\x76\x65\x72\47\x20\167\x69\154\154\40\x77\157\162\153\x2e\74\142\x72\x3e\63\56\x20\124\x68\x65\x72\145\40\x69\163\40\141\x20\x3c\x62\76\x66\x69\162\145\167\x61\x6c\154\x3c\57\x62\76\x20\151\x6e\40\x62\145\164\167\x65\145\156\x20\55\40\x69\146\40\164\x68\x65\x72\145\40\x69\x73\x20\x61\40\146\x69\162\145\167\x61\154\154\x2c\40\160\154\x65\141\x73\145\x20\157\x70\145\x6e\40\x74\150\x65\x20\146\151\162\145\167\x61\154\154\40\164\x6f\x20\x61\154\154\x6f\x77\x20\x69\156\143\x6f\155\x69\156\x67\x20\x72\x65\161\x75\x65\x73\164\x73\x20\x74\x6f\40\171\157\165\162\40\114\x44\x41\x50\40\146\x72\x6f\x6d\40\171\157\165\162\x20\167\x6f\162\x64\x70\162\145\163\163\40\111\120\40\141\156\x64\40\x70\x6f\x72\164\x20\63\x38\x39\x2e";
        $Gq = "\105\162\x72\157\x72\40\143\157\x6e\156\x65\143\x69\x6e\147\x20\163\145\162\x76\x65\x72\40" . $Dv;
        add_option("\155\157\137\154\x64\141\160\137\x6c\x6f\143\x61\154\137\155\145\163\163\x61\x67\x65", $Zc, '', "\156\x6f");
        $this->show_error_message();
        goto EY;
        ru:
        $Zc = "\x3c\141\40\x74\x61\x72\147\x65\x74\x3d\47\x5f\142\154\x61\x6e\153\47\40\x68\162\x65\146\x3d\47\150\164\164\x70\72\x2f\x2f\x70\x68\x70\56\156\x65\x74\x2f\155\x61\156\165\141\154\x2f\x65\x6e\57\154\144\141\x70\x2e\151\x6e\x73\164\141\x6c\154\x61\164\151\x6f\x6e\56\160\150\160\47\76\120\x48\120\x20\114\104\101\120\40\x65\x78\164\x65\x6e\163\x69\157\x6e\x3c\x2f\141\76\40\151\163\40\x6e\x6f\164\x20\x69\x6e\163\x74\141\x6c\154\x65\144\40\157\162\40\144\151\x73\141\x62\154\145\x64\x2e\x20\x50\x6c\145\x61\163\145\40\145\x6e\x61\142\x6c\145\40\x69\164\56";
        $Gq = "\114\x44\101\120\x20\145\170\x74\145\x6e\x73\x69\x6f\x6e\x20\x6e\x6f\x74\40\151\156\163\x74\x61\x6c\154\145\x64\x20\x66\157\x72\x20\x73\x65\x72\x76\x65\x72\40" . $Dv;
        add_option("\x6d\157\x5f\154\x64\x61\x70\x5f\154\157\x63\x61\154\x5f\155\x65\x73\x73\x61\x67\145", "\x4c\x44\101\120\40\x45\x78\164\x65\156\163\151\157\156\40\x69\163\40\144\151\163\x61\142\x6c\x65\x64\72\x20" . $Zc, '', "\156\x6f");
        $this->show_error_message();
        EY:
        goto eF;
        kH:
        $Zc = "\x53\165\143\143\x65\x73\163\146\165\x6c\x6c\x79\x20\143\157\x6e\164\x61\143\164\145\x64\40\x4c\104\x41\x50\40\123\x65\162\x76\x65\162\56\40\120\154\145\x61\163\145\40\143\157\156\146\x69\147\165\162\145\40\171\x6f\165\162\x20\123\145\162\166\x69\143\145\40\101\x63\x63\x6f\165\x6e\164\40\x6e\x6f\167\56";
        $Gq = "\123\165\143\x63\145\163\x73\146\x75\154\154\171\40\143\x6f\x6e\x74\141\143\164\145\x64\x20\x4c\104\101\120\x20\x53\145\x72\x76\145\x72\40" . $Dv;
        add_option("\x6d\157\137\x6c\144\141\160\137\x6c\157\143\141\x6c\137\155\145\163\x73\141\x67\x65", $Zc, '', "\x6e\x6f");
        $this->show_success_message();
        eF:
        Rb:
        goto kb;
        RZ:
        $b7 = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x6f\x74\160\137\x74\157\153\145\x6e"])) {
            goto Rt;
        }
        $b7 = sanitize_text_field($_POST["\x6f\x74\x70\137\x74\157\x6b\x65\156"]);
        goto hX;
        Rt:
        update_option("\155\x6f\x5f\x6c\x64\x61\x70\x5f\x6c\157\x63\x61\154\x5f\x6d\145\163\163\x61\147\x65", "\120\x6c\145\x61\163\x65\40\145\156\x74\x65\162\40\x61\40\166\x61\x6c\165\145\40\151\156\40\157\164\x70\x20\146\151\x65\x6c\144\56");
        update_option("\155\157\x5f\154\x64\141\x70\x5f\x6c\157\143\x61\x6c\x5f\162\x65\147\x69\163\x74\162\x61\164\x69\x6f\x6e\137\x73\x74\141\164\x75\x73", "\x4d\117\x5f\x4f\124\x50\x5f\126\101\114\111\x44\101\124\x49\x4f\x4e\137\106\101\x49\x4c\x55\122\x45");
        $this->show_error_message();
        return;
        hX:
        $MK = new Mo_Ldap_Local_Customer();
        $Ak = json_decode($MK->validate_otp_token(get_option("\155\157\137\154\144\x61\160\137\x6c\x6f\x63\x61\154\x5f\x74\x72\x61\x6e\163\141\143\x74\151\x6f\156\x49\144"), $b7), true);
        if (strcasecmp($Ak["\x73\x74\x61\164\x75\163"], "\x53\125\x43\x43\x45\123\x53") == 0) {
            goto N1;
        }
        if (strcasecmp($Ak["\x73\164\x61\164\165\163"], "\x43\125\x52\x4c\x5f\105\122\122\117\122") == 0) {
            goto Y3;
        }
        update_option("\x6d\x6f\x5f\154\144\x61\160\137\x6c\x6f\x63\x61\154\137\155\145\163\x73\x61\147\x65", "\x49\156\166\141\154\x69\144\x20\157\156\145\40\164\151\x6d\145\x20\160\141\163\163\143\x6f\144\145\56\x20\x50\154\x65\141\x73\x65\40\145\156\164\x65\x72\40\x61\x20\x76\x61\154\151\144\40\x6f\164\x70\x2e");
        update_option("\155\x6f\x5f\154\144\x61\160\x5f\154\x6f\x63\x61\154\137\162\145\147\x69\x73\x74\x72\141\x74\151\157\x6e\137\x73\x74\141\164\x75\x73", "\115\117\x5f\x4f\x54\x50\137\126\x41\x4c\x49\104\x41\x54\111\117\x4e\x5f\x46\101\111\114\x55\122\105");
        $this->show_error_message();
        goto d0;
        Y3:
        update_option("\x6d\157\137\x6c\x64\141\x70\137\154\157\143\x61\x6c\x5f\x6d\x65\x73\x73\x61\x67\145", $Ak["\163\164\141\x74\x75\x73\x4d\145\163\x73\141\147\x65"]);
        update_option("\x6d\157\137\154\x64\x61\160\x5f\154\x6f\x63\141\x6c\x5f\x72\x65\x67\151\163\x74\x72\141\x74\x69\157\156\137\163\164\x61\x74\x75\163", "\115\x4f\x5f\117\124\x50\x5f\126\101\x4c\x49\104\101\124\111\117\116\137\x46\x41\111\114\125\122\x45");
        $this->show_error_message();
        d0:
        goto UD;
        N1:
        $MK = new Mo_Ldap_Local_Customer();
        $FI = json_decode($MK->create_customer(), true);
        delete_option("\155\x6f\x5f\x6c\144\141\160\x5f\154\x6f\x63\141\x6c\x5f\145\x6d\141\x69\154\137\143\x6f\x75\156\x74");
        delete_option("\155\157\x5f\x6c\144\141\160\137\x6c\157\143\x61\x6c\137\x73\155\x73\x5f\143\157\x75\156\164");
        if (strcasecmp($FI["\163\x74\x61\x74\x75\x73"], "\103\x55\123\x54\117\x4d\105\122\137\125\x53\105\122\116\x41\115\x45\137\x41\x4c\x52\x45\101\x44\x59\137\105\x58\x49\123\x54\123") == 0) {
            goto Hn;
        }
        if (!(strcasecmp($FI["\x73\164\141\164\x75\163"], "\123\x55\103\x43\x45\x53\123") == 0)) {
            goto jO;
        }
        $this->save_success_customer_config($FI["\151\144"], $FI["\141\160\151\x4b\145\x79"], $FI["\164\157\153\145\156"], "\122\145\x67\x69\x73\164\162\x61\x74\151\x6f\x6e\40\x63\157\x6d\x70\x6c\145\164\x65\x21");
        jO:
        goto kJ;
        Hn:
        $Ak = $MK->get_customer_key();
        $FI = json_decode($Ak, true);
        if (json_last_error() == JSON_ERROR_NONE) {
            goto QU;
        }
        update_option("\x6d\x6f\x5f\154\144\x61\160\x5f\x6c\x6f\143\141\x6c\137\155\x65\x73\x73\x61\x67\x65", "\131\x6f\165\x20\141\154\x72\145\x61\144\171\x20\x68\x61\x76\145\40\141\156\x20\x61\143\x63\157\x75\x6e\164\x20\167\x69\164\150\40\155\x69\x6e\x69\117\x72\141\x6e\147\145\56\40\x50\x6c\145\x61\x73\x65\x20\145\x6e\x74\145\162\40\x61\x20\x76\x61\x6c\x69\144\40\160\141\x73\163\x77\x6f\x72\x64\56");
        update_option("\155\x6f\137\x6c\144\x61\x70\x5f\154\x6f\143\141\154\137\x76\145\162\151\146\x79\137\x63\165\x73\x74\157\x6d\145\162", "\x74\162\x75\x65");
        delete_option("\155\157\137\x6c\144\x61\x70\137\154\x6f\x63\x61\154\137\156\x65\167\x5f\162\x65\x67\151\163\164\162\141\x74\151\x6f\156");
        $this->show_error_message();
        goto Is;
        QU:
        $this->save_success_customer_config($FI["\x69\x64"], $FI["\x61\160\151\x4b\145\x79"], $FI["\164\157\x6b\x65\x6e"], "\x59\157\165\x72\40\141\143\143\x6f\x75\x6e\x74\x20\150\x61\x73\40\142\x65\145\x6e\40\x72\x65\164\162\151\145\x76\145\144\x20\x73\165\143\143\x65\163\163\x66\165\154\154\x79\x2e");
        Is:
        kJ:
        update_option("\155\x6f\137\154\144\141\x70\137\x6c\157\143\x61\154\137\160\141\x73\163\x77\x6f\162\144", '');
        UD:
        kb:
        goto Yh;
        bC:
        $MK = new Mo_Ldap_Local_Customer();
        $HC = "\x45\115\x41\111\114";
        $Ak = json_decode($MK->send_otp_token($HC, null), true);
        if (strcasecmp($Ak["\163\x74\x61\164\165\x73"], "\x53\x55\x43\x43\x45\x53\123") == 0) {
            goto o_;
        }
        if (strcasecmp($Ak["\x73\164\141\x74\x75\x73"], "\103\125\122\x4c\137\x45\x52\x52\117\122") == 0) {
            goto lj;
        }
        update_option("\155\x6f\137\x6c\x64\x61\x70\137\x6c\x6f\143\141\154\137\155\x65\163\x73\141\147\145", "\124\x68\145\x72\x65\40\x77\x61\163\x20\x61\x6e\40\145\x72\162\x6f\162\40\x69\156\x20\163\145\156\144\x69\x6e\147\40\x65\155\141\x69\x6c\56\40\x50\x6c\145\x61\163\x65\x20\x63\x6c\x69\x63\153\x20\157\x6e\x20\122\x65\x73\145\156\x64\x20\117\124\120\x20\x74\157\x20\164\162\171\40\141\x67\x61\151\156\56");
        update_option("\155\x6f\137\x6c\144\141\160\137\154\157\143\141\154\137\x72\x65\147\151\x73\164\x72\x61\x74\x69\x6f\x6e\137\x73\x74\x61\164\x75\x73", "\x4d\x4f\x5f\x4f\124\120\x5f\x44\105\x4c\x49\126\105\x52\105\x44\137\106\x41\111\114\x55\122\105");
        $this->show_error_message();
        goto dm;
        lj:
        update_option("\x6d\157\x5f\154\144\x61\160\x5f\x6c\x6f\x63\141\154\x5f\155\145\x73\163\141\x67\145", $Ak["\163\164\x61\164\165\163\115\145\x73\163\x61\x67\x65"]);
        update_option("\155\157\x5f\154\144\x61\x70\137\154\x6f\x63\141\x6c\x5f\162\x65\147\x69\163\164\x72\141\x74\x69\x6f\156\137\163\x74\141\164\x75\163", "\115\117\x5f\x4f\x54\120\137\104\x45\x4c\x49\x56\105\x52\x45\x44\x5f\106\101\x49\114\125\122\105");
        $this->show_error_message();
        dm:
        goto s5;
        o_:
        if (get_option("\x6d\x6f\x5f\x6c\x64\x61\x70\x5f\x6c\x6f\x63\141\x6c\x5f\x65\x6d\x61\x69\x6c\137\143\157\x75\x6e\x74")) {
            goto sx;
        }
        update_option("\155\157\x5f\x6c\144\x61\x70\137\x6c\x6f\x63\x61\154\x5f\155\x65\163\x73\141\x67\145", "\x41\x6e\40\x4f\124\120\x20\x68\x61\163\x20\x62\145\x65\x6e\40\x73\145\x6e\164\40\x74\157\x20\74\x62\76" . get_option("\155\157\x5f\x6c\144\x61\x70\x5f\x6c\x6f\x63\x61\x6c\137\x61\144\x6d\151\x6e\137\x65\x6d\141\151\154") . "\x3c\57\142\x3e\x2e\x20\120\154\x65\141\x73\x65\40\x65\x6e\x74\145\162\x20\164\x68\145\x20\117\124\120\40\142\145\154\157\167\x20\164\157\x20\x76\x65\162\x69\146\171\40\x79\157\x75\162\40\145\x6d\x61\151\x6c\x2e\40");
        update_option("\155\x6f\x5f\x6c\144\x61\160\137\x6c\157\143\141\x6c\x5f\145\x6d\141\x69\x6c\137\x63\157\x75\156\164", 1);
        goto Mw;
        sx:
        update_option("\155\157\137\x6c\x64\141\x70\x5f\x6c\157\x63\141\x6c\x5f\x65\x6d\141\151\154\137\143\157\x75\x6e\x74", get_option("\x6d\x6f\x5f\x6c\144\141\x70\x5f\154\x6f\x63\x61\154\x5f\145\x6d\x61\151\154\x5f\x63\x6f\165\x6e\x74") + 1);
        update_option("\155\x6f\137\154\144\x61\x70\x5f\154\x6f\x63\x61\154\137\155\145\x73\x73\x61\147\145", "\101\156\x6f\x74\x68\145\x72\40\117\156\x65\x20\124\151\x6d\x65\x20\120\x61\x73\x73\x63\x6f\x64\x65\x20\x68\141\163\x20\142\145\x65\x6e\40\163\145\x6e\x74\40\74\x62\76\50\40" . get_option("\x6d\157\x5f\x6c\x64\141\160\137\154\x6f\x63\x61\154\x5f\x65\155\141\x69\154\137\143\157\x75\156\x74") . "\40\51\x3c\x2f\142\x3e\x20\x74\157\40\74\142\x3e" . get_option("\x6d\157\137\x6c\x64\x61\x70\x5f\154\x6f\x63\x61\x6c\137\x61\x64\x6d\151\x6e\137\145\x6d\x61\x69\154") . "\x3c\x2f\x62\x3e\56\40\x50\154\145\141\x73\145\x20\x65\156\x74\145\x72\x20\x74\x68\145\40\x4f\124\120\40\142\x65\x6c\157\167\40\x74\157\40\166\x65\x72\x69\146\x79\40\171\157\x75\x72\x20\145\155\141\x69\x6c\x2e\x20");
        Mw:
        update_option("\155\x6f\137\154\144\141\160\137\x6c\x6f\x63\141\x6c\137\164\x72\141\x6e\x73\x61\x63\x74\151\x6f\x6e\x49\144", $Ak["\x74\170\x49\x64"]);
        update_option("\155\x6f\137\154\x64\141\160\x5f\154\x6f\x63\x61\x6c\x5f\x72\x65\147\x69\163\164\162\141\x74\151\x6f\156\x5f\x73\x74\x61\x74\165\163", "\115\117\x5f\117\124\x50\137\104\105\114\x49\126\x45\x52\105\104\137\123\125\103\103\105\x53\123");
        $this->show_success_message();
        s5:
        Yh:
        goto G0;
        pk:
        $Uv = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x71\x75\145\x72\171\x5f\145\x6d\141\151\x6c"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x71\165\145\162\x79"])) {
            goto eE;
        }
        $Uv = sanitize_text_field($_POST["\161\x75\145\162\171"]);
        $V4 = sanitize_text_field($_POST["\x71\165\x65\x72\171\137\x65\x6d\141\151\154"]);
        $pt = sanitize_text_field($_POST["\161\x75\145\x72\x79\x5f\160\x68\157\156\145"]);
        $al = new Mo_Ldap_Local_Customer();
        $SK = json_decode($al->submit_contact_us($V4, $pt, $Uv), true);
        if (strcasecmp($SK["\163\164\x61\x74\x75\x73"], "\x43\x55\122\x4c\x5f\x45\x52\x52\117\x52") == 0) {
            goto JZ;
        }
        if (!(json_last_error() == JSON_ERROR_NONE)) {
            goto gr;
        }
        if ($SK == false) {
            goto ZH;
        }
        update_option("\x6d\x6f\137\154\x64\141\160\137\x6c\x6f\x63\x61\x6c\137\155\145\x73\x73\x61\x67\145", "\124\150\x61\156\153\x73\x20\146\157\162\40\x67\145\164\x74\151\x6e\x67\x20\151\156\40\x74\x6f\x75\x63\x68\x21\x20\127\145\x20\163\x68\x61\154\154\x20\x67\145\x74\x20\142\x61\x63\153\40\x74\157\40\171\x6f\x75\40\x73\x68\x6f\x72\x74\154\171\56");
        $this->show_success_message();
        goto PX;
        ZH:
        update_option("\155\157\137\x6c\x64\x61\160\x5f\x6c\157\x63\x61\154\137\155\x65\163\163\141\x67\145", "\x59\157\x75\x72\40\161\x75\x65\x72\x79\x20\143\157\165\x6c\144\x20\156\x6f\x74\40\x62\x65\x20\x73\x75\x62\155\151\x74\164\145\x64\x2e\x20\x50\x6c\x65\x61\163\x65\40\164\x72\x79\x20\x61\147\x61\x69\x6e\x2e");
        $this->show_error_message();
        PX:
        gr:
        goto xd;
        JZ:
        update_option("\155\157\137\x6c\144\x61\x70\137\x6c\x6f\x63\x61\x6c\137\155\145\x73\x73\x61\x67\x65", $SK["\x73\164\x61\x74\x75\x73\115\x65\x73\163\141\147\x65"]);
        $this->show_error_message();
        xd:
        goto Nt;
        eE:
        update_option("\x6d\x6f\x5f\154\x64\x61\160\137\x6c\157\143\x61\154\137\x6d\145\163\x73\x61\x67\x65", "\120\x6c\x65\x61\x73\145\x20\163\x75\x62\155\151\x74\x20\x79\157\165\x72\x20\x71\165\x65\x72\x79\40\x61\x6c\x6f\156\x67\40\x77\x69\164\150\40\145\155\141\151\x6c\56");
        $this->show_error_message();
        return;
        Nt:
        G0:
        goto Cg;
        cN:
        if (NddKoYsdasadJD()) {
            goto gZ;
        }
        update_option("\x6d\157\137\x6c\144\x61\x70\137\154\157\x63\x61\154\x5f\155\145\163\163\141\x67\x65", "\123\145\x74\164\x69\x6e\147\x73\40\x63\x61\x6e\47\164\40\x62\x65\x20\164\145\x73\164\x65\x64\x20\167\151\164\x68\x6f\x75\164\x20\x76\145\x72\x69\146\x79\x69\x6e\x67\x20\x79\x6f\165\162\x20\x6c\x69\143\145\156\163\x65\x20\x6b\x65\x79\56");
        $this->show_error_message();
        goto NU;
        gZ:
        $Nb = get_option("\155\157\x5f\x6c\x64\141\160\137\154\x6f\x63\141\154\137\x73\x65\x72\166\145\x72\137\x75\162\x6c");
        $hg = get_option("\x6d\157\137\x6c\x64\x61\x70\x5f\x6c\x6f\x63\141\x6c\137\x73\x65\162\166\145\x72\x5f\144\156");
        $iy = get_option("\x6d\x6f\x5f\154\x64\141\x70\137\154\x6f\143\141\x6c\137\163\x65\162\x76\145\x72\x5f\160\141\163\x73\167\x6f\x72\144");
        $Yr = get_option("\155\x6f\137\154\x64\x61\x70\137\154\157\143\x61\x6c\137\x73\x65\141\x72\x63\x68\137\142\141\x73\145");
        $tm = get_option("\155\x6f\x5f\x6c\144\141\160\137\154\x6f\143\x61\154\137\163\x65\141\x72\x63\x68\x5f\146\151\154\x74\x65\162");
        delete_option("\x6d\x6f\x5f\154\x64\141\x70\x5f\x6c\157\x63\x61\154\x5f\155\x65\163\163\141\147\145");
        $w2 = '';
        $PQ = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\164\145\163\x74\137\x75\163\145\x72\x6e\x61\155\x65"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x74\x65\x73\164\137\x70\x61\163\x73\167\x6f\x72\144"])) {
            goto bb;
        }
        if (Mo_Ldap_Local_Util::check_empty_or_null($Nb) || Mo_Ldap_Local_Util::check_empty_or_null($hg) || Mo_Ldap_Local_Util::check_empty_or_null($iy) || Mo_Ldap_Local_Util::check_empty_or_null($Yr) || Mo_Ldap_Local_Util::check_empty_or_null($tm)) {
            goto Ze;
        }
        $w2 = sanitize_text_field($_POST["\x74\x65\x73\164\137\x75\x73\x65\162\156\x61\x6d\x65"]);
        $PQ = sanitize_text_field($_POST["\x74\145\163\x74\137\160\141\x73\x73\x77\157\162\144"]);
        goto U8;
        Ze:
        add_option("\x6d\157\137\x6c\x64\x61\x70\137\x6c\x6f\x63\141\x6c\x5f\x6d\145\163\163\x61\147\145", "\120\154\x65\141\x73\145\40\163\x61\166\x65\x20\x4c\x44\101\x50\40\x43\157\x6e\x66\x69\147\165\x72\x61\x74\151\157\x6e\x20\x74\x6f\x20\164\145\163\164\x20\141\x75\164\150\x65\156\x74\x69\x63\x61\164\x69\157\x6e\56", '', "\156\157");
        $this->show_error_message();
        return;
        U8:
        goto Oc;
        bb:
        add_option("\x6d\x6f\x5f\x6c\144\141\160\137\154\157\143\141\x6c\137\155\145\x73\x73\x61\147\145", "\101\x6c\154\x20\164\150\x65\x20\146\151\145\154\144\163\x20\141\x72\x65\x20\162\x65\161\165\x69\x72\x65\x64\x2e\40\120\x6c\x65\x61\x73\x65\x20\x65\156\x74\145\x72\40\166\141\154\151\144\40\x65\156\x74\x72\151\x65\163\x2e", '', "\x6e\157");
        $this->show_error_message();
        return;
        Oc:
        $wS = new Mo_Ldap_Local_Config();
        $Ak = $wS->test_authentication($w2, $PQ, null);
        $uR = json_decode($Ak, true);
        if (strcasecmp($uR["\x73\164\141\164\165\x73\x43\x6f\x64\145"], "\x53\125\103\x43\105\x53\123") == 0) {
            goto R1;
        }
        if (strcasecmp($uR["\163\164\141\x74\x75\163\103\x6f\144\x65"], "\105\x52\122\117\122") == 0) {
            goto AF;
        }
        if (strcasecmp($uR["\163\x74\141\x74\165\163\x43\157\x64\145"], "\114\104\101\120\137\105\122\122\x4f\x52") == 0) {
            goto JB;
        }
        if (strcasecmp($uR["\x73\x74\x61\x74\165\x73\103\x6f\144\x65"], "\x43\125\x52\114\137\105\x52\122\117\122") == 0) {
            goto AT;
        }
        if (strcasecmp($uR["\163\164\141\x74\165\x73\x43\x6f\144\x65"], "\x4d\x43\x52\x59\x50\124\x5f\105\x52\x52\117\122") == 0) {
            goto vO;
        }
        if (strcasecmp($uR["\163\164\x61\164\165\163\103\x6f\144\145"], "\x50\111\x4e\107\137\x45\122\122\117\122") == 0) {
            goto z7;
        }
        add_option("\155\x6f\x5f\x6c\x64\x61\x70\x5f\x6c\x6f\x63\x61\154\137\155\x65\163\163\141\147\145", "\124\x68\145\x72\x65\40\x77\x61\x73\x20\x61\x6e\40\145\x72\x72\157\x72\40\x70\162\x6f\143\x65\163\x73\151\x6e\x67\x20\x79\x6f\165\162\40\162\x65\x71\165\145\x73\x74\56\x20\120\154\145\141\x73\x65\x20\x76\145\162\x69\x66\171\40\x74\x68\145\x20\x53\x65\141\x72\143\x68\40\x42\141\x73\145\x28\x73\51\x20\141\x6e\144\x20\123\145\x61\x72\143\x68\x20\146\151\154\x74\x65\162\56\40\x59\x6f\165\162\40\x75\163\145\x72\40\163\150\x6f\165\154\x64\x20\142\x65\40\160\162\x65\163\x65\x6e\164\40\151\156\x20\x74\150\x65\40\123\x65\141\162\143\150\40\142\141\x73\145\x20\144\145\x66\151\x6e\x65\144\x2e", '', "\156\x6f");
        $this->show_error_message();
        goto R9;
        z7:
        add_option("\155\x6f\x5f\154\x64\141\x70\137\154\157\143\x61\x6c\x5f\155\145\163\x73\x61\x67\x65", $uR["\x73\164\x61\x74\x75\163\x4d\x65\163\x73\x61\147\x65"], '', "\x6e\157");
        $this->show_error_message();
        R9:
        goto dx;
        vO:
        add_option("\x6d\157\x5f\x6c\144\x61\160\x5f\154\x6f\x63\141\154\x5f\155\x65\x73\163\x61\147\145", $uR["\x73\164\141\164\x75\163\x4d\145\x73\x73\x61\x67\x65"], '', "\x6e\x6f");
        $this->show_error_message();
        dx:
        goto Ck;
        AT:
        add_option("\155\157\137\154\144\141\160\137\154\157\x63\141\154\x5f\155\x65\163\163\x61\x67\x65", $uR["\163\x74\x61\x74\x75\x73\x4d\145\163\x73\x61\147\145"], '', "\x6e\157");
        $this->show_error_message();
        Ck:
        goto r0;
        JB:
        add_option("\x6d\x6f\x5f\154\x64\141\x70\137\154\x6f\143\141\x6c\137\x6d\x65\x73\163\x61\147\145", $uR["\163\x74\141\164\x75\x73\x4d\145\163\x73\141\147\x65"], '', "\156\x6f");
        $this->show_error_message();
        r0:
        goto pc;
        AF:
        add_option("\155\157\137\x6c\x64\141\160\137\154\157\143\141\x6c\x5f\x6d\x65\x73\163\x61\x67\145", $uR["\163\x74\141\x74\x75\x73\x4d\145\x73\163\x61\x67\x65"], '', "\156\x6f");
        $this->show_error_message();
        pc:
        goto PP;
        R1:
        $Om = add_query_arg(array("\x74\x61\x62" => "\x72\x6f\x6c\145\x6d\141\160\160\151\x6e\147"), $_SERVER["\122\105\x51\125\x45\x53\124\x5f\125\122\111"]);
        $Pv = "\131\x6f\x75\x20\150\141\166\145\40\163\165\x63\143\x65\163\163\x66\x75\154\154\171\40\143\x6f\156\146\151\147\x75\x72\145\144\40\x79\x6f\165\x72\x20\114\x44\101\x50\x20\x73\x65\x74\164\x69\156\x67\163\56\74\x62\x72\x3e\xa\x9\x9\11\11\11\11\x9\11\x9\x59\x6f\x75\x20\143\141\156\40\x6e\x6f\167\40\x64\157\x20\x65\x69\x74\x68\x65\x72\40\x6f\x66\x20\164\167\x6f\40\x74\x68\x69\156\x67\163\x2e\74\x62\162\76\12\x9\11\x9\11\11\x9\x9\11\11\x31\56\40\x45\156\141\x62\154\145\40\x4c\104\x41\x50\40\114\x6f\x67\151\156\x20\x61\x74\40\164\x68\x65\x20\164\157\160\40\141\x6e\144\40\x74\x68\145\156\40\x3c\x61\x20\x68\162\145\146\75\42" . wp_logout_url(get_permalink()) . "\42\x3e\x4c\x6f\x67\x6f\165\x74\x3c\x2f\141\x3e\x20\146\162\157\x6d\40\x77\157\x72\x64\x70\162\x65\163\x73\x20\141\x6e\x64\40\154\x6f\x67\x69\x6e\x20\x61\x67\141\151\x6e\40\167\x69\x74\x68\x20\x79\157\165\x72\40\x4c\x44\x41\120\x20\x63\162\145\144\x65\156\164\151\x61\154\x73\56\x3c\x62\x72\76\x20\12\x9\11\11\x9\x9\x9\11\11\x9\x32\56\40\104\x6f\40\162\157\x6c\145\40\x6d\x61\160\160\151\156\147\40\x28\74\141\40\150\162\145\146\x3d\x22" . $Om . "\x22\x3e\103\x6c\151\143\x6b\x20\150\145\162\145\x3c\x2f\141\76\51";
        add_option("\155\157\137\x6c\144\141\160\137\154\x6f\143\141\154\137\155\145\x73\163\141\147\145", $Pv, '', "\x6e\x6f");
        $this->show_success_message();
        PP:
        NU:
        Cg:
        goto YZ;
        Or1:
        delete_option("\155\x6f\137\x6c\x64\x61\160\137\154\x6f\143\x61\154\137\x75\x73\x65\162\x5f\x6d\141\160\160\x69\x6e\x67\x5f\163\x74\x61\x74\x75\163");
        $ZL = '';
        $Yr = '';
        $tm = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x73\145\141\x72\143\x68\137\142\x61\163\145"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x73\145\141\162\x63\150\137\x66\x69\x6c\164\145\x72"])) {
            goto RL;
        }
        $Yr = sanitize_text_field($_POST["\163\x65\141\162\x63\150\137\x62\x61\x73\145"]);
        $tm = sanitize_text_field($_POST["\x73\145\x61\x72\x63\150\x5f\146\x69\154\164\145\x72"]);
        goto J1;
        RL:
        update_option("\x6d\x6f\137\154\x64\x61\160\137\x6c\x6f\x63\141\x6c\137\155\145\x73\163\x61\x67\x65", "\x41\154\154\40\x74\150\x65\40\146\x69\145\x6c\x64\163\40\x61\x72\x65\40\x72\x65\161\x75\151\162\145\144\x2e\40\x50\x6c\145\x61\x73\x65\40\x65\x6e\x74\145\x72\40\166\x61\x6c\x69\144\x20\x65\x6e\164\162\x69\x65\x73\x2e");
        $this->show_error_message();
        return;
        J1:
        if (!Mo_Ldap_Local_Util::is_extension_installed("\x6d\x63\162\x79\x70\164")) {
            goto Ul;
        }
        update_option("\155\x6f\x5f\154\144\x61\160\x5f\x6c\x6f\143\x61\154\x5f\x73\145\x61\x72\143\150\137\x62\x61\163\145", Mo_Ldap_Local_Util::encrypt($Yr));
        update_option("\x6d\x6f\137\154\144\141\x70\137\154\x6f\x63\141\x6c\137\163\x65\141\162\x63\x68\137\146\x69\x6c\164\x65\162", Mo_Ldap_Local_Util::encrypt($tm));
        delete_option("\x6d\x6f\x5f\154\x64\141\x70\x5f\154\x6f\143\141\154\x5f\155\x65\x73\x73\141\147\145");
        $wS = new Mo_Ldap_Local_Config();
        $J2 = $wS->save_ldap_user_mapping_config();
        $Pv = "\x4c\x44\101\x50\x20\x55\x73\x65\x72\x20\x4d\141\160\x70\151\x6e\147\40\x43\x6f\x6e\x66\151\x67\165\x72\141\x74\x69\157\x6e\x20\x68\x61\x73\40\142\x65\145\156\x20\163\141\x76\x65\x64\x2e\x20\120\154\x65\x61\x73\x65\x20\x74\145\163\164\x20\141\x75\164\150\145\x6e\164\x69\143\141\164\151\x6f\156\x20\x74\157\x20\x76\x65\162\x69\x66\x79\x20\x4c\104\101\x50\x20\x55\x73\145\162\x20\x4d\x61\160\160\x69\x6e\147\x20\103\x6f\156\x66\x69\147\165\x72\141\x74\151\157\156\x2e";
        add_option("\x6d\157\x5f\154\x64\141\x70\137\154\157\x63\141\x6c\137\x6d\145\x73\x73\x61\x67\x65", $Pv, '', "\156\x6f");
        $this->show_success_message();
        goto iJ;
        Ul:
        update_option("\155\157\137\x6c\144\141\160\x5f\x6c\x6f\x63\141\x6c\137\x6d\145\x73\163\x61\147\145", "\120\110\120\x20\155\143\x72\x79\x70\x74\40\x65\170\x74\145\156\x73\x69\x6f\156\40\x69\x73\40\156\x6f\164\40\x69\156\x73\164\141\x6c\x6c\x65\x64\x20\x6f\162\40\144\x69\163\141\x62\x6c\145\144\56\x20\120\x6c\x65\141\x73\x65\40\x65\156\x61\x62\x6c\x65\x20\151\164\40\146\x69\x72\163\164\x2e");
        $this->show_error_message();
        iJ:
        YZ:
        goto es;
        EC:
        if (NddKoYsdasadJD()) {
            goto bg;
        }
        update_option("\155\157\137\x6c\x64\x61\x70\x5f\x6c\x6f\143\x61\x6c\x5f\x6d\x65\x73\x73\141\147\145", "\x53\145\x74\x74\151\156\x67\163\x20\143\x61\156\x27\164\40\x62\x65\x20\163\141\x76\145\144\40\167\151\x74\x68\157\x75\164\x20\166\x65\x72\x69\x66\171\x69\x6e\x67\40\171\157\165\162\40\x6c\151\x63\145\x6e\x73\145\x20\x6b\145\171\x2e");
        $this->show_error_message();
        goto Bx;
        bg:
        $Nb = '';
        $hg = '';
        $iy = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\154\x64\x61\x70\x5f\x73\145\162\x76\x65\x72"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\144\x6e"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\141\144\155\151\x6e\x5f\x70\x61\163\x73\x77\157\x72\x64"])) {
            goto Pj;
        }
        $Nb = sanitize_text_field($_POST["\154\144\x61\160\137\163\x65\x72\x76\x65\162"]);
        $hg = sanitize_text_field($_POST["\144\x6e"]);
        $iy = sanitize_text_field($_POST["\x61\x64\155\151\156\137\160\141\x73\x73\x77\157\x72\x64"]);
        goto M_;
        Pj:
        update_option("\155\x6f\x5f\154\144\141\x70\137\154\157\x63\141\x6c\137\x6d\145\163\x73\x61\147\145", "\101\x6c\154\40\x74\150\145\40\x66\151\145\x6c\144\163\40\141\x72\145\x20\x72\145\161\165\151\x72\145\x64\56\x20\x50\x6c\145\x61\x73\x65\40\x65\156\164\145\x72\x20\x76\x61\154\151\144\40\145\x6e\x74\x72\151\x65\163\x2e");
        $this->show_error_message();
        return;
        M_:
        if (!Mo_Ldap_Local_Util::is_extension_installed("\155\143\x72\171\160\164")) {
            goto ar;
        }
        update_option("\155\157\x5f\x6c\144\x61\160\137\154\157\143\141\x6c\137\163\x65\162\166\145\162\x5f\x75\162\154", Mo_Ldap_Local_Util::encrypt($Nb));
        update_option("\155\x6f\137\154\144\x61\x70\137\154\x6f\143\141\x6c\137\163\x65\162\x76\145\x72\137\144\x6e", Mo_Ldap_Local_Util::encrypt($hg));
        update_option("\155\157\137\x6c\144\141\x70\x5f\x6c\x6f\x63\x61\x6c\x5f\163\145\x72\166\x65\x72\x5f\160\x61\x73\x73\167\157\x72\x64", Mo_Ldap_Local_Util::encrypt($iy));
        delete_option("\155\x6f\x5f\x6c\144\x61\x70\137\x6c\x6f\143\141\x6c\137\x6d\x65\x73\x73\x61\x67\x65");
        $wS = new Mo_Ldap_Local_Config();
        $J2 = $wS->save_ldap_config();
        $Pv = "\x59\157\165\162\40\143\x6f\x6e\146\151\147\x75\162\x61\x74\151\157\156\x20\150\x61\163\40\142\x65\145\x6e\40\x73\x61\166\x65\x64\x2e";
        $Vy = "\163\165\143\x63\145\163\x73";
        $Ak = $wS->test_connection();
        $uR = json_decode($Ak, true);
        if (strcasecmp($uR["\x73\164\141\x74\165\163\x43\x6f\x64\x65"], "\x53\x55\103\x43\105\123\x53") == 0) {
            goto BV;
        }
        if (strcasecmp($uR["\163\164\141\164\x75\x73\103\157\x64\x65"], "\105\x52\x52\117\122") == 0) {
            goto n3;
        }
        if (strcasecmp($uR["\x73\164\141\x74\x75\x73\x43\x6f\x64\145"], "\x4c\x44\x41\x50\x5f\105\x52\122\x4f\x52") == 0) {
            goto IB;
        }
        if (strcasecmp($uR["\x73\x74\x61\x74\165\x73\x43\157\144\x65"], "\x4d\x43\122\x59\x50\124\x5f\105\x52\122\117\122") == 0) {
            goto Yn;
        }
        if (strcasecmp($uR["\x73\164\x61\x74\x75\163\103\x6f\144\x65"], "\x50\111\116\107\137\x45\122\x52\x4f\122") == 0) {
            goto bw;
        }
        add_option("\x6d\x6f\137\154\x64\141\160\x5f\154\x6f\x63\x61\x6c\x5f\155\145\x73\x73\141\x67\x65", $Pv . "\x20\x54\x68\145\162\145\x20\167\x61\x73\x20\x61\156\40\x65\x72\x72\157\162\x20\x69\x6e\40\x63\157\156\156\145\x63\x74\x69\156\147\40\167\x69\164\x68\40\x74\150\145\x20\143\165\162\x72\145\x6e\x74\x20\163\145\164\x74\x69\x6e\147\x73\56\x20\x4d\x61\153\x65\40\x73\165\162\x65\x20\171\x6f\165\40\x68\x61\x76\x65\x20\x65\x6e\x74\145\x72\145\x64\40\x73\145\162\x76\145\x72\x20\165\x72\x6c\x20\x69\156\40\x66\157\162\155\141\164\x20\x6c\144\141\160\x3a\x2f\x2f\x64\x6f\155\141\x69\156\x2e\x63\x6f\155\x3a\160\x6f\162\164\56\40\124\145\163\x74\40\x75\163\151\156\x67\40\120\x69\x6e\147\x20\x4c\104\101\120\40\123\145\162\166\145\x72\x2e", '', "\156\157");
        $Gq = "\x49\x6e\166\141\x6c\x69\x64\40\x63\x6f\x6e\146\151\147\165\162\x61\x74\151\x6f\156\56";
        $this->show_error_message();
        goto DU;
        bw:
        add_option("\155\157\x5f\x6c\x64\x61\160\137\x6c\157\x63\141\154\x5f\155\145\x73\x73\141\147\145", $uR["\x73\x74\141\164\165\x73\x4d\x65\x73\x73\x61\147\x65"], '', "\x6e\x6f");
        $Gq = "\120\x69\x6e\x67\x20\x73\145\x72\x76\145\162\x20\x66\141\x69\154\x65\144\x20" . $Nb;
        $this->show_error_message();
        DU:
        goto ww;
        Yn:
        add_option("\x6d\157\x5f\x6c\144\141\160\x5f\x6c\x6f\143\x61\154\x5f\155\145\x73\163\141\x67\145", $uR["\x73\x74\x61\x74\x75\163\x4d\x65\163\x73\141\x67\145"], '', "\156\x6f");
        $Gq = "\x4d\x43\x59\x52\120\x54\40\x65\170\164\x65\x6e\163\151\157\x6e\x20\156\x6f\164\40\151\x6e\163\164\x61\154\154\145\144\x2e";
        $this->show_error_message();
        ww:
        goto a0;
        IB:
        add_option("\155\x6f\137\x6c\x64\x61\160\x5f\x6c\157\x63\141\x6c\137\155\x65\x73\x73\x61\147\145", $uR["\x73\x74\x61\164\x75\x73\x4d\x65\163\163\141\x67\145"], '', "\x6e\x6f");
        $Gq = "\114\x44\x41\x50\x20\x65\170\164\x65\156\x73\151\x6f\156\40\x6e\157\x74\40\151\156\x73\x74\x61\x6c\154\145\144\x2e";
        $this->show_error_message();
        a0:
        goto QR;
        n3:
        add_option("\x6d\x6f\137\154\x64\141\160\x5f\x6c\157\143\141\x6c\137\155\145\x73\x73\141\147\x65", $uR["\163\x74\x61\x74\165\x73\115\x65\163\x73\x61\x67\145"], '', "\x6e\x6f");
        $Gq = "\111\x6e\166\x61\154\151\144\40\x73\145\x61\x72\x63\150\40\x66\x69\154\x74\x65\x72\40\157\162\x20\x73\145\141\x72\x63\x68\40\x62\141\x73\x65\x2e";
        $this->show_error_message();
        QR:
        goto sd;
        BV:
        add_option("\x6d\157\137\x6c\144\x61\160\x5f\x6c\x6f\143\x61\x6c\137\155\x65\163\163\141\147\x65", $Pv . "\x20\103\x6f\x6e\x6e\145\x63\164\x69\x6f\156\x20\x77\141\163\x20\145\x73\x74\141\x62\x6c\151\163\150\x65\x64\40\163\x75\143\143\145\163\163\146\165\154\x6c\x79\x2e\x20\x50\154\145\141\x73\x65\40\x63\157\156\x66\151\x67\165\162\145\40\x4c\104\101\120\x20\x55\x73\x65\162\x20\115\x61\160\x70\x69\x6e\147\40\x6e\x6f\x77\56", '', "\x6e\x6f");
        $Gq = "\x54\x65\163\x74\40\167\x61\x73\x20\x73\x75\143\143\145\x73\163\x66\165\154\56";
        $this->show_success_message();
        sd:
        goto HB;
        ar:
        update_option("\155\157\137\154\x64\x61\x70\137\x6c\157\143\x61\154\137\x6d\x65\x73\163\x61\x67\x65", "\120\110\x50\40\155\x63\162\171\x70\164\x20\x65\x78\164\145\x6e\163\151\x6f\156\x20\151\163\x20\156\157\164\40\151\x6e\x73\164\141\154\x6c\145\x64\x20\x6f\162\x20\144\151\x73\x61\142\x6c\x65\x64\x2e\40\x50\154\x65\x61\x73\145\x20\145\156\x61\142\x6c\x65\40\x69\x74\x20\x66\151\x72\163\164\56");
        $this->show_error_message();
        HB:
        Bx:
        es:
        goto J0;
        BS:
        if (NddKoYsdasadJD()) {
            goto QO;
        }
        update_option("\155\157\x5f\154\144\x61\160\x5f\x6c\x6f\x63\x61\x6c\137\x6d\145\x73\x73\x61\147\x65", "\123\x65\x74\164\151\x6e\x67\163\40\x63\x61\156\x27\164\x20\x62\x65\40\x73\x61\166\145\144\40\167\x69\164\150\x6f\165\x74\x20\x76\x65\x72\151\146\x79\151\x6e\x67\40\171\x6f\165\162\40\154\151\x63\145\x6e\x73\145\x20\153\x65\171\56");
        $this->show_error_message();
        goto iO;
        QO:
        update_option("\x6d\157\x5f\154\x64\141\160\x5f\x6c\x6f\x63\141\x6c\137\162\x65\147\151\163\164\145\x72\x5f\165\x73\x65\162", isset($_POST["\x6d\157\x5f\154\x64\141\160\137\x6c\157\x63\141\154\137\x72\145\x67\x69\163\164\x65\162\x5f\165\163\x65\x72"]) ? $_POST["\155\157\137\x6c\x64\141\160\137\x6c\x6f\x63\141\154\x5f\162\145\x67\151\163\164\145\162\137\165\163\145\162"] : 0);
        if (get_option("\155\157\137\154\x64\141\160\137\154\x6f\143\x61\154\137\x72\x65\147\151\163\164\x65\x72\x5f\x75\x73\x65\x72")) {
            goto q1;
        }
        update_option("\155\157\x5f\154\x64\x61\160\137\154\157\143\141\154\x5f\x6d\145\x73\x73\x61\x67\x65", "\101\165\164\x6f\x20\122\x65\x67\x69\163\x74\x65\162\x69\x6e\147\x20\x75\163\x65\162\163\x20\150\x61\x73\x20\142\145\145\156\40\144\x69\x73\141\x62\x6c\145\x64\x2e");
        $this->show_success_message();
        goto ox;
        q1:
        update_option("\x6d\x6f\137\x6c\x64\x61\x70\137\154\x6f\143\x61\154\x5f\155\x65\x73\163\141\147\145", "\101\x75\164\x6f\40\122\x65\x67\151\x73\x74\x65\x72\x69\156\147\40\165\x73\x65\x72\x73\40\x68\141\x73\40\142\x65\x65\156\40\x65\x6e\141\142\154\145\144\x2e");
        $this->show_success_message();
        ox:
        iO:
        J0:
        goto Rv;
        NX:
        update_option("\155\157\x5f\154\x64\141\160\x5f\x6c\x6f\143\141\x6c\137\x75\163\145\137\164\154\x73", isset($_POST["\x6d\x6f\137\154\144\141\x70\137\154\x6f\143\x61\154\137\164\154\x73\x5f\x65\x6e\x61\142\154\x65"]) ? $_POST["\155\x6f\137\154\x64\141\x70\x5f\x6c\157\x63\141\x6c\137\164\154\x73\x5f\x65\156\141\142\x6c\145"] : 0);
        if (get_option("\x6d\157\137\154\x64\x61\160\137\x6c\x6f\143\141\x6c\137\165\163\x65\x5f\164\x6c\x73")) {
            goto kL;
        }
        update_option("\x6d\157\137\154\144\x61\160\x5f\154\x6f\143\141\x6c\x5f\155\145\x73\163\x61\x67\145", "\114\157\147\x69\x6e\x20\x74\x68\x72\x6f\x75\147\x68\x20\x79\157\x75\x72\40\114\104\x41\x50\x20\150\x61\163\x20\142\145\145\x6e\40\144\151\163\x61\x62\154\145\144\56");
        $this->show_error_message();
        goto rA;
        kL:
        update_option("\x6d\x6f\x5f\x6c\x64\141\160\x5f\154\157\143\x61\x6c\137\x6d\x65\163\x73\141\x67\145", "\x4c\157\147\151\x6e\x20\x74\x68\162\x6f\x75\x67\x68\40\171\157\165\x72\x20\x4c\x44\101\x50\x20\150\x61\x73\40\x62\x65\145\x6e\40\x65\156\141\x62\x6c\145\x64\56");
        $this->show_success_message();
        rA:
        Rv:
        goto mp;
        YT:
        if (NddKoYsdasadJD()) {
            goto HF;
        }
        update_option("\x6d\x6f\137\x6c\144\141\x70\137\x6c\x6f\x63\141\x6c\137\x6d\x65\x73\163\141\x67\145", "\123\x65\164\x74\151\x6e\147\x73\x20\143\x61\156\x27\x74\40\x62\145\40\x73\141\x76\x65\144\40\x77\151\164\150\157\165\164\40\166\x65\162\151\146\171\151\156\147\40\x79\x6f\165\x72\40\x6c\151\143\x65\156\x73\x65\x20\x6b\x65\171\x2e");
        $this->show_error_message();
        goto Oj;
        HF:
        $Vy = update_option("\x6d\157\137\154\144\x61\x70\137\154\157\143\x61\x6c\137\x65\x6e\x61\x62\154\x65\x5f\x6c\x6f\147\x69\156", isset($_POST["\145\x6e\141\x62\x6c\145\x5f\x6c\144\x61\160\137\x6c\157\147\151\x6e"]) ? $_POST["\x65\156\x61\142\x6c\145\x5f\x6c\144\x61\x70\137\x6c\x6f\147\x69\156"] : 0);
        error_log("\x53\x74\x61\164\x75\x73\x3a\40" . $Vy);
        error_log("\x45\x6e\141\142\x6c\x65\x20\x4c\x44\101\120\40\154\x6f\x67\151\x6e\72\40" . get_option("\x6d\x6f\137\154\144\141\x70\x5f\x6c\157\143\141\x6c\137\x65\x6e\x61\142\x6c\x65\137\x6c\x6f\147\x69\x6e"));
        if (get_option("\x6d\x6f\137\x6c\144\x61\160\x5f\x6c\157\143\141\x6c\x5f\x65\156\141\142\x6c\145\137\x6c\x6f\147\151\x6e")) {
            goto VY;
        }
        update_option("\155\157\137\154\x64\141\x70\x5f\154\157\x63\141\x6c\x5f\x6d\145\163\x73\141\x67\x65", "\x4c\157\147\x69\x6e\40\x74\x68\162\157\165\x67\x68\x20\x79\x6f\165\x72\40\x4c\x44\101\x50\40\150\x61\163\40\x62\145\x65\x6e\40\144\151\x73\x61\142\x6c\x65\144\56");
        $this->show_success_message();
        goto bY;
        VY:
        update_option("\155\157\x5f\x6c\x64\141\160\x5f\x6c\157\143\x61\x6c\x5f\x6d\x65\163\163\141\147\x65", "\x4c\x6f\x67\x69\x6e\x20\164\150\x72\157\165\147\150\40\x79\x6f\165\x72\40\114\104\101\x50\40\x68\x61\163\40\142\145\x65\156\40\x65\156\141\x62\x6c\145\x64\56");
        $this->show_success_message();
        bY:
        Oj:
        mp:
        goto r6;
        qb:
        $V4 = '';
        $vJ = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\145\x6d\x61\151\x6c"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\160\141\163\163\167\157\162\144"])) {
            goto dW;
        }
        $V4 = sanitize_email($_POST["\145\x6d\x61\151\x6c"]);
        $vJ = sanitize_text_field($_POST["\x70\x61\x73\x73\x77\157\x72\144"]);
        goto gK;
        dW:
        update_option("\x6d\x6f\x5f\154\144\x61\x70\x5f\x6c\157\143\x61\x6c\137\x6d\145\x73\x73\x61\x67\x65", "\x41\x6c\154\40\x74\150\x65\x20\146\151\x65\x6c\x64\x73\40\x61\x72\x65\40\x72\x65\x71\x75\151\x72\x65\x64\56\40\120\x6c\x65\x61\x73\145\x20\x65\156\x74\x65\x72\40\x76\141\154\151\x64\40\x65\156\164\x72\151\x65\163\x2e");
        $this->show_error_message();
        return;
        gK:
        update_option("\x6d\157\x5f\x6c\x64\x61\x70\x5f\x6c\x6f\143\x61\154\x5f\x61\144\x6d\x69\156\x5f\x65\x6d\x61\x69\x6c", $V4);
        update_option("\x6d\x6f\137\154\x64\141\x70\x5f\x6c\157\x63\141\x6c\137\x70\141\163\x73\167\x6f\162\x64", $vJ);
        $MK = new Mo_Ldap_Local_Customer();
        $Ak = $MK->get_customer_key();
        $FI = json_decode($Ak, true);
        delete_option("\x6d\x6f\137\x6c\x64\x61\x70\137\154\x6f\x63\x61\x6c\x5f\166\x65\x72\151\x66\171\137\143\165\x73\164\x6f\155\x65\162");
        if (get_option("\155\157\137\x6c\144\141\160\137\x6c\x6f\x63\141\154\137\x6c\x69\x63\145\x6e\x73\x65\x5f\x6b\145\171")) {
            goto S3;
        }
        $this->show_success_message();
        goto U_;
        S3:
        $aU = Mo_Ldap_Local_Util::decrypt(get_option("\155\x6f\137\154\x64\141\160\x5f\154\157\x63\x61\154\x5f\x6c\151\x63\x65\156\x73\145\x5f\153\145\x79"));
        $Ak = json_decode($MK->XfskodsfhHJ($aU), true);
        if (strcasecmp($Ak["\x73\164\x61\x74\x75\x73"], "\x53\x55\103\x43\105\123\x53") == 0) {
            goto Rj;
        }
        update_option("\x6d\157\137\x6c\144\141\x70\137\x6c\157\x63\141\x6c\137\155\145\163\x73\x61\147\x65", "\x4c\151\143\x65\156\x73\x65\40\153\x65\171\x20\146\157\162\x20\x74\150\151\163\x20\x69\x6e\163\164\x61\156\143\145\x20\x69\163\40\151\156\x63\157\x72\162\145\x63\x74\56\40\115\x61\x6b\145\40\163\x75\162\x65\40\171\x6f\165\x20\x68\x61\x76\x65\40\156\157\x74\x20\x74\x61\x6d\x70\x65\162\x65\x64\40\x77\151\164\150\x20\x69\164\x20\x61\164\40\141\154\154\56\40\120\154\145\141\163\145\x20\145\x6e\x74\145\162\40\x61\40\x76\141\x6c\x69\x64\x20\x6c\151\x63\145\x6e\163\x65\40\x6b\x65\x79\56");
        delete_option("\x6d\x6f\137\x6c\x64\x61\x70\x5f\x6c\157\143\141\154\137\x6c\151\x63\145\156\x73\145\x5f\x6b\x65\171");
        $this->show_error_message();
        goto xL;
        Rj:
        $this->show_success_message();
        xL:
        U_:
        if (strcasecmp($FI["\x61\160\151\x4b\x65\x79"], "\103\x55\x52\x4c\x5f\x45\x52\122\117\122") == 0) {
            goto Zc;
        }
        if (json_last_error() == JSON_ERROR_NONE) {
            goto Zu;
        }
        update_option("\x6d\x6f\137\154\144\x61\x70\x5f\x6c\x6f\143\x61\x6c\137\x6d\x65\x73\163\x61\147\x65", "\x49\156\166\141\x6c\151\144\40\x75\163\x65\x72\x6e\x61\155\145\x20\157\x72\40\x70\141\163\163\x77\157\x72\x64\x2e\40\120\x6c\x65\141\x73\145\40\x74\x72\x79\x20\x61\x67\141\151\x6e\56");
        $this->show_error_message();
        goto MD;
        Zu:
        update_option("\x6d\x6f\137\154\x64\x61\160\x5f\154\157\143\x61\x6c\x5f\x61\144\x6d\x69\156\x5f\x70\150\x6f\x6e\145", $FI["\160\x68\157\156\x65"]);
        $this->save_success_customer_config($FI["\x69\144"], $FI["\x61\x70\151\113\145\x79"], $FI["\164\x6f\153\145\x6e"], "\x59\x6f\x75\x72\40\141\x63\143\157\x75\156\x74\40\x68\x61\163\40\142\145\145\156\x20\x72\145\164\162\x69\x65\166\x65\144\40\x73\x75\x63\x63\145\163\163\x66\165\x6c\x6c\171\56");
        update_option("\x6d\x6f\137\154\144\x61\160\137\x6c\x6f\143\141\154\137\x70\x61\163\x73\167\x6f\x72\x64", '');
        MD:
        goto E3;
        Zc:
        update_option("\155\x6f\137\154\x64\x61\x70\x5f\x6c\x6f\143\x61\x6c\x5f\155\x65\163\163\141\147\x65", $FI["\164\x6f\x6b\x65\156"]);
        $this->show_error_message();
        E3:
        update_option("\x6d\x6f\137\x6c\144\x61\160\137\154\x6f\143\141\154\137\160\x61\x73\x73\167\157\162\x64", '');
        r6:
        goto TZ;
        zL:
        $V4 = '';
        $pt = '';
        $vJ = '';
        $Xd = '';
        if (Mo_Ldap_Local_Util::check_empty_or_null($_POST["\145\x6d\141\x69\x6c"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\x70\x61\163\163\x77\157\x72\x64"]) || Mo_Ldap_Local_Util::check_empty_or_null($_POST["\143\x6f\x6e\x66\x69\162\x6d\x50\x61\x73\x73\167\x6f\162\x64"])) {
            goto hL;
        }
        if (strlen($_POST["\160\141\163\163\x77\157\162\144"]) < 6 || strlen($_POST["\x63\157\x6e\x66\x69\162\x6d\x50\x61\x73\x73\167\157\162\144"]) < 6) {
            goto c2;
        }
        $V4 = sanitize_email($_POST["\x65\x6d\x61\x69\154"]);
        $pt = sanitize_text_field($_POST["\x70\150\157\x6e\x65"]);
        $vJ = sanitize_text_field($_POST["\x70\141\163\x73\x77\157\x72\144"]);
        $Xd = sanitize_text_field($_POST["\143\157\156\x66\x69\x72\x6d\120\x61\163\x73\167\x6f\x72\144"]);
        goto Li;
        c2:
        update_option("\155\157\137\x6c\x64\x61\x70\x5f\154\x6f\143\141\154\137\155\x65\x73\x73\x61\147\x65", "\x43\150\x6f\x6f\x73\x65\x20\x61\40\x70\x61\x73\x73\167\x6f\x72\x64\x20\x77\x69\x74\150\x20\155\x69\x6e\x69\155\165\155\40\x6c\145\156\x67\164\150\40\66\x2e");
        $this->show_error_message();
        return;
        Li:
        goto Bo;
        hL:
        update_option("\155\157\x5f\x6c\144\141\160\137\x6c\x6f\x63\x61\x6c\137\155\145\x73\x73\x61\x67\145", "\x41\154\154\40\164\150\x65\40\146\151\145\x6c\x64\x73\40\x61\x72\145\40\162\x65\161\x75\151\162\x65\x64\x2e\40\x50\x6c\x65\x61\x73\145\40\145\x6e\164\145\x72\40\x76\141\154\x69\144\40\145\x6e\164\162\151\145\x73\56");
        $this->show_error_message();
        return;
        Bo:
        update_option("\155\x6f\137\154\x64\x61\x70\x5f\154\x6f\143\141\x6c\137\x61\x64\155\151\x6e\x5f\145\x6d\x61\x69\154", $V4);
        if (!($pt != '')) {
            goto ts;
        }
        update_option("\155\x6f\137\154\x64\x61\x70\x5f\x6c\157\143\x61\154\x5f\141\x64\x6d\x69\x6e\137\160\150\x6f\x6e\145", $pt);
        ts:
        if (strcmp($vJ, $Xd) == 0) {
            goto zN;
        }
        update_option("\155\157\x5f\x6c\144\x61\160\137\x6c\157\x63\141\154\137\155\x65\163\x73\x61\x67\145", "\120\141\163\163\167\x6f\x72\x64\x20\x61\156\x64\x20\x43\x6f\156\146\x69\162\155\40\160\x61\163\x73\167\157\162\x64\x20\144\157\40\x6e\157\164\x20\155\x61\x74\143\x68\x2e");
        delete_option("\155\x6f\x5f\154\144\x61\160\x5f\154\157\x63\141\154\x5f\166\x65\162\x69\x66\171\137\x63\165\163\164\x6f\x6d\x65\162");
        $this->show_error_message();
        goto cx;
        zN:
        update_option("\x6d\x6f\137\x6c\144\x61\x70\137\154\157\143\141\154\137\160\x61\163\x73\x77\x6f\162\x64", $vJ);
        $MK = new Mo_Ldap_Local_Customer();
        $Ak = json_decode($MK->check_customer(), true);
        if (strcasecmp($Ak["\163\164\141\x74\x75\163"], "\x43\x55\x53\124\117\115\105\122\137\116\x4f\x54\x5f\x46\117\x55\x4e\104") == 0) {
            goto MX;
        }
        if (strcasecmp($Ak["\163\x74\x61\x74\x75\163"], "\x43\x55\122\x4c\137\x45\122\122\x4f\122") == 0) {
            goto y2;
        }
        $Ak = $MK->get_customer_key();
        $FI = json_decode($Ak, true);
        if (json_last_error() == JSON_ERROR_NONE) {
            goto X0;
        }
        update_option("\x6d\157\x5f\x6c\x64\141\160\x5f\154\157\143\141\154\137\x6d\145\x73\x73\x61\x67\145", "\131\x6f\165\40\x61\154\x72\x65\x61\x64\171\x20\150\141\x76\145\40\141\156\x20\141\x63\143\157\165\x6e\164\x20\167\x69\164\x68\40\155\151\x6e\151\x4f\x72\141\x6e\x67\145\56\x20\x50\154\x65\141\163\145\x20\145\156\x74\145\162\x20\x61\x20\x76\x61\x6c\x69\144\x20\x70\141\x73\x73\x77\x6f\162\x64\x2e");
        update_option("\155\157\x5f\154\144\141\x70\137\154\157\x63\141\154\137\x76\145\x72\x69\x66\171\x5f\x63\x75\x73\x74\157\x6d\145\x72", "\x74\x72\165\x65");
        delete_option("\155\x6f\137\154\144\141\x70\137\x6c\x6f\x63\x61\x6c\137\x6e\x65\x77\137\x72\145\147\151\x73\x74\162\141\164\x69\x6f\x6e");
        $this->show_error_message();
        goto Er;
        X0:
        $this->save_success_customer_config($FI["\151\144"], $FI["\141\x70\151\113\145\x79"], $FI["\164\x6f\153\145\156"], "\x59\x6f\165\x72\x20\141\x63\x63\157\x75\x6e\164\x20\x68\x61\x73\x20\x62\x65\145\156\x20\x72\x65\x74\x72\151\145\x76\x65\x64\x20\x73\x75\x63\143\145\163\x73\x66\165\x6c\x6c\x79\x2e");
        update_option("\x6d\x6f\x5f\x6c\144\141\x70\x5f\x6c\157\143\x61\x6c\137\x70\141\163\163\167\x6f\162\144", '');
        Er:
        goto Cd;
        y2:
        update_option("\155\157\137\154\144\141\x70\137\x6c\x6f\143\x61\154\x5f\x6d\145\163\163\x61\x67\145", $Ak["\163\164\141\164\x75\x73\x4d\x65\163\163\x61\x67\x65"]);
        update_option("\x6d\x6f\137\x6c\x64\x61\160\x5f\x6c\x6f\143\141\x6c\x5f\x72\145\147\x69\x73\164\162\x61\164\151\157\x6e\x5f\163\164\x61\164\x75\x73", "\115\x4f\x5f\x4f\124\x50\x5f\104\x45\x4c\111\x56\x45\122\105\x44\x5f\x46\101\x49\114\x55\x52\x45");
        $this->show_error_message();
        Cd:
        goto U0;
        MX:
        $HC = "\105\x4d\101\111\x4c";
        $Ak = json_decode($MK->send_otp_token($HC, null), true);
        if (strcasecmp($Ak["\x73\164\141\164\x75\163"], "\123\x55\x43\x43\105\x53\123") == 0) {
            goto xT;
        }
        update_option("\x6d\157\x5f\154\144\x61\160\137\154\x6f\x63\141\154\x5f\155\x65\x73\x73\x61\147\145", "\x54\150\x65\162\x65\x20\x77\x61\163\40\141\156\40\145\162\162\x6f\x72\x20\x69\156\x20\x73\145\x6e\144\151\156\x67\40\x65\155\x61\x69\154\x2e\x20\x50\154\145\141\x73\145\40\143\154\151\143\x6b\40\157\x6e\x20\122\x65\163\x65\156\144\40\117\x54\x50\40\164\157\x20\x74\x72\171\40\141\147\x61\151\156\x2e");
        update_option("\155\x6f\x5f\154\x64\x61\x70\x5f\x6c\x6f\143\141\154\137\x72\x65\x67\151\163\164\162\141\x74\151\157\x6e\x5f\163\x74\141\164\165\x73", "\x4d\117\x5f\x4f\124\120\x5f\x44\x45\114\111\126\105\122\105\104\x5f\106\101\111\114\125\122\105");
        $this->show_error_message();
        goto sb;
        xT:
        update_option("\x6d\157\x5f\x6c\x64\141\160\x5f\x6c\x6f\x63\141\154\137\145\x6d\141\151\x6c\x5f\143\x6f\x75\x6e\x74", 1);
        update_option("\x6d\x6f\137\x6c\x64\x61\x70\x5f\154\x6f\x63\141\x6c\137\x6d\x65\163\163\x61\147\x65", "\101\x20\117\156\145\x20\x54\151\x6d\145\40\120\141\163\163\x63\157\x64\x65\40\x68\x61\163\40\x62\145\x65\156\x20\163\x65\x6e\x74\x20\x3c\x62\76\x28\40\x31\40\x29\x3c\x2f\x62\76\40\164\x6f\40\x3c\x62\76" . get_option("\x6d\x6f\137\154\x64\141\x70\x5f\x6c\157\143\x61\154\137\141\x64\x6d\151\156\x5f\x65\x6d\x61\151\154") . "\x3c\57\x62\76\56\x20\x50\x6c\145\141\x73\x65\x20\145\156\164\x65\x72\x20\164\x68\x65\40\x4f\x54\120\x20\x62\x65\x6c\x6f\167\x20\x74\157\40\x76\145\162\x69\x66\171\x20\171\157\x75\162\x20\x65\155\141\151\154\56\40");
        update_option("\155\157\x5f\x6c\144\x61\160\x5f\x6c\157\143\141\x6c\x5f\164\162\141\x6e\x73\141\143\164\151\157\x6e\111\144", $Ak["\164\170\111\x64"]);
        update_option("\x6d\157\137\154\144\141\160\x5f\x6c\157\x63\x61\154\137\x72\145\x67\151\163\x74\x72\x61\164\x69\157\156\137\x73\x74\141\164\x75\163", "\115\x4f\137\117\124\120\x5f\104\105\x4c\x49\126\105\122\x45\104\x5f\x53\x55\x43\103\105\x53\x53");
        $this->show_success_message();
        sb:
        U0:
        cx:
        TZ:
        if (isset($_POST["\x6f\160\x74\151\157\156"]) && $_POST["\x6f\160\164\x69\x6f\x6e"] == "\x6d\x6f\137\154\x64\x61\160\137\154\157\143\141\x6c\137\x76\145\162\151\x66\x79\x5f\x6c\151\x63\x65\156\x73\145") {
            goto C1;
        }
        if (isset($_POST["\x6f\x70\x74\151\157\156"]) && $_POST["\x6f\160\164\151\157\x6e"] == "\155\x6f\137\154\144\x61\x70\x5f\x6c\x6f\x63\141\x6c\x5f\146\x72\145\x65\x5f\164\x72\151\x61\154") {
            goto ni;
        }
        if (!(isset($_POST["\157\160\x74\151\x6f\x6e"]) && $_POST["\157\160\164\151\157\156"] == "\x6d\x6f\137\x6c\144\141\x70\137\x6c\157\143\141\154\x5f\143\x68\145\x63\153\137\154\x69\x63\145\x6e\x73\x65")) {
            goto WS;
        }
        $MK = new Mo_Ldap_Local_Customer();
        $Ak = json_decode($MK->check_customer_ln(), true);
        if (strcasecmp($Ak["\163\x74\x61\x74\165\163"], "\x53\x55\x43\103\x45\123\123") == 0) {
            goto To;
        }
        $ks = add_query_arg(array("\x74\141\142" => "\x70\x72\x69\x63\x69\156\147"), $_SERVER["\122\x45\121\125\105\x53\124\x5f\125\x52\111"]);
        update_option("\x6d\x6f\137\154\x64\141\160\x5f\154\157\x63\x61\154\x5f\155\145\163\163\x61\147\145", "\x59\157\165\x20\150\141\166\x65\x20\156\x6f\x74\40\x75\x70\x67\x72\x61\144\x65\144\x20\x79\x65\164\56\x20\x3c\x61\x20\x68\x72\x65\146\75\42" . $ks . "\42\76\103\x6c\151\x63\153\x20\150\x65\162\145\x3c\x2f\x61\x3e\40\164\157\40\165\x70\147\162\141\144\145\40\x74\x6f\40\160\162\x65\x6d\151\165\155\x20\166\145\x72\x73\151\x6f\156\56");
        $this->show_error_message();
        goto U2;
        To:
        if (array_key_exists("\154\151\x63\x65\156\x73\x65\120\x6c\x61\156", $Ak) && !Mo_Ldap_Local_Util::check_empty_or_null($Ak["\x6c\151\143\145\x6e\163\145\120\x6c\141\156"])) {
            goto Ek;
        }
        update_option("\163\x69\164\x65\x5f\x63\153\x5f\x6c", Mo_Ldap_Local_Util::encrypt("\146\141\154\163\x65"));
        $ks = add_query_arg(array("\x74\141\x62" => "\x70\x72\151\143\x69\x6e\147"), $_SERVER["\122\x45\x51\x55\105\123\x54\x5f\x55\x52\111"]);
        update_option("\x6d\157\137\x6c\x64\141\160\x5f\154\157\x63\141\154\x5f\155\145\163\x73\141\x67\x65", "\x59\157\x75\x20\150\x61\166\x65\40\x6e\157\164\40\x75\160\147\x72\141\x64\x65\x64\x20\x79\x65\x74\56\40\74\x61\x20\x68\x72\x65\x66\75\x22" . $ks . "\x22\x3e\x43\x6c\x69\143\153\x20\150\x65\162\x65\74\x2f\141\76\40\x74\x6f\40\165\160\147\x72\x61\144\x65\x20\164\157\40\160\162\145\x6d\x69\165\155\40\x76\x65\x72\163\151\157\156\x2e");
        $this->show_error_message();
        goto LL;
        Ek:
        update_option("\155\157\137\x6c\x64\x61\160\137\x6c\157\143\x61\x6c\137\154\x69\x63\x65\x6e\163\145\x5f\156\141\x6d\x65", base64_encode($Ak["\154\x69\x63\x65\156\163\145\x50\154\x61\156"]));
        update_option("\163\x69\164\145\137\143\153\x5f\x6c", Mo_Ldap_Local_Util::encrypt("\x74\162\165\145"));
        $ks = add_query_arg(array("\164\x61\x62" => "\141\x63\x63\157\x75\x6e\164"), $_SERVER["\122\x45\121\x55\105\x53\124\137\125\x52\111"]);
        update_option("\155\157\137\154\144\141\160\x5f\154\157\x63\141\154\x5f\155\145\x73\163\x61\147\145", "\x59\157\x75\40\150\x61\166\145\40\x73\165\x63\143\145\x73\163\x66\165\x6c\x6c\x79\40\x75\x70\x67\x72\x61\x64\x65\x64\40\164\157\x20\160\162\145\155\x69\165\x6d\x20\x76\145\x72\163\151\157\x6e\x2e\x20\x3c\x61\40\150\162\x65\146\75\42" . $ks . "\42\76\x43\154\151\x63\153\40\150\x65\162\145\x3c\57\x61\76\x20\164\157\x20\x61\x63\x74\x69\x76\x61\164\145\x20\x79\x6f\165\x72\x20\x6c\151\143\x65\156\x73\x65\x2e");
        $this->show_success_message();
        LL:
        U2:
        WS:
        goto j6;
        ni:
        if (decryptLDAPElement()) {
            goto HH;
        }
        $aU = post_response();
        $MK = new Mo_Ldap_Local_Customer();
        $Ak = json_decode($MK->XfskodsfhHJ($aU), true);
        if (strcasecmp($Ak["\163\164\x61\x74\165\x73"], "\123\125\x43\x43\x45\x53\123") == 0) {
            goto PD;
        }
        if (strcasecmp($Ak["\163\x74\141\164\x75\163"], "\106\101\111\x4c\x45\104") == 0) {
            goto nY;
        }
        update_option("\x6d\157\137\x6c\x64\141\160\x5f\x6c\x6f\143\141\x6c\137\155\x65\x73\x73\x61\147\x65", "\x41\x6e\x20\x65\x72\162\157\162\40\157\143\143\165\x72\145\x64\40\167\150\x69\154\145\x20\160\x72\157\x63\145\x73\x73\x69\156\147\40\x79\157\165\x72\x20\162\x65\x71\x75\145\x73\164\56\40\x50\154\145\x61\163\x65\40\x54\x72\x79\40\141\x67\141\151\156\x2e");
        $this->show_error_message();
        goto Ay;
        nY:
        update_option("\x6d\157\137\154\144\x61\160\x5f\x6c\157\x63\141\154\x5f\x6d\145\163\163\141\147\145", "\x54\x68\145\162\145\40\x77\141\x73\x20\x61\156\40\145\162\x72\157\x72\40\x61\x63\164\x69\x76\141\x74\x69\156\x67\x20\x79\157\165\162\40\x54\122\111\101\114\x20\x76\145\x72\x73\151\157\156\56\40\x50\x6c\145\x61\x73\x65\40\x63\157\x6e\164\x61\143\164\x20\x69\x6e\146\x6f\x40\155\151\156\151\157\162\x61\156\147\x65\56\143\157\155\x20\146\157\162\40\x67\x65\x74\x74\151\156\147\40\x6e\x65\167\x20\154\151\x63\145\x6e\x73\x65\x20\146\157\162\40\x74\162\151\141\x6c\40\x76\145\162\x73\151\x6f\156\56");
        $this->show_error_message();
        Ay:
        goto Gu;
        PD:
        update_option("\155\x6f\137\x6c\x64\x61\160\137\154\157\x63\x61\x6c\x5f\151\x73\x5f\164\x72\151\x61\154\137\153\x65\171", Mo_Ldap_Local_Util::encrypt($aU));
        update_option("\x74\137\x73\x69\x74\x65\137\x73\x74\x61\x74\165\163", Mo_Ldap_Local_Util::encrypt("\x74\x72\165\x65"));
        update_option("\155\x6f\x5f\154\x64\x61\x70\137\154\x6f\143\x61\154\x5f\155\145\163\x73\x61\147\145", "\x59\157\x75\162\40\65\x20\x64\x61\171\x73\40\x54\122\111\x41\114\x20\x69\x73\x20\141\x63\x74\x69\166\141\164\x65\x64\x2e\x20\x59\x6f\165\40\143\x61\x6e\40\x6e\x6f\167\x20\x73\x65\164\165\160\x20\164\150\145\x20\160\154\x75\x67\x69\156\x2e");
        $this->show_success_message();
        Gu:
        goto qq;
        HH:
        update_option("\155\157\137\x6c\x64\x61\160\137\154\x6f\x63\141\x6c\x5f\155\x65\x73\x73\141\x67\x65", "\124\x68\x65\x72\145\x20\167\x61\163\40\x61\156\x20\145\162\x72\x6f\x72\x20\x61\x63\x74\x69\166\141\164\151\156\x67\x20\x79\157\165\x72\40\124\x52\111\x41\x4c\x20\x76\145\x72\x73\151\x6f\x6e\x2e\40\105\151\x74\x68\145\x72\x20\x79\x6f\x75\162\40\164\x72\151\x61\x6c\40\160\145\162\x69\x6f\x64\40\151\x73\40\145\170\160\151\162\145\144\40\157\162\40\x79\x6f\x75\40\141\162\x65\x20\165\163\151\156\147\40\x77\x72\157\x6e\x67\x20\x74\162\x69\141\x6c\x20\166\x65\x72\x73\x69\157\156\x2e\40\120\154\x65\x61\163\x65\x20\143\157\x6e\164\141\x63\164\x20\x69\x6e\x66\157\x40\x6d\151\x6e\151\x6f\x72\x61\156\x67\x65\x2e\x63\157\x6d\40\x66\157\162\40\x67\x65\164\164\151\x6e\147\40\x6e\x65\167\x20\154\151\x63\145\156\x73\145\40\146\157\x72\x20\164\162\151\141\x6c\x20\x76\x65\x72\x73\x69\157\156\x2e");
        $this->show_error_message();
        qq:
        j6:
        goto RP;
        C1:
        if (!Mo_Ldap_Local_Util::check_empty_or_null($_POST["\155\x6f\x5f\x6c\x64\x61\x70\137\154\157\143\x61\x6c\137\154\151\143\145\156\x73\145\x5f\x6b\x65\x79"])) {
            goto Bt;
        }
        update_option("\155\x6f\x5f\x6c\x64\x61\160\x5f\x6c\x6f\x63\141\x6c\x5f\x6d\145\163\163\141\x67\x65", "\x41\x6c\154\x20\x74\x68\145\x20\x66\151\145\154\x64\x73\x20\141\x72\x65\40\x72\x65\161\165\x69\x72\145\x64\x2e\x20\x50\x6c\145\141\163\x65\40\x65\156\x74\145\x72\40\x76\141\x6c\151\144\40\x6c\x69\x63\x65\156\x73\145\40\x6b\145\x79\56");
        $this->show_error_message();
        return;
        Bt:
        $aU = trim($_POST["\155\x6f\137\154\144\141\x70\x5f\154\x6f\143\x61\154\x5f\154\151\x63\145\x6e\163\145\137\x6b\145\x79"]);
        $MK = new Mo_Ldap_Local_Customer();
        $Ak = json_decode($MK->XfskodsfhHJ($aU), true);
        if (strcasecmp($Ak["\163\x74\141\x74\165\x73"], "\x53\x55\x43\x43\105\123\123") == 0) {
            goto ui;
        }
        if (strcasecmp($Ak["\x73\164\141\x74\x75\x73"], "\x46\101\x49\114\105\x44") == 0) {
            goto yn;
        }
        update_option("\155\157\x5f\x6c\144\x61\160\137\154\x6f\x63\141\x6c\137\x6d\145\x73\163\x61\x67\x65", "\101\x6e\x20\145\162\x72\157\162\x20\157\143\143\x75\x72\145\144\x20\x77\x68\151\x6c\x65\40\160\x72\157\143\x65\x73\x73\151\156\147\40\171\157\x75\x72\40\x72\x65\x71\165\145\163\164\x2e\x20\120\x6c\145\x61\163\x65\x20\124\162\171\40\141\147\141\x69\x6e\56");
        $this->show_error_message();
        goto Iw;
        yn:
        if (strcasecmp($Ak["\155\x65\163\163\141\147\x65"], "\103\157\x64\145\x20\x68\141\163\x20\105\170\160\151\x72\x65\x64") == 0) {
            goto kT;
        }
        update_option("\155\x6f\x5f\x6c\x64\141\x70\x5f\x6c\157\143\x61\154\137\x6d\145\163\163\141\147\x65", "\x59\x6f\x75\40\150\x61\166\145\40\145\x6e\164\145\x72\145\144\x20\x61\156\x20\x69\x6e\166\141\x6c\151\144\40\154\x69\143\145\x6e\163\x65\x20\x6b\x65\171\56\40\120\x6c\x65\x61\163\x65\40\x65\156\x74\x65\162\40\x61\40\166\141\154\x69\x64\x20\154\151\x63\145\x6e\x73\x65\40\x6b\145\x79\56");
        goto zm;
        kT:
        $ks = add_query_arg(array("\x74\x61\142" => "\x70\162\x69\143\x69\x6e\x67"), $_SERVER["\x52\105\121\x55\x45\x53\124\137\125\x52\111"]);
        update_option("\155\x6f\137\x6c\144\141\160\137\x6c\x6f\143\141\x6c\137\x6d\x65\163\163\x61\x67\145", "\x4c\151\x63\145\x6e\163\x65\x20\153\145\x79\40\171\157\165\40\x68\x61\x76\x65\x20\145\156\x74\x65\x72\145\144\40\150\141\x73\40\x61\x6c\162\145\x61\x64\171\x20\x62\145\145\x6e\x20\165\163\x65\144\x2e\40\x50\154\145\141\x73\145\x20\145\x6e\x74\x65\x72\40\141\40\153\145\171\40\167\150\151\x63\150\x20\x68\x61\163\x20\x6e\x6f\x74\x20\142\x65\x65\x6e\40\165\163\145\x64\40\142\145\146\x6f\x72\145\40\157\x6e\x20\x61\x6e\171\40\157\x74\x68\x65\162\40\151\x6e\x73\x74\141\156\x63\145\x20\x6f\162\x20\151\x66\x20\171\x6f\165\x20\150\141\x76\145\40\x65\170\141\165\x73\164\x65\144\40\141\154\x6c\40\x79\157\165\162\40\x6b\x65\x79\163\40\x74\x68\x65\x6e\40\x3c\141\x20\x68\x72\x65\x66\x3d\42" . $ks . "\42\76\x43\154\x69\143\x6b\x20\150\145\162\x65\x3c\x2f\x61\76\40\164\157\x20\x62\x75\x79\40\x6d\157\162\145\56");
        zm:
        $this->show_error_message();
        Iw:
        goto O3;
        ui:
        update_option("\155\157\x5f\x6c\144\141\x70\x5f\x6c\x6f\143\x61\x6c\137\x6c\151\143\x65\x6e\163\x65\137\x6b\145\171", Mo_Ldap_Local_Util::encrypt($aU));
        update_option("\x6d\x6f\x5f\x6c\144\141\160\x5f\x6c\x6f\x63\x61\x6c\137\x6d\x65\x73\x73\x61\147\x65", "\x59\x6f\165\x72\40\x6c\x69\143\x65\156\163\x65\40\151\x73\x20\x76\145\162\151\x66\151\x65\x64\x2e\40\131\157\x75\40\x63\x61\x6e\40\x6e\157\x77\40\163\x65\164\x75\x70\40\x74\150\145\40\160\154\165\x67\x69\x6e\56");
        update_option("\164\137\x73\151\x74\x65\x5f\x73\x74\141\164\x75\x73", Mo_Ldap_Local_Util::encrypt("\146\x61\x6c\x73\145"));
        update_option("\x73\x69\164\x65\x5f\143\x6b\137\x6c", Mo_Ldap_Local_Util::encrypt("\x74\162\x75\x65"));
        $this->show_success_message();
        O3:
        RP:
        u9:
        if (mo_ldap_local_ntlsl()) {
            goto Mu;
        }
        if (ch_xdigit()) {
            goto we;
        }
        delete_option("\x6d\157\137\154\x64\x61\x70\x5f\x6c\x6f\143\x61\154\x5f\x65\x6e\141\142\154\145\137\154\157\147\x69\x6e");
        we:
        goto sv;
        Mu:
        if (!decryptLDAPElement()) {
            goto L1;
        }
        update_option("\164\x5f\163\151\164\x65\137\x73\x74\x61\164\165\163", Mo_Ldap_Local_Util::encrypt("\x66\x61\x6c\x73\x65"));
        L1:
        sv:
    }
    function test_attribute_configuration()
    {
        if (!isset($_REQUEST["\157\160\164\x69\x6f\x6e"])) {
            goto J_;
        }
        if ($_REQUEST["\x6f\x70\164\x69\157\x6e"] == "\x74\x65\x73\x74\x61\x74\164\x72\x63\x6f\x6e\146\x69\x67") {
            goto wo;
        }
        if (!($_REQUEST["\x6f\x70\x74\x69\157\x6e"] == "\164\x65\x73\x74\162\157\154\x65\x6d\x61\x70\x70\x69\156\147\x63\157\156\146\151\147")) {
            goto Ra;
        }
        $GG = $_REQUEST["\165\163\x65\x72"];
        $po = new Mo_Ldap_Local_Role_Mapping();
        $po->test_configuration($GG);
        Ra:
        goto dy;
        wo:
        $GG = $_REQUEST["\165\x73\145\162"];
        $wS = new Mo_Ldap_Local_Config();
        $wS->test_attribute_configuration($GG);
        dy:
        J_:
    }
    function save_success_customer_config($gE, $xt, $Uz, $Pv)
    {
        update_option("\x6d\x6f\x5f\154\x64\141\x70\137\154\x6f\x63\141\154\x5f\x61\144\155\x69\x6e\137\x63\165\x73\x74\x6f\155\145\162\x5f\x6b\x65\171", $gE);
        update_option("\x6d\157\x5f\154\x64\141\160\x5f\154\157\x63\x61\154\x5f\x61\x64\155\x69\x6e\137\141\x70\x69\137\x6b\145\171", $xt);
        update_option("\x6d\x6f\137\x6c\144\141\160\x5f\154\x6f\x63\x61\x6c\x5f\x63\x75\163\164\157\x6d\145\162\137\x74\157\153\145\156", $Uz);
        update_option("\x6d\x6f\x5f\154\144\141\160\137\x6c\x6f\x63\141\154\x5f\x70\141\x73\x73\167\157\162\x64", '');
        update_option("\155\x6f\x5f\x6c\x64\x61\160\137\x6c\x6f\143\141\154\x5f\x6d\x65\163\163\141\x67\145", $Pv);
        delete_option("\x6d\x6f\137\x6c\x64\141\160\x5f\154\x6f\143\141\154\137\x76\145\162\x69\x66\x79\x5f\143\165\x73\x74\157\x6d\145\x72");
        delete_option("\x6d\157\x5f\x6c\144\141\160\x5f\x6c\x6f\x63\141\x6c\137\x6e\145\167\x5f\x72\145\147\x69\163\164\162\141\x74\151\x6f\156");
        delete_option("\x6d\x6f\137\x6c\x64\141\160\x5f\x6c\x6f\x63\141\154\137\162\x65\147\151\163\164\x72\141\x74\151\x6f\156\137\163\x74\x61\x74\x75\x73");
        $this->show_success_message();
    }
    function mo_ldap_local_settings_style()
    {
        wp_enqueue_style("\155\157\x5f\154\144\141\x70\137\141\144\155\151\156\x5f\163\145\x74\164\151\156\x67\163\x5f\163\164\171\154\x65", plugins_url("\x69\x6e\143\154\165\x64\145\x73\57\x63\163\163\x2f\163\164\x79\x6c\145\137\x73\x65\164\164\151\x6e\147\163\x2e\x63\163\x73", __FILE__));
        wp_enqueue_style("\x6d\157\137\154\144\141\160\137\141\144\155\x69\156\137\x73\145\x74\164\151\x6e\x67\163\137\160\150\157\156\x65\137\163\164\x79\x6c\x65", plugins_url("\151\156\x63\154\x75\144\145\x73\x2f\x63\163\163\x2f\x70\x68\157\156\145\56\x63\163\163", __FILE__));
    }
    function mo_ldap_local_settings_script()
    {
        wp_enqueue_script("\155\157\x5f\x6c\x64\141\x70\137\141\x64\x6d\x69\x6e\137\163\145\x74\164\x69\x6e\147\x73\x5f\160\150\x6f\x6e\x65\137\x73\x63\x72\151\x70\x74", plugins_url("\151\x6e\x63\x6c\x75\x64\x65\163\57\x6a\163\x2f\x70\150\x6f\156\x65\56\x6a\x73", __FILE__));
        wp_enqueue_script("\155\x6f\x5f\x6c\x64\141\x70\x5f\x61\x64\x6d\x69\156\x5f\163\145\164\164\x69\156\147\163\x5f\x73\143\162\x69\160\x74", plugins_url("\x69\156\143\x6c\165\x64\145\163\x2f\x6a\163\57\x73\x65\x74\164\151\x6e\x67\x73\x5f\160\x61\x67\145\56\152\x73", __FILE__), array("\152\x71\x75\x65\162\x79"));
    }
    function error_message()
    {
        $C_ = "\145\162\x72\157\162";
        $Pv = get_option("\155\x6f\x5f\x6c\144\141\160\137\154\x6f\143\141\154\137\155\145\x73\x73\x61\x67\145");
        echo "\74\144\x69\166\x20\143\x6c\141\163\x73\x3d\47" . $C_ . "\47\76\x20\74\x70\76" . $Pv . "\74\57\x70\x3e\x3c\x2f\144\151\x76\76";
    }
    function success_message()
    {
        $C_ = "\165\160\x64\141\x74\145\144";
        $Pv = get_option("\x6d\x6f\137\154\x64\x61\x70\137\154\x6f\143\141\x6c\137\x6d\x65\163\x73\141\147\145");
        echo "\x3c\144\x69\166\x20\x63\x6c\141\163\x73\x3d\x27" . $C_ . "\x27\76\x20\x3c\160\76" . $Pv . "\x3c\x2f\x70\x3e\74\x2f\144\151\166\x3e";
    }
    function show_success_message()
    {
        remove_action("\141\144\155\151\156\137\156\x6f\164\151\143\x65\163", array($this, "\145\x72\x72\x6f\162\x5f\155\x65\x73\x73\141\147\x65"));
        add_action("\141\144\x6d\151\156\137\x6e\157\x74\x69\x63\145\163", array($this, "\x73\x75\x63\x63\x65\163\x73\137\155\x65\163\x73\141\x67\145"));
    }
    function show_error_message()
    {
        remove_action("\x61\x64\155\x69\x6e\137\156\x6f\164\x69\143\145\163", array($this, "\x73\x75\x63\x63\x65\163\163\137\155\145\x73\163\x61\x67\x65"));
        add_action("\x61\144\x6d\x69\156\x5f\156\x6f\164\151\x63\x65\x73", array($this, "\x65\x72\x72\157\x72\x5f\155\145\x73\163\141\147\x65"));
    }
    function plugin_query_vars($M5)
    {
        $M5[] = "\141\160\160\x5f\156\x61\x6d\145";
        return $M5;
    }
    function parse_sso_request($iG)
    {
        if (!array_key_exists("\x61\x70\160\137\x6e\x61\155\145", $iG->query_vars)) {
            goto nt;
        }
        $HA = mo_ldap_saml_login($iG->query_vars["\141\x70\x70\x5f\156\x61\155\145"]);
        wp_redirect($HA, 302);
        die;
        nt:
    }
    function mo_ldap_activate()
    {
        update_option("\x6d\157\x5f\154\x64\x61\160\137\154\157\x63\141\154\137\162\x65\147\x69\x73\164\x65\162\137\165\x73\145\162", 1);
    }
    public static function mo_ldap_local_uninstall()
    {
        delete_option("\x6d\157\x5f\x6c\144\x61\x70\x5f\x6c\x6f\x63\141\154\137\x73\x65\162\166\x65\x72\137\165\162\154");
        delete_option("\155\x6f\x5f\154\144\141\160\137\154\157\143\x61\x6c\137\x73\x65\162\x76\145\x72\137\144\156");
        delete_option("\155\x6f\x5f\154\144\x61\x70\x5f\x6c\157\x63\141\154\137\163\x65\x72\166\x65\x72\x5f\x70\141\163\x73\167\157\x72\x64");
        delete_option("\x6d\x6f\137\154\144\141\160\x5f\x6c\157\143\141\x6c\x5f\x73\x65\x61\162\143\x68\x5f\x66\151\154\x74\x65\x72");
        delete_option("\x6d\157\x5f\x6c\x64\x61\x70\137\154\x6f\143\x61\x6c\137\163\145\x61\162\143\150\137\x62\x61\163\145");
        delete_option("\x6d\x6f\137\x6c\x64\141\x70\137\x6c\x6f\x63\x61\x6c\137\x72\157\x6c\145\x5f\x6d\141\x70\x70\151\156\147\x5f\143\x6f\x75\x6e\164");
    }
    function mo_ldap_local_deactivate()
    {
        do_action("\146\x6c\165\163\150\x63\x61\143\150\145");
        if (Mo_Ldap_Local_Util::check_empty_or_null(get_option("\x6d\x6f\137\x6c\144\x61\x70\137\x6c\x6f\143\141\x6c\137\x72\x65\x67\x69\163\164\x72\x61\x74\151\157\x6e\137\x73\x74\x61\x74\165\x73"))) {
            goto T_;
        }
        delete_option("\155\x6f\137\154\144\141\160\137\x6c\x6f\143\141\x6c\137\141\x64\x6d\151\156\137\145\x6d\x61\x69\154");
        T_:
        delete_option("\x6d\x6f\x5f\154\144\141\160\137\x6c\x6f\x63\x61\154\x5f\x68\157\x73\x74\137\156\x61\155\x65");
        delete_option("\155\x6f\137\154\144\x61\160\137\154\x6f\143\141\x6c\x5f\144\x65\x66\x61\x75\154\164\137\x63\157\x6e\x66\151\147");
        delete_option("\155\157\x5f\154\144\x61\x70\137\x6c\157\x63\x61\x6c\137\160\x61\x73\x73\x77\x6f\x72\144");
        delete_option("\155\x6f\x5f\154\144\141\160\137\154\x6f\143\141\x6c\137\156\145\167\137\162\x65\147\x69\163\x74\x72\141\164\151\157\156");
        delete_option("\x6d\x6f\137\x6c\144\x61\x70\x5f\x6c\x6f\143\x61\x6c\x5f\141\144\155\x69\156\x5f\160\150\157\x6e\145");
        delete_option("\x6d\157\x5f\x6c\144\141\x70\137\x6c\157\143\x61\x6c\137\x76\145\x72\x69\146\x79\137\x63\x75\163\x74\x6f\155\145\162");
        delete_option("\x6d\157\137\154\144\141\x70\x5f\x6c\157\143\x61\154\137\x61\144\155\151\x6e\x5f\x63\165\163\164\x6f\x6d\x65\162\x5f\153\145\171");
        delete_option("\155\x6f\137\x6c\x64\x61\160\x5f\154\157\x63\x61\x6c\137\141\144\x6d\151\156\137\x61\160\151\137\x6b\145\171");
        delete_option("\x6d\157\x5f\154\x64\x61\160\x5f\154\x6f\x63\x61\x6c\137\143\x75\x73\x74\157\155\x65\162\137\x74\157\153\145\156");
        delete_option("\x6d\157\137\154\x64\141\160\x5f\154\157\143\x61\154\137\x6d\x65\x73\x73\141\147\145");
        delete_option("\155\x6f\x5f\x6c\x64\x61\x70\x5f\x6c\x6f\143\141\154\x5f\x65\x6e\x61\x62\x6c\145\137\154\157\x67\x69\x6e");
        delete_option("\x6d\157\137\x6c\144\x61\x70\137\x6c\x6f\x63\x61\154\x5f\164\162\141\x6e\163\141\143\164\x69\157\x6e\111\144");
        delete_option("\x6d\157\137\x6c\x64\x61\x70\137\x6c\x6f\x63\x61\154\x5f\x72\145\x67\151\163\164\x72\141\164\x69\157\156\137\x73\164\141\x74\165\163");
        delete_option("\155\x6f\x5f\154\144\x61\160\137\x6c\157\x63\x61\154\137\x65\156\x61\142\x6c\x65\137\x72\x6f\x6c\145\137\x6d\141\x70\x70\x69\x6e\147");
        delete_option("\x6d\x6f\137\154\144\x61\x70\137\154\x6f\143\x61\154\137\153\145\145\x70\x5f\x65\170\151\163\164\x69\156\x67\x5f\165\x73\145\x72\137\162\x6f\154\145\163");
    }
}
new Mo_Ldap_Local_Login();
?>

Function Calls

None

Variables

None

Stats

MD5 72199eb23b158722b9d217ea1465b58e
Eval Count 0
Decode Time 161 ms