server()) { metaRefresh("../login.php"); exit; } // print standard header echo $_SESSION['header']; echo ("" . _("Delete profile") . "\n"); echo "\n"; echo ("\n\n


\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 ("\n"); exit; } // check if admin has aborted delete operation if ($_POST['abort']) { StatusMessage("INFO", "", _("Delete operation canceled.")); echo ("
" . _("Back to profile editor") . ""); echo ("\n"); exit; } $type = $_GET['type']; echo ("

" . _("Do you really want to delete this profile?") . " "); echo ($_GET['del'] . "

\n"); echo ("
\n"); echo ("

\n"); echo ("\n"); echo ("\n"); echo (""); echo (""); echo ("

\n");