server()) {
metaRefresh("../login.php");
exit;
}
// print standard header
include '../main_header.php';
echo ("
\n");
// check if admin has submited delete operation
if ($_POST['submit']) {
// delete profile
if (!delAccountProfile($_POST['del'], $_POST['type'])) {
StatusMessage("ERROR", _("Unable to delete profile!"), $_POST['del'] . "." . $_POST['type']);
}
else StatusMessage("INFO", _("Deleted profile:"), $_POST['del'] . "." . $_POST['type']);
echo ("
" . _("Back to profile editor") . "");
echo ("