server()) { metaRefresh("../login.php"); exit; } // check if admin has submited delete operation if (isset($_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 (isset($_POST['abort'])) { metaRefresh('profilemain.php'); exit; } // print standard header include '../main_header.php'; echo "