PHPMailer

This commit is contained in:
aschwarz
2023-04-27 17:15:50 +02:00
parent de6abfa26c
commit 1235a0e270
167 changed files with 32558 additions and 22071 deletions

View File

@ -1,32 +1,32 @@
function changepwd(){
var password = document.getElementById("password").value;
var password_new1 = document.getElementById("password_new1").value;
var password_new2 = document.getElementById("password_new2").value;
$.ajax({
type: 'POST',
url: '../controller/admin_changepwd.php',
data: {
'function': 'changepwd',
'password': password,
'password_new1': password_new1,
'password_new2': password_new2
},
success: function(result) { //we got the response
if(result!=''){
var a = result.split('|***|');
if(a[1]=="success"){
document.getElementById("password").value ="";
document.getElementById("password_new1").value ="";
document.getElementById("password_new2").value ="";
}
$('#msg').show().delay(10000).fadeOut(500);
$('#msg').html(a[0]);
}
},
error: function(xhr, status, exception) {
console.log(xhr);
}
});
function changepwd(){
var password = document.getElementById("password").value;
var password_new1 = document.getElementById("password_new1").value;
var password_new2 = document.getElementById("password_new2").value;
$.ajax({
type: 'POST',
url: '../controller/admin_changepwd.php',
data: {
'function': 'changepwd',
'password': password,
'password_new1': password_new1,
'password_new2': password_new2
},
success: function(result) { //we got the response
if(result!=''){
var a = result.split('|***|');
if(a[1]=="success"){
document.getElementById("password").value ="";
document.getElementById("password_new1").value ="";
document.getElementById("password_new2").value ="";
}
$('#msg').show().delay(10000).fadeOut(500);
$('#msg').html(a[0]);
}
},
error: function(xhr, status, exception) {
console.log(xhr);
}
});
}