Файл: ajax/users/email/change.php
Строк: 22
<?php
/**
* change email popup
*
* @package Sngine
* @author Zamblek
*/
// fetch kernal
$depth = '../../../';
require($depth.'kernal.php');
// check AJAX Request
if(!IsAJAX()) {
header('Location: '.SITE_URL);
}
// check user exist
if(!$userExist) {
exit('<div class="popupHeader"><div class="button-close popup right" onclick="$.popups._hide();"></div>Not Logged In</div><div class="popupContent"><div class="pt5 pb5 pr5 pl5 fs12 white">Please log in to continue.</div></div>');
}
// check user verified
if($userArray['Verified'] == "Y") {
exit('<div class="popupHeader"><div class="button-close popup right" onclick="$.popups._hide();"></div>Thanks</div><div class="popupContent"><div class="pt5 pb5 pr5 pl5 fs12 white">Your account already verified.</div></div>');
}
// page footer
PageFooter("popup.users.email.change");
?>