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