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 ("\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");