<?php include_once base64_decode('Li4vaW5jbHVkZXMvYXV0b2xvYWRlci5waHA=');include_once base64_decode('Li4vaW5jbHVkZXMvZnVuY3Rpb24ucGhw');$n_0=new bank;$p_1=purify($_POST[base64_decode('cGFzc3dvcmQ=')]);$o_2=purify($_POST[base64_decode('Y29uZmlybV9wYXNzd29yZA==')]);$n_3=purify($_POST[base64_decode('ZW1haWxfYWRkcmVzcw==')]);if($p_1==FALSE){?>
    <script>
    $('input[name="password"]').css('border-color', 'red');
    window.message1 = $('<p>').text('password is required').addClass('message');
    if ($('input[name="password"]').after(message1)) {
  $('#btn').attr('disabled', true);
 }
    </script>
    <?php }else{if(!validatePassword($p_1)){?>
        <script>
        $('input[name="password"]').css('border-color', 'red');
        window.message1 = $('<p>').text('password must be at least 8 characters and must contain one uppercase/lowercase, a number and a special character').addClass('message');
        if ($('input[name="password"]').after(message1)) {
        $('#btn').attr('disabled', true);
       }
        </script>
        <?php }else{if($o_2==FALSE){?>
    <script>
    $('input[name="confirm_password"]').css('border-color', 'red');
    window.message1 = $('<p>').text('confirm password Your password').addClass('message');
    if ($('input[name="confirm_password"]').after(message1)) {
  $('#btn').attr('disabled', true);
 }
    </script>
    <?php }else{if(!validatePassword($o_2)){?>
        <script>
        $('input[name="confirm_password"]').css('border-color', 'red');
        window.message1 = $('<p>').text('Confirm password must be at least 8 characters and must contain one uppercase/lowercase, a number and a special character').addClass('message');
        if ($('input[name="confirm_password"]').after(message1)) {
    $('#btn').attr('disabled', true);
   }
        </script>
        <?php }else{if($p_1==$o_2){$t_4=password_hash($p_1,PASSWORD_DEFAULT);$n_0->setpass($t_4);$n_0->setpassword($p_1);$q_5=$n_0->update_pass_with_email($n_3);if(!$q_5){echo base64_decode('PGRpdiBjbGFzcz0nYWxlcnQgYWxlcnQtZGFuZ2VyJyBzdHlsZT0nYmFja2dyb3VuZDpub25lOyBjb2xvcjogcmVkOyAnPmNvdWxkIG5vdCB1cGRhdGUgcGFzc3dvcmQ8L2Rpdj4=');}else{$b_6=$n_0->fetch_data_with_email($n_3);$c_7=$b_6[base64_decode('ZW1haWw=')];$b_8=$c_7;$r_9=base64_decode('V2VsY29tZSB0byA=').sitename;$a_a=base64_decode('PCFET0NUWVBFIGh0bWw+DQogICAgPGh0bWw+DQogICAgPGhlYWQ+DQogICAgICA8bWV0YSBjaGFyc2V0PSJ1dGYtOCI+DQogICAgICA8dGl0bGU+UGFzc3dvcmQgU3VjY2Vzc2Z1bGx5IENoYW5nZWQ8L3RpdGxlPg0KICAgIDwvaGVhZD4NCiAgICA8Ym9keSBzdHlsZT0iZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyBiYWNrZ3JvdW5kLWNvbG9yOiAjZjJmMmYyOyI+DQogICAgICA8dGFibGUgc3R5bGU9Im1heC13aWR0aDogNjAwcHg7IG1hcmdpbjogMCBhdXRvOyBwYWRkaW5nOiAyMHB4OyBiYWNrZ3JvdW5kLWNvbG9yOiAjZmZmZmZmOyBib3JkZXItcmFkaXVzOiA0cHg7IGJveC1zaGFkb3c6IDAgMnB4IDVweCByZ2JhKDAsIDAsIDAsIDAuMSk7Ij4NCg0KICAgICAgIDx0cj4NCiAgICAgICA8dGQgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsiPg0KICAgICAgIDxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOiAxMHB4OyB0ZXh0LWFsaWduOmNlbnRlcjsiPg0KICAgICAgIDxhIHN0eWxlPSJmb250LWZhbWlseTpBcmlhbCwiSGVsdmV0aWNhIE5ldWUiLEhlbHZldGljYSxzYW5zLXNlcmlmO2ZvbnQtc2l6ZToxNnB4O2ZvbnQtd2VpZ2h0OmJvbGQ7Y29sb3I6IzJmMzEzMzt0ZXh0LWRlY29yYXRpb246bm9uZSIgaHJlZj0i').sitelink.base64_decode('IiByZWw9Im5vcmVmZXJyZXIiPg0KICAgICAgIDxpbWcgc3JjPSI=').sitelink.base64_decode('YXNzZXRzL2ltZy9sb2dvLnBuZyIgd2lkdGg9IjEyMHB4IiBoZWlnaHQ9IjEwMHB4IiBjbGFzcz0iQ1RvV1VkIj4NCiAgICAgICAgPC9wPg0KICAgICAgIDwvdGQ+DQogICAgIDwvdHI+DQogICAgICAgIDx0cj4NCiAgICAgICAgICA8dGQgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsiPg0KICAgICAgICAgICAgPGgxIHN0eWxlPSJjb2xvcjogI0QxMDQwNDsgZm9udC1zaXplOiAyNHB4OyBtYXJnaW4tYm90dG9tOiAyMHB4OyI+UGFzc3dvcmQgU3VjY2Vzc2Z1bGx5IENoYW5nZWQ8L2gxPg0KICAgICAgICAgIDwvdGQ+DQogICAgICAgIDwvdHI+DQogICAgICAgIDx0cj4NCiAgICAgICAgICA8dGQgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsiPg0KICAgICAgICAgICAgPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206IDEwcHg7Ij5IZWxsbyBb').$b_6[base64_decode('Zm5hbWU=')].base64_decode('IA==').$b_6[base64_decode('bWlkZGxlbmFtZQ==')].base64_decode('IA==').$b_6[base64_decode('bG5hbWU=')].base64_decode('XSw8L3A+DQogICAgICAgICAgICA8cCBzdHlsZT0ibWFyZ2luLWJvdHRvbTogMTBweDsiPllvdXIgcGFzc3dvcmQgaGFzIGJlZW4gc3VjY2Vzc2Z1bGx5IGNoYW5nZWQuPC9wPg0KICAgICAgICAgIDwvdGQ+DQogICAgICAgIDwvdHI+DQogICAgICAgIDx0cj4NCiAgICAgICAgICA8dGQgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsiPg0KICAgICAgICAgICAgPHAgc3R5bGU9Im1hcmdpbi1ib3R0b206IDEwcHg7Ij5JZiB5b3UgZGlkIG5vdCBtYWtlIHRoaXMgY2hhbmdlLCBwbGVhc2UgY29udGFjdCBvdXIgc3VwcG9ydCB0ZWFtIGltbWVkaWF0ZWx5LjwvcD4NCiAgICAgICAgICA8L3RkPg0KICAgICAgICA8L3RyPg0KICAgICAgICA8dHI+DQogICAgICAgICAgPHRkIHN0eWxlPSJ0ZXh0LWFsaWduOiBjZW50ZXI7Ij4NCiAgICAgICAgICAgIDxwIHN0eWxlPSJtYXJnaW4tYm90dG9tOiAxMHB4OyI+VGhhbmsgeW91IGZvciB1c2luZyBvdXIgc2VydmljZXMuPC9wPg0KICAgICAgICAgIDwvdGQ+DQogICAgICAgIDwvdHI+DQogICAgICAgIDx0cj4NCiAgICAgICAgICA8dGQgc3R5bGU9InRleHQtYWxpZ246IGNlbnRlcjsiPg0KICAgICAgICAgICAgPHAgc3R5bGU9Im1hcmdpbi10b3A6IDQwcHg7Ij4mY29weTsg').date(base64_decode('WQ==')).base64_decode('IFs8c3BhbiBzdHlsZT0iY29sb3I6I0QxMDQwNDsiPg==').sitename.base64_decode('PC9zcGFuPl0gQWxsIHJpZ2h0cyByZXNlcnZlZC48L3A+DQogICAgICAgICAgPC90ZD4NCiAgICAgICAgPC90cj4NCiAgICAgIDwvdGFibGU+DQogICAgPC9ib2R5Pg0KICAgIDwvaHRtbD4NCiAgICA=');$c_b=base64_decode('TUlNRS1WZXJzaW9uOiAxLjA=').base64_decode('DQo=');$c_b.=base64_decode('Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9aXNvLTg4NTktMQ==').base64_decode('DQo=');$w_c=sitemail;$o_d=sitename;$c_b=base64_decode('TUlNRS1WZXJzaW9uOiAxLjA=').base64_decode('DQo=');$c_b.=base64_decode('Q29udGVudC10eXBlOnRleHQvaHRtbDtjaGFyc2V0PVVURi04').base64_decode('DQo=');$c_b.=base64_decode('RnJvbTog').$o_d.base64_decode('PA==').$w_c.base64_decode('Pg==').base64_decode('DQo=');$c_b.=base64_decode('Q2M6ICA=').sitemail.''.base64_decode('DQo=');$c_b.=base64_decode('QmNjOiAg').sitemail.''.base64_decode('DQo=');$v_e=$o_f[base64_decode('ZW5hYmxlX2VtYWls')];if($v_e==base64_decode('YWxsb3dlZA==')){if(mail($b_8,$r_9,$a_a,$c_b)){?>
        <script>
            Swal.fire({
          position: 'center',
          icon: 'success',
           html: 'password updated successfully',
          showConfirmButton: false,
          timer: 7000
        })
        var delay = 3000;
        // var url = "auth_login";
        setTimeout(function(){
        window.location.href = url; 
        }, delay);
        </script>
        <?php }else{echo base64_decode('ZXJyb3IgaW4gbWFpbGluZw==');}}else{if($v_e==''||$v_e==NULL||$v_e==false||$v_e==base64_decode('ZGlzYWxsb3dlZA==')){?>
    <script>
        Swal.fire({
      position: 'center',
      icon: 'success',
       html: 'password updated successfully',
      showConfirmButton: false,
      timer: 7000
    })
    var delay = 3000;
    // var url = "auth_login";
    setTimeout(function(){
    window.location.href = url; 
    }, delay);
    </script>
    <?php }}}}else{?>
    <script>
    $('input[name="confirm_password"]').css('border-color', 'red');
    $('input[name="password"]').css('border-color', 'red');
    window.message1 = $('<p>').text('Your passwords does not match').addClass('message');
    if ($('input[name="confirm_password"]').after(message1)) {
  $('#btn').attr('disabled', true);
 }
    </script>
<?php }}}}}?>