gerarchia < 100 && tokenVerify($_GET["token"])) { if (!empty($_GET["modulo"]) && !empty($_GET["codice_elemento"])) { $manager = new DGUE($_GET["modulo"],$_GET["codice_elemento"]); if ($manager->checkAdminPermission()) { $error = false; $xml = $manager->getRequestXML(); if (!empty($xml)) { header('Content-type: text/xml'); header('Content-Disposition: attachment; filename="DGUE-Request.xml"'); echo $xml; } else { ?>