server()) { metaRefresh("../login.php"); exit; } // check if admin has submited delete operation if ($_POST['submit']) { // delete profile if (!delAccountProfile($_POST['del'], $_POST['type'])) { metaRefresh('profilemain.php?deleteScope=' . $_POST['type'] . '&deleteFailed=' . $_POST['del']); exit(); } else { metaRefresh('profilemain.php?deleteScope=' . $_POST['type'] . '&deleteSucceeded=' . $_POST['del']); exit(); } } // check if admin has aborted delete operation if ($_POST['abort']) { metaRefresh('profilemain.php'); exit; } // print standard header include '../main_header.php'; echo ("


\n"); $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"); include '../main_footer.php';