appendChild($root); $root->appendChild(generateHead($doc)); $body = $doc->createElement('body'); $root->appendChild($body); $body->appendChild(generateMastHead($doc, $baseDir)); //$body->appendChild(generateMemberNavigationBar($doc)); //$body->appendChild(generateNewNavigationBar($doc)); $_SESSION['subNav'] = NULL; $body->appendChild(generateSelectedMenuBar($doc)); if ($_SERVER['REQUEST_METHOD'] === 'GET') { if (isset($_GET['id'])) { $storageID = cleanInput($_GET['id']); if (filter_input(FILTER_VALIDATE_INT, $storageID) !== FALSE) { //print ($storageID); $body->appendChild(generateStorageDetailReport($doc, $storageID)); } } } $table = createTable($doc); $thead = createTableHeader($doc, array($text0120, $text0121, $text0122, $text0123, $text0124, $text0125)); $table->appendChild($thead); $table->appendChild(populateStorageTable($doc, 'storage.php')); $body->appendChild($table); $body->appendChild(generateFooter($doc)); outputDoc($doc); } ?>