server()) { metaRefresh("../login.php"); exit; } if($_GET['edit']) { $currentStructure = loadPDFStructureDefinitions($_GET['type'],$_GET['edit']); } else { $currentStructure = loadPDFStructureDefinitions($_GET['type']); } $availableFields = getAvailablePDFFields($_GET['type']); // print header echo $_SESSION['header']; ?>