16 lines
441 B
JavaScript
16 lines
441 B
JavaScript
function checkLoggedIn() {
|
|
if (confirm("U bent al ingelogd!!\nWilt u uitloggen?\nKlik ok om uit te loggen.") == true) {
|
|
window.location.href = "logout.php";
|
|
} else {
|
|
window.location.href = "profile.php";
|
|
}
|
|
}
|
|
|
|
function bannedAlert(){
|
|
alert("Uw account is geband!");
|
|
}
|
|
|
|
function emailNotConfirmed(){
|
|
alert("Uw account is nog niet bevestigd!\nEr is een nieuwe email gestuurd om uw account te bevestigen");
|
|
}
|