Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
\x20 \x20<h3\x20\x63las\x73\x3d\x22ca\x72d-title\">\x46\x6f\x74\x6f\x20P\x72of\x69\x6c\..
Decoded Output download
<? <h3 class="card-title\">Foto Profile</h3>
</div>
<div class="card-body\">
<div class="row">
<div class="col-5">
";echo form_open_multipart("",array("id"=>"set-foto"));echo " <div class=\"form-group pb-2">
<label for="logo-kanan\">Foto</label>
<input type=\"file" id=\"foto\" name="foto\" class=\"dropify"
data-max-file-size-preview="2M\"
data-allowed-file-extensions=\"jpg jpeg png\"
data-default-file="";echo base_url().$profile->foto;echo "\"/>
</div>
";echo form_close();echo " </div>
<div class=\"col-7\">
<div class="form-group">
<label>Nama Lengkap</label>
<input type=\"text\" placeholder="Nama Lengkap\" id=\"nama-lengkap\"
class=\"form-control" value="";echo $profile->nama_lengkap;echo "\">
</div>
<div class="form-group">
<label>Jabatan</label>
<input type="text" id=\"jabatan\" placeholder="Jabatan\" class=\"form-control"
value="";echo $profile->jabatan;echo "">
</div>
<button onclick=\"simpanProfile()\" id="simpan\"
class="btn btn-success float-right mt-3">Simpan
</button>
</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-6\">
";echo form_open("useradmin/change_password",array("id"=>"change_password"),array("id"=>$users->id));echo " <div class="card card-warning my-shadow">
<div class=\"card-header">
<h3 class=\"card-title">Ubah Password</h3>
</div>
<div class=\"card-body pb-0">
<div class=\"form-group\">
<label for="old">Password Lama</label>
<input type="password" placeholder=\"Password Lama" name="old" class=\"form-control\">
</div>
<div class="form-group">
<label for="new\">Password Baru</label>
<input type=\"password" placeholder=\"Password Baru\" name="new\" class="form-control\">
</div>
<div class="form-group\">
<label for="new_confirm\">Konfirmasi Password</label>
<input type="password\" placeholder="Konfirmasi Password Baru" name="new_confirm"
class=\"form-control">
</div>
</div>
<div class=\"card-footer\">
<button type=\"submit" id="btn-pass" class="btn btn-warning float-right ml-3\">Ganti
Password
</button>
<button type="reset" class=\"btn btn-default float-right ml-3\">
<i class="fa fa-rotate-left\"></i> Refresh
</button>
</div>
</div>
</div>
";}echo "
</div>
</div>
</section>
</div>
<script>
\$(document).ready(function () {
function submitajax(url, data, msg, btn) {
swal.fire({
text: "Silahkan tunggu....",
button: false,
closeOnClickOutside: false,
closeOnEsc: false,
allowEscapeKey: false,
allowOutsideClick: false,
onOpen: () => {
swal.showLoading();
}
});
\$.ajax({
url: url,
data: data,
type: 'POST',
success: function (response) {
if (response.status) {
swal.fire({
title: \"Sukses\",
text: msg,
icon: \"success\",
});
//showSuccessToast(msg);
//\$('form#change_password').trigger('reset');
} else {
if (response.errors) {
swal.fire({
title: \"Gagal",
text: 'Gagal edit admin',
icon: "error"
});
//showDangerToast('Gagal edit admin')
/*
\$.each(response.errors, function (key, val) {
\$('[name=\"' + key + '\"]').closest('.form-group').addClass('has-error');
\$('[name=\"' + key + '"]').nextAll('.help-block').eq(0).text(val);
if (val === '') {
\$('[name=\"' + key + '"]').closest('.form-group').removeClass('has-error');
\$('[name="' + key + '\"]').nextAll('.help-block').eq(0).text('');
}
});
*/
}
if (response.msg) {
swal.fire({
title: \"Gagal\",
text: 'Password lama tidak benar',
icon: \"error\"
});
//showDangerToast(\"Password lama tidak benar");
}
}
//btn.removeAttr('disabled').text('Ganti Password');
}, error: function (xhr, status, error) {
const err = JSON.parse(xhr.responseText)
swal.fire({
title: "Error\",
text: err.Message,
icon: \"error"
});
}
});
}
\$('form#change_password').on('submit', function (e) {
e.preventDefault();
e.stopImmediatePropagation();
let btn = \$('#btn-pass');
btn.attr('disabled', 'disabled').text('Process...');
url = \$(this).attr('action');
data = \$(this).serialize();
msg = \"Password anda berhasil diganti";
submitajax(url, data, msg, btn);
});
\$('form input, form select').on('change', function () {
\$(this).closest('.form-group').removeClass('has-error');
\$(this).nextAll('.help-block').eq(0).text('');
});
\$('form#user_info').on('submit', function (e) {
e.preventDefault();
e.stopImmediatePropagation();
let btn = \$('#btn-info');
btn.attr('disabled', 'disabled').text('Process...');
url = \$(this).attr('action');
data = \$(this).serialize();
msg = "Informasi user berhasil diupdate\";
submitajax(url, data, msg, btn);
});
\$('form#user_level').on('submit', function (e) {
e.preventDefault();
e.stopImmediatePropagation();
let btn = \$('#btn-level');
btn.attr('disabled', 'disabled').text('Process...');
url = \$(this).attr('action');
data = \$(this).serialize();
msg = "Level user berhasil diupdate\";
submitajax(url, data, msg, btn);
});
\$('form#user_status').on('submit', function (e) {
e.preventDefault();
e.stopImmediatePropagation();
let btn = \$('#btn-status');
btn.attr('disabled', 'disabled').text('Process...');
url = \$(this).attr('action');
data = \$(this).serialize();
msg = \"Status user berhasil diupdate\";
submitajax(url, data, msg, btn);
});
});
</script>
";if($user->id===$users->id){echo " <script type=\"text/javascript">
var idUser = '";echo $user->id;echo "';
var fprofil = '";echo base_url().$profile->foto;echo "';
\$(document).ready(function () {
ajaxcsrf();
var drEvent = \$('.dropify').dropify({
messages: {
'default': 'Seret logo kesini atau klik',
'replace': 'Seret atau klik<br>untuk mengganti logo',
'remove': 'Hapus',
'error': 'Ooops, ada kesalahan!!.'
},
error: {
'fileSize': 'The file size is too big ({{ value }} max).',
'minWidth': 'The image width is too small ({{ value }}}px min).',
'maxWidth': 'The image width is too big ({{ value }}}px max).',
'minHeight': 'The image height is too small ({{ value }}}px min).',
'maxHeight': 'The image height is too big ({{ value }}px max).',
'imageFormat': 'The image format is not allowed ({{ value }} only).'
}
});
drEvent.on('dropify.beforeClear', function (event, element) {
//return confirm("Hapus logo \\"\" + element.file.name + "\" ?\");
});
drEvent.on('dropify.afterClear', function (event, element) {
deleteImage(\$(event.currentTarget).data('default-file'));
});
drEvent.on('dropify.errors', function (event, element) {
console.log('Has Errors');
\$.toast({
heading: \"Error\",
text: \"file rusak",
icon: 'warning',
showHideTransition: 'fade',
allowToastClose: true,
hideAfter: 5000,
position: 'top-right'
});
});
\$("#foto\").change(function () {
var input = \$(this)[0];
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
\$('#prev-logo-kanan').attr('src', e.target.result);
};
reader.readAsDataURL(input.files[0]);
var form = new FormData(\$('#set-foto')[0]);
uploadAttach(base_url + 'useradmin/uploadfile/' + idUser, form);
}
});
function uploadAttach(action, data) {
\$.ajax({
type: \"POST\",
enctype: 'multipart/form-data',
url: action,
data: data,
processData: false,
contentType: false,
cache: false,
timeout: 600000,
success: function (data) {
console.log(data.src);
fprofil = data.src;
},
error: function (xhr, status, error) {
const err = JSON.parse(xhr.responseText)
swal.fire({
title: \"Error\",
text: err.Message,
icon: \"error"
});
}
});
}
function deleteImage(src) {
console.log(src);
\$.ajax({
data: {src: src},
type: "POST\",
url: base_url + "useradmin/deletefile",
cache: false,
success: function (response) {
console.log(response);
fprofil = '';
}
});
}
});
function simpanProfile() {
var namaLengkap = \$('#nama-lengkap').val();
var jabatan = \$('#jabatan').val();
swal.fire({
text: \"Silahkan tunggu....",
button: false,
closeOnClickOutside: false,
closeOnEsc: false,
allowEscapeKey: false,
allowOutsideClick: false,
onOpen: () => {
swal.showLoading();
}
});
\$.ajax({
data: {foto: fprofil, nama_lengkap: namaLengkap, jabatan: jabatan},
type: "POST",
url: base_url + "useradmin/saveprofile\",
success: function (response) {
//console.log(response);
swal.fire({
title: "Sukses\",
text: "Profile berhasil disimpan",
icon: \"success\",
});
}, error: function (xhr, status, error) {
const err = JSON.parse(xhr.responseText)
swal.fire({
title: \"Error\",
text: err.Message,
icon: \"error"
});
}
});
}
</script>
";}echo "
"; ?>
Did this file decode correctly?
Original Code
\x20 \x20<h3\x20\x63las\x73\x3d\x22ca\x72d-title\">\x46\x6f\x74\x6f\x20P\x72of\x69\x6c\x65</h\x33>\n\x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20 \x3c/di\x76\x3e\n\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20 <d\x69v c\x6c\x61s\x73\x3d\x22\x63a\x72\x64-\x62\x6fd\x79\"\x3e\n \x20 \x20 \x20 \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20\x20<\x64i\x76 class\x3d\x22r\x6f\x77\x22\x3e\n \x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20\x3c\x64iv \x63\x6ca\x73s\x3d\x22c\x6f\x6c-5\x22>\n \x20\x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20 ";echo form_open_multipart("",array("i\x64"=>"\x73\x65t-\x66\x6f\x74\x6f"));echo "\x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x3cd\x69v\x20class=\"\x66\x6f\x72\x6d-g\x72\x6fup pb-2\x22\x3e\n\x20\x20\x20 \x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20\x20 \x20\x20 <lab\x65\x6c fo\x72=\x22l\x6f\x67o-ka\x6e\x61\x6e\"\x3eF\x6ft\x6f</\x6cabel\x3e\n \x20 \x20\x20\x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x20 \x20\x20 <\x69np\x75\x74\x20ty\x70e=\"\x66\x69l\x65\x22\x20id=\"\x66ot\x6f\" \x6e\x61\x6d\x65\x3d\x22foto\"\x20c\x6c\x61\x73\x73\x3d\"\x64r\x6fpify\x22\n \x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x20 \x20 \x20 \x20\x20d\x61\x74a-m\x61x-\x66\x69\x6c\x65-s\x69z\x65-\x70\x72\x65\x76\x69\x65\x77=\x222M\"\n\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20\x20 \x20 \x64a\x74\x61-\x61\x6c\x6c\x6f\x77e\x64-\x66\x69\x6ce-\x65xt\x65\x6esi\x6fns=\"j\x70\x67\x20\x6apeg\x20\x70ng\"\n \x20\x20 \x20\x20 \x20 \x20 \x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20 \x20\x20 \x20\x64\x61\x74\x61-\x64\x65\x66a\x75l\x74-\x66ile=\x22";echo base_url().$profile->foto;echo "\"/>\n\x20 \x20 \x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x20\x20 \x20\x20\x3c/d\x69v\x3e\n\x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20\x20\x20 \x20";echo form_close();echo "\x20\x20 \x20\x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x3c/d\x69\x76>\n \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20\x20\x3cd\x69v\x20\x63\x6cas\x73=\"\x63o\x6c-\x37\">\n\x20\x20\x20\x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x3c\x64iv \x63lass=\x22\x66o\x72m-grou\x70\x22\x3e\n\x20\x20\x20 \x20 \x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x20 \x20\x20\x20\x20 \x3cl\x61b\x65\x6c\x3eNama\x20\x4ce\x6eg\x6b\x61p</la\x62\x65l\x3e\n\x20\x20\x20 \x20\x20 \x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 <\x69\x6eput\x20\x74yp\x65=\"tex\x74\" \x70\x6ca\x63eholder\x3d\x22\x4e\x61\x6d\x61\x20L\x65n\x67\x6ba\x70\"\x20i\x64\x3d\"\x6ea\x6da-\x6cengkap\"\n\x20\x20\x20\x20\x20 \x20\x20\x20\x20 \x20\x20\x20\x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x20\x20cl\x61\x73s=\"\x66\x6frm-\x63\x6f\x6et\x72o\x6c\x22 \x76\x61l\x75\x65=\x22";echo $profile->nama_lengkap;echo "\"\x3e\n\x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20</\x64iv\x3e\n\x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20 \x20 \x20 \x20 \x20 \x20\x20\x3cd\x69\x76\x20\x63\x6ca\x73\x73=\x22\x66or\x6d-g\x72\x6fup\x22>\n\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x3c\x6ca\x62e\x6c>Jaba\x74a\x6e</la\x62el\x3e\n \x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20\x20\x20\x20 \x20\x20 \x20\x20 \x20 \x20 <\x69n\x70u\x74\x20typ\x65=\x22t\x65\x78t\x22\x20\x69\x64\x3d\"\x6aa\x62a\x74a\x6e\"\x20pla\x63eh\x6f\x6cd\x65\x72\x3d\x22J\x61b\x61t\x61\x6e\"\x20\x63lass\x3d\"fo\x72m-\x63on\x74\x72o\x6c\x22\n\x20 \x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20 \x20\x20\x20\x76alu\x65\x3d\x22";echo $profile->jabatan;echo "\x22>\n\x20 \x20\x20\x20\x20 \x20\x20\x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20 \x20 \x20 \x20\x20\x20 \x20\x3c/di\x76\x3e\n \x20 \x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20\x20 \x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x3cb\x75\x74\x74o\x6e \x6f\x6e\x63\x6c\x69c\x6b\x3d\"s\x69\x6d\x70a\x6e\x50ro\x66\x69le()\"\x20\x69\x64=\x22\x73\x69\x6dpa\x6e\"\n \x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20\x20\x20 \x20\x20 \x20\x20 \x63l\x61\x73\x73\x3d\x22b\x74\x6e b\x74\x6e-\x73\x75\x63\x63\x65s\x73\x20\x66\x6c\x6fat-r\x69\x67h\x74 m\x74-3\x22\x3e\x53\x69mp\x61n\n \x20\x20 \x20\x20 \x20\x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20 \x20</\x62\x75\x74\x74o\x6e\x3e\n \x20 \x20 \x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20\x20\x3c/d\x69v\x3e\n \x20\x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x20 \x20\x20\x20\x20\x20\x20 </d\x69v\x3e\n \x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x20 \x20</div>\n \x20 \x20\x20 \x20 \x20\x20\x20\x20\x20 \x20\x20 \x20 </\x64iv>\n \x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20</di\x76\x3e\n \x20 \x20 \x20\x20 \x20 \x20 <di\x76\x20\x63\x6c\x61ss=\"co\x6c-\x6dd-\x36\"\x3e\n\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 \x20 ";echo form_open("use\x72ad\x6d\x69n/cha\x6ege_\x70a\x73s\x77\x6f\x72\x64",array("\x69\x64"=>"chan\x67e\x5fpa\x73\x73word"),array("\x69d"=>$users->id));echo "\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20 \x20\x20\x3c\x64\x69v c\x6c\x61s\x73\x3d\x22ca\x72\x64\x20\x63\x61rd-\x77arn\x69\x6eg\x20\x6dy-s\x68a\x64o\x77\x22\x3e\n \x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20 \x20\x20\x20 <\x64iv\x20\x63las\x73\x3d\"ca\x72d-\x68\x65\x61\x64e\x72\x22\x3e\n\x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x3ch\x33\x20\x63la\x73s\x3d\"\x63\x61rd-\x74\x69\x74l\x65\x22\x3e\x55ba\x68\x20\x50\x61s\x73\x77o\x72d\x3c/\x683\x3e\n\x20 \x20\x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20 \x3c/\x64i\x76>\n \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20\x20 <\x64iv c\x6cass\x3d\"car\x64-\x62o\x64y \x70\x62-\x30\x22>\n \x20 \x20\x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20 \x20\x20<\x64\x69\x76\x20\x63las\x73=\"\x66\x6f\x72m-grou\x70\">\n\x20 \x20\x20 \x20\x20 \x20 \x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20 \x20 \x20\x3cl\x61\x62e\x6c\x20fo\x72=\x22old\x22\x3e\x50\x61ss\x77\x6f\x72d\x20\x4ca\x6da</\x6c\x61b\x65l>\n \x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20\x3ci\x6e\x70u\x74\x20type\x3d\x22\x70\x61sswo\x72d\x22 pla\x63ehol\x64\x65r=\"Pas\x73\x77or\x64\x20\x4c\x61ma\x22 name=\x22o\x6cd\x22 cla\x73s=\"for\x6d-\x63ont\x72ol\">\n \x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20\x3c/d\x69\x76>\n\x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20 <di\x76\x20c\x6c\x61\x73\x73=\x22fo\x72m-\x67r\x6f\x75p\x22>\n \x20 \x20 \x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20\x20 <\x6c\x61\x62\x65\x6c\x20f\x6f\x72\x3d\x22\x6eew\">\x50ass\x77or\x64\x20\x42\x61\x72\x75\x3c/\x6c\x61\x62\x65\x6c\x3e\n \x20\x20\x20 \x20\x20\x20 \x20 \x20 \x20 \x20 <\x69\x6e\x70\x75\x74 \x74\x79\x70e\x3d\"\x70a\x73sw\x6frd\x22 \x70\x6c\x61c\x65h\x6f\x6c\x64e\x72=\"\x50a\x73sw\x6fr\x64 \x42a\x72\x75\"\x20\x6ea\x6de=\x22ne\x77\" c\x6c\x61s\x73\x3d\x22\x66orm-\x63ont\x72\x6fl\"\x3e\n\x20 \x20\x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20 \x3c/\x64\x69v\x3e\n \x20\x20\x20\x20\x20 \x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x20\x20 <di\x76 \x63l\x61ss=\x22\x66or\x6d-\x67\x72oup\"\x3e\n\x20 \x20\x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20 <\x6c\x61be\x6c\x20for=\x22ne\x77_conf\x69r\x6d\"\x3eKo\x6efir\x6d\x61s\x69 \x50\x61\x73s\x77ord\x3c/\x6c\x61bel>\n \x20\x20 \x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20\x20\x20\x3c\x69\x6e\x70ut\x20ty\x70\x65=\x22pas\x73w\x6f\x72d\" pl\x61\x63e\x68o\x6c\x64e\x72=\x22K\x6f\x6ef\x69rm\x61s\x69 \x50\x61ssw\x6fr\x64\x20\x42aru\x22\x20na\x6de=\x22new_conf\x69\x72\x6d\x22\n \x20\x20 \x20 \x20\x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 \x20 c\x6c\x61\x73\x73\x3d\"f\x6fr\x6d-\x63o\x6e\x74r\x6fl\x22\x3e\n \x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20\x20\x20 \x20 </\x64i\x76\x3e\n\x20\x20 \x20\x20\x20\x20 \x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 \x20\x3c/\x64i\x76>\n\x20\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20 \x20\x20 \x20\x20 \x20\x3c\x64iv\x20cl\x61\x73s\x3d\"\x63\x61rd-f\x6fo\x74e\x72\"\x3e\n\x20 \x20\x20\x20 \x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20\x20 \x3cbutt\x6f\x6e\x20\x74y\x70e=\"s\x75\x62mit\x22 id\x3d\x22b\x74\x6e-p\x61\x73s\x22\x20\x63\x6cass=\x22\x62tn \x62t\x6e-w\x61rn\x69ng f\x6c\x6f\x61t-\x72\x69ght \x6d\x6c-\x33\">\x47\x61nti\n \x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20 Pa\x73\x73\x77\x6fr\x64\n\x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20 \x20 \x20\x20 </\x62u\x74\x74o\x6e\x3e\n\x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20\x20 <bu\x74ton\x20\x74\x79\x70\x65=\x22\x72ese\x74\x22\x20\x63l\x61s\x73\x3d\"bt\x6e b\x74\x6e-def\x61\x75l\x74\x20fl\x6f\x61\x74-rig\x68\x74 \x6dl-\x33\"\x3e\n \x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20\x3c\x69 cl\x61s\x73\x3d\x22f\x61\x20f\x61-\x72ot\x61te-\x6cef\x74\">\x3c/\x69\x3e\x20Re\x66re\x73h\n\x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x3c/bu\x74\x74o\x6e\x3e\n \x20 \x20\x20 \x20 \x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20 \x20\x3c/\x64\x69\x76\x3e\n \x20\x20\x20 \x20 \x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x3c/\x64\x69\x76\x3e\n\x20 \x20\x20 \x20\x20\x20 \x20 \x20\x20\x20\x3c/\x64\x69v\x3e\n\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20 ";}echo "\n\x20\x20 \x20\x20 \x20 \x20\x20</d\x69v>\n\n\x20\x20\x20\x20 \x20\x20 \x3c/\x64\x69\x76\x3e\n \x20 </\x73\x65\x63\x74io\x6e\x3e\n</\x64\x69v>\n\n\x3c\x73c\x72i\x70\x74\x3e\n\x20 \$(\x64oc\x75me\x6et)\x2eready(f\x75\x6ect\x69\x6f\x6e ()\x20{\n \x20\x20 \x20\x66unct\x69\x6f\x6e \x73u\x62\x6d\x69t\x61\x6a\x61\x78(\x75\x72l, \x64\x61\x74\x61,\x20\x6d\x73g,\x20b\x74n)\x20{\n \x20 \x20 \x20\x20\x73w\x61l\x2e\x66\x69\x72\x65({\n\x20 \x20 \x20 te\x78t:\x20\x22S\x69l\x61\x68k\x61n\x20tung\x67u\x2e\x2e..\x22,\n\x20 \x20\x20 \x20 \x20 \x20\x20\x20\x20\x20 \x20butto\x6e:\x20\x66\x61\x6c\x73e,\n\x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x20 c\x6c\x6fs\x65On\x43lic\x6bOu\x74side: \x66alse,\n \x20\x20 \x20 \x63lo\x73\x65O\x6eEs\x63:\x20\x66al\x73\x65,\n \x20 \x20\x20\x20 \x20 \x20\x20\x20 \x61l\x6c\x6fwEsca\x70\x65Ke\x79:\x20\x66alse,\n\x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20\x61\x6c\x6c\x6fwO\x75t\x73\x69\x64eC\x6cick:\x20\x66\x61lse,\n\x20 \x20\x20\x20\x20\x20 \x20\x20 \x20\x20o\x6eO\x70\x65n:\x20() \x3d\x3e\x20{\n\x20\x20 \x20 \x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20sw\x61l.s\x68\x6f\x77Loa\x64\x69\x6e\x67()\x3b\n\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 }\n\x20 \x20\x20 \x20\x20\x20 \x20\x20\x20})\x3b\n \x20 \x20 \x20 \$.ajax({\n\x20\x20 \x20 \x20 \x20 \x20\x20\x20 u\x72l:\x20u\x72\x6c,\n \x20 \x20\x20\x20 \x20\x20\x20 \x20 da\x74a: \x64a\x74\x61,\n\x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x74ype: 'P\x4f\x53\x54',\n\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20 suc\x63\x65\x73\x73:\x20fun\x63t\x69\x6f\x6e (\x72e\x73\x70\x6fns\x65) {\n\x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20\x20\x20\x69f\x20(resp\x6fns\x65\x2e\x73tatu\x73) {\n\x20\x20\x20\x20\x20 \x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 \x73wa\x6c\x2e\x66ir\x65({\n \x20 \x20 \x20 \x20 \x20\x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20 \x74\x69t\x6ce: \"\x53u\x6b\x73\x65s\",\n\x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20 \x74ext:\x20\x6ds\x67,\n \x20\x20\x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x20 \x20\x20 \x20\x20 ic\x6fn: \"\x73u\x63c\x65ss\",\n\x20 \x20\x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20 });\n \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 //\x73\x68owS\x75c\x63e\x73sT\x6f\x61\x73t(\x6dsg)\x3b\n\x20 \x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20 //\$('\x66o\x72\x6d\x23\x63\x68a\x6eg\x65_\x70\x61ssw\x6f\x72d')\x2e\x74r\x69\x67g\x65\x72('\x72ese\x74\x27);\n \x20 \x20 \x20 \x20\x20 \x20\x20 }\x20\x65l\x73e {\n \x20 \x20 \x20\x20\x20 \x20\x20 \x20\x20 \x20 i\x66\x20(re\x73po\x6e\x73e.e\x72\x72\x6f\x72\x73) {\n\x20 \x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20\x20\x73wa\x6c\x2e\x66\x69\x72\x65({\n\x20\x20 \x20\x20 \x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20\x20ti\x74\x6ce:\x20\"G\x61\x67\x61\x6c\x22,\n \x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20 \x74\x65xt:\x20\x27\x47\x61ga\x6c \x65di\x74 admi\x6e',\n \x20 \x20 \x20\x20\x20\x20 \x20\x20\x20\x20 \x20 \x20\x20 \x20 \x20 ic\x6fn:\x20\x22e\x72r\x6fr\x22\n \x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20 });\n \x20 \x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x20\x20//\x73\x68\x6fw\x44\x61\x6eg\x65r\x54oa\x73\x74(\x27\x47\x61\x67a\x6c\x20\x65\x64i\x74\x20\x61dmi\x6e\x27)\n\x20 \x20 \x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20 /*\n\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20\x20\x20\x20 \$.ea\x63h(\x72es\x70ons\x65.e\x72\x72\x6fr\x73, \x66\x75nct\x69\x6f\x6e\x20(k\x65y,\x20\x76a\x6c) {\n\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20\x20 \$(\x27[\x6ea\x6de\x3d\"\x27\x20+ \x6bey + \x27\"]\x27).\x63\x6c\x6fs\x65s\x74('\x2eform-g\x72ou\x70')\x2e\x61dd\x43l\x61\x73\x73(\x27\x68\x61\x73-\x65r\x72\x6f\x72\x27);\n \x20\x20\x20 \x20\x20 \x20\x20 \x20\x20\x20 \x20\x20 \x20 \x20\x20 \x20\$(\x27[n\x61m\x65=\"\x27\x20+\x20\x6bey\x20+\x20\x27\x22]')\x2e\x6e\x65\x78tA\x6c\x6c(\x27\x2ehel\x70-\x62lo\x63k').eq(0).\x74\x65\x78t(\x76a\x6c);\n \x20 \x20\x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 i\x66 (\x76al\x20=\x3d= '')\x20{\n\x20\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20\x20\x20\x20 \x20 \x20\x20\x20\x20 \x20 \$(\x27[\x6e\x61\x6de\x3d\"\x27 +\x20\x6b\x65\x79\x20+ \x27\x22]').clo\x73es\x74(\x27\x2e\x66orm-g\x72oup\x27).re\x6d\x6f\x76e\x43\x6ca\x73s('h\x61s-e\x72r\x6f\x72');\n \x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x20 \x20\x20\x20 \x20 \$(\x27[n\x61\x6de\x3d\x22'\x20+\x20\x6bey + '\"]\x27)\x2en\x65xtAll(\x27.\x68e\x6c\x70-\x62\x6c\x6f\x63\x6b\x27)\x2eeq(\x30).\x74ext('')\x3b\n\x20 \x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20 \x20 \x20 }\n\x20 \x20\x20\x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 })\x3b\n\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20 \x20 */\n\x20\x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20 \x20\x20\x20}\n \x20\x20\x20\x20 \x20 \x20 \x20\x20 \x20\x20\x20\x20\x20\x20 \x69\x66 (res\x70\x6fn\x73\x65.\x6d\x73\x67)\x20{\n \x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20\x20\x20 \x20 swal\x2efi\x72e({\n\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20\x20\x20\x20 \x20\x74\x69\x74le: \"\x47\x61\x67al\",\n\x20\x20\x20 \x20 \x20 \x20\x20 \x20\x20 \x20\x20 \x20 \x20\x20\x20\x20\x20\x20 \x20te\x78t: 'P\x61s\x73\x77\x6frd\x20\x6ca\x6d\x61\x20t\x69d\x61k\x20b\x65\x6ea\x72\x27,\n \x20 \x20 \x20 \x20 \x20 \x20 \x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 i\x63\x6f\x6e:\x20\"er\x72or\"\n\x20\x20 \x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20})\x3b\n \x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20 //sh\x6fwD\x61ng\x65\x72\x54o\x61s\x74(\"\x50\x61\x73sw\x6f\x72d l\x61m\x61 \x74idak\x20be\x6e\x61r\x22)\x3b\n \x20\x20 \x20\x20\x20\x20\x20\x20\x20 \x20 \x20 \x20}\n\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20\x20 }\n \x20\x20\x20 \x20 \x20 \x20 \x20 \x20//b\x74\x6e\x2e\x72e\x6do\x76\x65\x41\x74tr('di\x73\x61\x62\x6ce\x64').te\x78\x74(\x27\x47\x61\x6e\x74\x69\x20\x50\x61\x73\x73\x77ord\x27);\n \x20 \x20 \x20 \x20 },\x20er\x72or: f\x75n\x63tio\x6e\x20(xh\x72,\x20\x73t\x61\x74\x75\x73, \x65r\x72\x6f\x72)\x20{\n\x20 \x20 \x20 \x20 \x20 \x20\x20 \x63\x6fn\x73t\x20err = JS\x4fN.p\x61rse(\x78hr.re\x73p\x6f\x6e\x73eTe\x78\x74)\n \x20 \x20 \x20 \x20\x20 \x20\x20 \x20\x20s\x77\x61\x6c\x2ef\x69\x72e({\n \x20\x20\x20 \x20 \x20 \x20\x20 \x20\x20\x20 \x20ti\x74\x6ce: \x22\x45\x72\x72\x6f\x72\",\n\x20\x20\x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20\x20 t\x65\x78t:\x20e\x72r\x2e\x4d\x65\x73\x73\x61g\x65,\n \x20\x20\x20\x20\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20\x20 \x20 \x69c\x6f\x6e: \"e\x72\x72o\x72\x22\n\x20 \x20\x20\x20 \x20})\x3b\n \x20 \x20\x20\x20\x20\x20\x20\x20\x20\x20 \x20\x20}\n \x20\x20 \x20\x20\x20\x20\x20 \x20});\n \x20\x20\x20 \x20\x20\x20}\n\n \x20 \$('\x66\x6frm#ch\x61\x6eg\x65_\x70\x61\x73s\x77ord\x27)\x2e\x6f\x6e('\x73\x75b\x6di\x74\x27,\x20\x66\x75\x6e\x63\x74i\x6fn (e) {\n\x20\x20 \x20\x20\x20 \x20\x20 \x20e\x2e\x70\x72e\x76e\x6et\x44\x65\x66\x61\x75l\x74()\x3b\n \x20 \x20\x65\x2e\x73\x74\x6f\x70\x49m\x6d\x65d\x69ate\x50\x72\x6f\x70aga\x74\x69on()\x3b\n\n\x20 \x20\x20 \x20\x20\x20 le\x74 \x62\x74\x6e \x3d\x20\$(\x27\x23\x62\x74n-\x70a\x73s');\n\x20\x20\x20 \x20 \x62t\x6e.\x61t\x74r('\x64isa\x62\x6ced',\x20'di\x73\x61\x62\x6ce\x64')\x2etext(\x27P\x72oc\x65ss\x2e.\x2e')\x3b\n\n \x20 \x20\x20 \x20\x20 \x20url \x3d \$(\x74\x68\x69s)\x2ea\x74\x74r(\x27a\x63\x74\x69o\x6e\x27)\x3b\n\x20\x20\x20\x20\x20\x20 \x20 \x64\x61t\x61 = \$(t\x68is)\x2eseria\x6c\x69\x7a\x65();\n \x20 \x20 \x20 \x20 m\x73\x67 =\x20\"\x50a\x73\x73\x77o\x72\x64\x20\x61nda \x62\x65\x72\x68\x61\x73\x69l\x20di\x67\x61n\x74\x69\x22;\n \x20\x20 \x20 \x20\x20 \x73u\x62mit\x61jax(\x75r\x6c, \x64\x61t\x61, m\x73g,\x20\x62tn);\n\x20\x20\x20 \x20 \x20\x20});\n\n \x20\x20\x20\x20\x20\x20 \$('f\x6f\x72\x6d i\x6ep\x75t,\x20\x66or\x6d sel\x65\x63t').on(\x27ch\x61\x6e\x67\x65\x27,\x20f\x75nct\x69on\x20() {\n\x20\x20 \x20\x20\x20\x20 \x20\x20\x20\$(\x74h\x69\x73)\x2e\x63lo\x73est('.fo\x72m-\x67\x72\x6fu\x70')\x2e\x72\x65\x6d\x6fve\x43l\x61\x73\x73(\x27has-\x65\x72ro\x72');\n \x20 \x20\x20 \x20\x20\x20\$(\x74h\x69\x73).\x6eext\x41l\x6c('\x2ehe\x6c\x70-\x62lo\x63k\x27).\x65\x71(\x30).\x74\x65\x78\x74('');\n \x20\x20 \x20 });\n\n\x20\x20 \x20 \x20\$('\x66o\x72m\x23u\x73\x65\x72_inf\x6f').o\x6e(\x27\x73ub\x6d\x69\x74\x27, \x66un\x63\x74\x69o\x6e (\x65)\x20{\n \x20\x20\x20 \x65\x2e\x70re\x76e\x6e\x74\x44\x65\x66au\x6c\x74()\x3b\n\x20 \x20 \x20\x20\x20 \x20 \x65\x2esto\x70\x49\x6d\x6dediat\x65\x50\x72op\x61\x67\x61\x74\x69on();\n\n\x20 \x20\x20 \x20\x20\x20 \x20 \x6cet\x20\x62tn \x3d \$(\x27#bt\x6e-in\x66o')\x3b\n \x20 \x20\x20\x20\x62\x74\x6e\x2e\x61\x74tr(\x27d\x69\x73\x61bl\x65\x64\x27,\x20\x27\x64\x69sabled')\x2et\x65\x78\x74('\x50r\x6f\x63\x65\x73s..\x2e\x27);\n\n \x20\x20 \x20\x20\x20 \x20 u\x72\x6c\x20=\x20\$(\x74\x68is)\x2ea\x74t\x72('act\x69\x6f\x6e')\x3b\n\x20\x20 \x20\x20 \x20 \x64a\x74a\x20\x3d \$(\x74h\x69\x73)\x2ese\x72iali\x7ae()\x3b\n\x20\x20 \x20 \x6dsg\x20= \x22\x49\x6e\x66\x6f\x72\x6das\x69 user be\x72\x68\x61\x73\x69l\x20\x64iupdat\x65\";\n\x20\x20 \x20 \x20s\x75\x62m\x69t\x61\x6aa\x78(\x75\x72\x6c, \x64\x61\x74a, m\x73g,\x20b\x74\x6e);\n \x20 \x20\x20 \x20})\x3b\n\n\x20\x20 \x20\x20 \x20\$('f\x6f\x72m\x23\x75se\x72\x5fl\x65\x76\x65l')\x2e\x6fn(\x27s\x75b\x6d\x69t', \x66un\x63ti\x6fn (e)\x20{\n \x20\x20 \x20 \x20 \x20\x20 \x65.pre\x76e\x6etDef\x61\x75\x6c\x74();\n \x20\x20 \x20 \x20\x65\x2es\x74opImm\x65d\x69a\x74ePro\x70\x61\x67at\x69o\x6e();\n\n\x20 \x20\x20 \x20\x20 \x20\x20 \x20\x6ce\x74\x20\x62\x74n\x20=\x20\$(\x27#b\x74\x6e-\x6ce\x76e\x6c');\n \x20 \x20 \x20b\x74\x6e\x2e\x61t\x74r(\x27dis\x61\x62l\x65d',\x20\x27disab\x6c\x65d').\x74e\x78t('Pro\x63\x65ss.\x2e.\x27);\n\n\x20 \x20\x20 \x20\x20\x20\x20\x20\x20 u\x72\x6c\x20=\x20\$(\x74\x68\x69\x73).a\x74\x74\x72('acti\x6fn')\x3b\n\x20 \x20\x20 \x20 \x20 data \x3d \$(th\x69\x73).se\x72\x69\x61\x6cize();\n\x20 \x20\x20 \x20 \x20\x20\x6dsg\x20=\x20\x22\x4c\x65\x76e\x6c u\x73\x65r\x20\x62\x65r\x68\x61sil d\x69\x75\x70da\x74e\";\n \x20 \x20 \x20 \x20\x20 \x20\x73ubmit\x61\x6a\x61\x78(\x75r\x6c, da\x74a,\x20\x6d\x73g, \x62tn)\x3b\n\x20 \x20\x20\x20\x20\x20});\n\n\x20 \x20 \x20\x20\x20 \$('\x66or\x6d\x23\x75se\x72_sta\x74u\x73').on(\x27s\x75\x62m\x69\x74',\x20fu\x6e\x63\x74ion\x20(\x65) {\n \x20\x20 \x20\x20 \x20\x20 \x20 \x65\x2ep\x72\x65v\x65nt\x44\x65\x66\x61\x75\x6c\x74()\x3b\n\x20\x20 \x20\x20\x20 \x20\x20 \x65\x2es\x74opI\x6dm\x65\x64i\x61\x74\x65P\x72o\x70aga\x74i\x6f\x6e();\n\n \x20 \x20 \x20 \x20\x20\x20l\x65t\x20\x62\x74n = \$('#btn-\x73\x74\x61\x74\x75\x73')\x3b\n\x20\x20\x20 \x20 \x20\x20\x20\x20bt\x6e.a\x74\x74r('\x64\x69sa\x62l\x65d\x27, \x27\x64\x69\x73a\x62led')\x2e\x74e\x78t(\x27\x50r\x6f\x63e\x73s.\x2e.\x27)\x3b\n\n \x20 \x20 \x20\x20 \x20\x20 ur\x6c =\x20\$(th\x69\x73).\x61t\x74r(\x27a\x63\x74\x69\x6fn\x27);\n\x20\x20\x20\x20\x20 \x20\x20 \x20 da\x74a \x3d \$(th\x69\x73).\x73\x65\x72ia\x6c\x69ze();\n\x20\x20 \x20\x20 \x20 m\x73\x67 =\x20\"\x53tatus \x75\x73\x65\x72\x20\x62erh\x61\x73il \x64iup\x64\x61\x74\x65\"\x3b\n \x20\x20 \x20 \x20s\x75\x62mit\x61j\x61\x78(u\x72\x6c, \x64a\x74a,\x20m\x73g, \x62\x74n);\n\x20 \x20\x20\x20\x20 })\x3b\n\n \x20 \x20});\n</\x73cr\x69pt>\n\n";if($user->id===$users->id){echo "\x20\x20 <\x73cr\x69p\x74\x20ty\x70\x65=\"\x74\x65xt/java\x73\x63r\x69pt\x22>\n\x20 \x20 \x20\x20v\x61r id\x55\x73\x65r\x20= '";echo $user->id;echo "';\n\x20\x20\x20 var fpro\x66il \x3d\x20'";echo base_url().$profile->foto;echo "\x27\x3b\n \x20\x20 \$(\x64\x6f\x63um\x65\x6e\x74).r\x65a\x64\x79(\x66unc\x74i\x6f\x6e ()\x20{\n \x20 \x20 \x20 \x20\x20a\x6a\x61\x78\x63s\x72f()\x3b\n\x20 \x20 \x20\x20 \x20\x20 var\x20\x64\x72\x45vent = \$(\x27.\x64\x72opify').d\x72opi\x66\x79({\n\x20\x20 \x20 \x20\x20\x20\x20\x20 \x20 mes\x73a\x67es:\x20{\n \x20\x20\x20 \x20\x20\x20 \x20\x20\x20\x20 \x20 '\x64\x65\x66a\x75\x6ct\x27: \x27S\x65\x72\x65t\x20lo\x67o ke\x73ini \x61\x74au kl\x69k',\n \x20\x20\x20 \x20 \x20 \x20 \x20\x20\x20 \x20\x20 '\x72e\x70l\x61\x63\x65':\x20\x27S\x65\x72\x65\x74 a\x74\x61u k\x6c\x69k\x3cbr>u\x6etuk m\x65\x6e\x67\x67\x61\x6eti\x20\x6co\x67o\x27,\n \x20 \x20\x20\x20\x20 \x20 \x20 \x20 \x20 '\x72e\x6do\x76\x65\x27: 'Hapus',\n \x20\x20 \x20 \x20 \x20 \x20\x20 \x20\x20\x20'\x65r\x72\x6f\x72\x27: '\x4foo\x70\x73, \x61\x64\x61 kes\x61l\x61\x68\x61n\x21!.\x27\n \x20 \x20\x20 \x20\x20 \x20 },\n \x20\x20 \x20 \x20\x20 \x65rr\x6f\x72:\x20{\n\x20\x20 \x20\x20\x20 \x20 \x20\x20 \x20\x20'f\x69\x6ceS\x69\x7ae\x27:\x20'T\x68\x65 f\x69\x6ce\x20\x73iz\x65 is too \x62i\x67\x20({{ va\x6cu\x65 }} \x6d\x61\x78)\x2e',\n \x20\x20\x20\x20\x20\x20\x20\x20 \x20 \x20 \x20 \x20'\x6di\x6e\x57id\x74\x68\x27:\x20\x27\x54\x68\x65\x20i\x6da\x67\x65 \x77\x69d\x74\x68 \x69\x73 \x74\x6f\x6f\x20\x73\x6da\x6cl\x20({{\x20\x76\x61\x6c\x75e\x20}}}px mi\x6e).',\n\x20 \x20\x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20'\x6d\x61\x78\x57\x69\x64t\x68': 'The i\x6d\x61\x67e\x20w\x69\x64t\x68\x20\x69\x73 \x74\x6fo\x20\x62ig\x20({{\x20va\x6cu\x65\x20}}}\x70x m\x61x).',\n \x20 \x20 \x20\x20 \x20\x20\x20 \x20 \x20 '\x6di\x6eH\x65i\x67\x68\x74': '\x54\x68\x65 i\x6dage\x20\x68e\x69\x67ht \x69\x73\x20t\x6f\x6f\x20s\x6da\x6cl ({{\x20\x76\x61\x6c\x75e\x20}}}\x70x\x20\x6d\x69\x6e)\x2e',\n \x20\x20 \x20 \x20\x20 \x20 \x20 \x27m\x61xHei\x67h\x74':\x20'\x54\x68e \x69m\x61\x67e\x20h\x65\x69\x67ht\x20i\x73\x20\x74oo\x20\x62\x69g ({{\x20\x76\x61\x6cue\x20}}p\x78\x20\x6d\x61\x78).',\n \x20\x20 \x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20 \x27i\x6d\x61\x67eFor\x6d\x61\x74': 'T\x68e\x20i\x6dage\x20for\x6d\x61\x74 \x69s \x6eot\x20al\x6c\x6fwe\x64\x20({{\x20\x76\x61\x6c\x75\x65 }}\x20on\x6c\x79).'\n\x20 \x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20}\n\x20 \x20\x20 \x20\x20 })\x3b\n\n\n\x20\x20\x20 \x20 \x20\x20 \x20\x20\x64rEvent.\x6fn('dr\x6f\x70if\x79.\x62\x65\x66o\x72\x65C\x6c\x65a\x72\x27, \x66unc\x74io\x6e\x20(eve\x6et, \x65\x6c\x65me\x6et) {\n \x20\x20\x20\x20 \x20\x20\x20 \x20 \x20 \x20//\x72\x65t\x75\x72\x6e\x20con\x66i\x72\x6d(\x22\x48a\x70u\x73\x20\x6c\x6fg\x6f \\\"\" + \x65le\x6de\x6e\x74\x2e\x66il\x65\x2e\x6eam\x65 +\x20\x22\x5c\x22\x20?\")\x3b\n\x20 \x20 \x20\x20\x20 });\n\n \x20 \x20 \x20\x20\x20\x64r\x45\x76\x65\x6e\x74.on(\x27d\x72\x6f\x70ify.aft\x65rC\x6ce\x61\x72', func\x74\x69on (e\x76e\x6et,\x20e\x6c\x65\x6d\x65\x6e\x74) {\n\x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20 \x64e\x6c\x65teI\x6d\x61\x67e(\$(e\x76\x65\x6e\x74.\x63u\x72r\x65\x6e\x74Ta\x72get).\x64\x61ta('d\x65f\x61\x75\x6ct-\x66\x69le\x27))\x3b\n\x20\x20\x20 \x20 \x20 \x20\x20\x20 });\n\n\x20 \x20\x20\x20\x20\x20\x20 \x20\x20drEve\x6e\x74\x2eon(\x27\x64\x72\x6f\x70\x69fy\x2eer\x72\x6f\x72\x73\x27,\x20\x66unc\x74ion\x20(\x65vent, \x65\x6c\x65\x6d\x65nt)\x20{\n\x20\x20 \x20 \x20\x20\x20\x20\x20 \x20\x20\x20 \x63on\x73\x6fle\x2el\x6fg(\x27\x48a\x73 \x45r\x72\x6fr\x73\x27)\x3b\n\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20\$.\x74oas\x74({\n \x20 \x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20\x20 \x20\x20\x68ea\x64i\x6eg:\x20\"\x45\x72ror\",\n\x20\x20 \x20\x20\x20\x20\x20\x20\x74e\x78\x74:\x20\"f\x69l\x65 \x72\x75\x73ak\x22,\n\x20\x20 \x20 \x20\x20 \x20 \x20\x20 ic\x6fn:\x20'\x77arn\x69\x6e\x67\x27,\n \x20 \x20 \x20\x20\x20 \x20\x20 \x20\x20s\x68\x6f\x77H\x69\x64eTr\x61ns\x69\x74i\x6fn: \x27\x66\x61d\x65',\n\x20 \x20\x20\x20 \x20\x20 \x20\x20\x20 \x20 \x61\x6clo\x77\x54\x6fa\x73\x74\x43l\x6fs\x65:\x20tr\x75e,\n\x20\x20 \x20 \x20\x20\x20 \x20 \x20h\x69d\x65\x41fte\x72:\x20\x3500\x30,\n\x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20 \x20\x20 po\x73itio\x6e: \x27\x74op-\x72\x69\x67\x68t'\n\x20\x20\x20 \x20 \x20 \x20\x20 });\n \x20 \x20 \x20})\x3b\n\n\x20 \x20\x20 \x20 \x20 \$(\x22#\x66\x6f\x74\x6f\")\x2e\x63ha\x6e\x67\x65(\x66u\x6e\x63\x74\x69on\x20() {\n\x20\x20\x20 \x20\x20\x20\x20\x20 \x20\x20 \x20\x20 va\x72\x20in\x70u\x74 \x3d\x20\$(t\x68\x69\x73)[0];\n\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20 \x69f (inp\x75\x74\x2e\x66ile\x73 &&\x20\x69\x6epu\x74\x2ef\x69\x6c\x65s[\x30]) {\n\x20 \x20\x20\x20 \x20\x20\x20 \x20\x20\x20 \x20\x76ar\x20\x72\x65ade\x72 = n\x65w\x20File\x52ea\x64e\x72();\n \x20 \x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x72\x65\x61\x64e\x72.\x6fnl\x6f\x61d \x3d \x66\x75n\x63\x74i\x6fn (\x65)\x20{\n\x20\x20 \x20 \x20\x20 \x20 \x20 \x20\x20\x20\x20 \$(\x27#p\x72\x65v-\x6c\x6f\x67\x6f-\x6b\x61nan\x27)\x2e\x61t\x74\x72(\x27s\x72c',\x20e.\x74arg\x65t\x2eresul\x74);\n \x20\x20 \x20\x20 \x20 \x20\x20 \x20 \x20 };\n \x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20 rea\x64\x65\x72\x2er\x65\x61dAsD\x61t\x61U\x52\x4c(\x69np\x75t.\x66i\x6ce\x73[\x30]);\n\n \x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20va\x72 \x66\x6fr\x6d\x20\x3d n\x65\x77 F\x6fr\x6dData(\$(\x27\x23set-\x66oto\x27)[0])\x3b\n \x20 \x20\x20 \x20 \x20\x20 \x20 \x20\x75p\x6c\x6fa\x64\x41t\x74\x61\x63\x68(b\x61s\x65_\x75r\x6c\x20+\x20'\x75s\x65\x72\x61d\x6din/upl\x6fa\x64f\x69\x6ce/\x27 + \x69dUs\x65r, form);\n\x20 \x20 \x20\x20\x20 \x20 \x20 \x20}\n\x20\x20\x20\x20 \x20\x20 \x20 \x20})\x3b\n\n\x20\x20 \x20 \x20 \x20\x20\x20 fu\x6ec\x74ion\x20u\x70l\x6f\x61dAtt\x61c\x68(\x61ction,\x20d\x61t\x61)\x20{\n\x20\x20\x20\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20\$\x2ea\x6aa\x78({\n\x20 \x20 \x20\x20\x20\x20 \x20\x20\x20\x20 \x20\x20 \x20 \x74y\x70\x65:\x20\"P\x4f\x53\x54\",\n\x20 \x20 \x20\x20 \x20\x20 \x20 \x20\x20\x20\x65n\x63t\x79pe:\x20\x27\x6du\x6cti\x70a\x72t/\x66o\x72\x6d-\x64\x61\x74\x61\x27,\n\x20 \x20 \x20\x20 \x20 \x20\x20\x20 ur\x6c:\x20ac\x74\x69\x6f\x6e,\n \x20 \x20 \x20\x20\x20 \x20 \x20 \x20\x20 \x20\x20\x64at\x61: \x64\x61\x74\x61,\n\x20 \x20 \x20 \x20\x20\x20 p\x72o\x63e\x73\x73D\x61\x74\x61:\x20\x66a\x6cse,\n \x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20 \x63o\x6e\x74\x65\x6et\x54\x79p\x65: f\x61ls\x65,\n \x20\x20\x20 \x20\x20\x20 \x20 \x20 c\x61\x63h\x65: \x66\x61lse,\n\x20 \x20\x20 \x20\x20 \x20\x20 \x20 \x20t\x69\x6de\x6f\x75t: 6\x3000\x30\x30,\n \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20 su\x63\x63\x65ss:\x20\x66\x75\x6ec\x74\x69\x6f\x6e\x20(\x64\x61\x74a)\x20{\n\x20\x20\x20 \x20 \x20\x20 \x20 \x20 \x20\x20 \x20\x20\x20\x63\x6fns\x6fle.log(d\x61\x74\x61\x2esr\x63)\x3b\n \x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20 fp\x72o\x66il\x20= \x64a\x74\x61\x2e\x73rc\x3b\n \x20\x20 \x20\x20\x20 \x20 \x20 \x20\x20 \x20 \x20},\n \x20\x20\x20\x20\x20\x20 \x20 \x20\x20 \x20\x20\x20\x20er\x72or:\x20\x66\x75nc\x74i\x6f\x6e\x20(\x78\x68\x72, \x73ta\x74\x75s, \x65rr\x6fr) {\n \x20 \x20 \x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x63\x6fnst er\x72\x20= \x4a\x53\x4fN\x2ep\x61\x72\x73e(x\x68r.r\x65\x73p\x6fnseT\x65\x78t)\n\x20\x20 \x20\x20 \x20\x20 \x20\x20\x20 \x20 \x20 \x73\x77\x61\x6c.\x66ire({\n\x20\x20\x20 \x20\x20\x20\x20\x20 \x20 \x20\x20\x20 \x20 \x20 \x20 \x20\x20 tit\x6c\x65:\x20\"Error\",\n \x20\x20 \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x20\x20\x74\x65\x78t: e\x72r.\x4de\x73s\x61g\x65,\n\x20\x20\x20 \x20 \x20\x20\x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20 \x20 \x69\x63o\x6e: \"er\x72or\x22\n \x20\x20 \x20 \x20\x20 \x20 \x20\x20 \x20\x20 \x20 })\x3b\n\x20 \x20\x20\x20 \x20\x20\x20 \x20 \x20\x20 }\n \x20 \x20\x20 \x20 \x20\x20});\n \x20 \x20\x20\x20 \x20 }\n\n \x20\x20 \x20 \x20 \x20\x20\x66\x75\x6ec\x74i\x6fn \x64\x65\x6ce\x74e\x49m\x61ge(s\x72\x63) {\n\x20 \x20\x20\x20 \x20\x20 \x20 \x20 co\x6e\x73\x6f\x6ce.log(\x73\x72\x63)\x3b\n \x20 \x20\x20\x20\x20 \x20 \$\x2eaj\x61\x78({\n \x20 \x20\x20\x20\x20\x20\x20 \x20 \x20\x20d\x61ta:\x20{s\x72c: s\x72\x63},\n\x20\x20 \x20\x20\x20 \x20\x20\x20\x20\x20\x20 \x20 \x20 \x20t\x79\x70\x65: \x22P\x4fS\x54\",\n\x20 \x20 \x20\x20 \x20\x20 \x20 \x20 \x75r\x6c:\x20base_ur\x6c + \x22\x75ser\x61\x64\x6din/\x64\x65le\x74\x65\x66ile\x22,\n\x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20 \x20 \x20\x63a\x63h\x65:\x20fa\x6cse,\n \x20 \x20 \x20\x20 \x20\x20 \x20\x20\x20s\x75cc\x65\x73s:\x20\x66u\x6ec\x74\x69\x6fn\x20(re\x73\x70\x6fn\x73\x65)\x20{\n\x20 \x20 \x20 \x20\x20\x20\x20\x20\x20 \x20\x20co\x6e\x73ol\x65\x2e\x6co\x67(\x72\x65sp\x6f\x6e\x73e)\x3b\n\x20\x20\x20\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20 \x20 f\x70rofil \x3d '';\n\x20\x20 \x20 \x20 \x20 \x20 \x20 }\n \x20 \x20 \x20 \x20\x20\x20 })\x3b\n \x20 \x20 \x20 \x20 \x20}\n\x20 \x20 \x20 \x20 })\x3b\n\n \x20\x20\x20 \x20 f\x75\x6ectio\x6e\x20simp\x61nPr\x6ff\x69\x6ce()\x20{\n \x20\x20\x20\x20\x20\x20 \x20 v\x61r\x20\x6ea\x6daL\x65\x6eg\x6ba\x70\x20= \$(\x27#n\x61\x6da-\x6ce\x6e\x67kap\x27).\x76a\x6c();\n \x20 \x20 \x20 \x20\x20 va\x72\x20j\x61bata\x6e \x3d \$('#\x6a\x61\x62\x61\x74an').\x76\x61\x6c();\n \x20\x20\x20 \x20 \x20 \x20\x73w\x61\x6c.\x66\x69\x72\x65({\n\x20\x20\x20\x20\x20 \x20 \x20 \x20\x20\x20\x20\x74\x65xt: \"\x53il\x61\x68ka\x6e t\x75n\x67\x67\x75....\x22,\n\x20 \x20\x20 \x20 \x20 b\x75tto\x6e: fals\x65,\n\x20 \x20 \x20 \x20 \x20 \x20\x20 \x20c\x6co\x73\x65O\x6eC\x6ci\x63k\x4f\x75\x74s\x69d\x65: fa\x6c\x73\x65,\n\x20\x20\x20 \x20 \x20 \x20\x20\x20 \x20 clo\x73eO\x6e\x45s\x63: fa\x6c\x73\x65,\n \x20 \x20 \x20\x20\x20 \x61ll\x6f\x77\x45\x73cap\x65Key:\x20\x66als\x65,\n\x20\x20 \x20\x20 \x20\x20 \x20\x20\x20\x20al\x6cowO\x75\x74\x73\x69\x64eCl\x69ck: fals\x65,\n\x20 \x20 \x20\x20 \x20 \x20 \x20\x20\x20\x6fnOpe\x6e: () \x3d> {\n\x20\x20\x20\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20\x20\x20\x20sw\x61l.sho\x77\x4co\x61d\x69\x6eg();\n\x20 \x20 \x20 \x20 \x20\x20 }\n \x20 \x20 \x20 \x20});\n\x20 \x20\x20 \x20\x20 \x20\x20\x20\$\x2e\x61ja\x78({\n \x20\x20 \x20 \x20\x20\x20\x20 \x64a\x74\x61:\x20{\x66\x6f\x74o:\x20fpr\x6f\x66il, \x6eam\x61_\x6ce\x6eg\x6bap: \x6e\x61ma\x4c\x65n\x67k\x61p, ja\x62at\x61\x6e: ja\x62\x61t\x61\x6e},\n \x20 \x20 \x20\x20\x20\x20\x20 \x20\x20ty\x70\x65: \x22\x50\x4f\x53T\x22,\n\x20 \x20\x20\x20\x20\x20 \x20\x20\x20u\x72\x6c: b\x61\x73\x65\x5f\x75r\x6c\x20+ \x22\x75serad\x6din/\x73\x61\x76\x65p\x72of\x69\x6ce\",\n\x20\x20\x20\x20\x20 \x20 \x73ucc\x65ss:\x20func\x74ion (res\x70\x6f\x6e\x73\x65)\x20{\n\x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20 \x20 //\x63\x6f\x6es\x6f\x6c\x65\x2e\x6cog(r\x65s\x70o\x6e\x73e);\n \x20 \x20 \x20 \x20\x20\x20 \x20\x20s\x77\x61\x6c.fi\x72\x65({\n\x20\x20\x20 \x20\x20\x20\x20\x20 \x20\x20 \x20\x20\x20 \x20 \x20\x74itle:\x20\x22Suks\x65s\",\n \x20 \x20 \x20 \x20\x20 \x20\x20 \x20\x20 \x20 \x20 t\x65xt: \x22Profile \x62\x65r\x68\x61s\x69\x6c\x20\x64\x69s\x69m\x70an\x22,\n \x20 \x20\x20 \x20 \x20\x20\x20 \x20 \x20\x69\x63\x6f\x6e: \"s\x75c\x63\x65\x73\x73\",\n \x20\x20 \x20\x20\x20\x20\x20 \x20 \x20 })\x3b\n\x20\x20\x20 \x20 \x20 \x20 \x20 \x20\x20}, \x65\x72ror:\x20f\x75ncti\x6f\x6e (x\x68r, \x73\x74\x61t\x75\x73,\x20err\x6fr) {\n\x20 \x20 \x20 \x20\x20c\x6f\x6est \x65rr \x3d J\x53\x4fN\x2e\x70a\x72se(\x78h\x72\x2e\x72\x65\x73\x70o\x6es\x65Text)\n \x20\x20\x20\x20\x20 \x20\x20\x20 \x20 \x20\x20\x20\x20 s\x77\x61\x6c.\x66\x69re({\n \x20\x20\x20\x20\x20 \x20\x20 \x20\x20 \x20\x20\x20\x20\x74\x69tle: \"\x45\x72\x72\x6f\x72\",\n \x20\x20 \x20 \x20 \x20 \x20 \x74e\x78\x74:\x20e\x72r\x2e\x4de\x73s\x61ge,\n \x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x69c\x6f\x6e:\x20\"e\x72\x72o\x72\x22\n\x20\x20 \x20 \x20\x20\x20 \x20\x20\x20\x20 \x20})\x3b\n\x20 \x20 \x20\x20\x20\x20\x20\x20\x20\x20\x20 }\n \x20 \x20\x20 \x20 })\x3b\n \x20\x20\x20\x20\x20\x20}\n \x20\x20 </\x73c\x72i\x70t>\n";}echo "\n";
Function Calls
None |
Stats
MD5 | b33d00892e36b6af89a6127e728255fb |
Eval Count | 0 |
Decode Time | 89 ms |