permission($radice,$_GET["codice_simog"],$id_modulo)) { $anac = anac::init($_GET["codice_simog"]); if (!empty($anac)) { if (!$anac->checkLock($id_modulo)) { $lotto = $anac->getLotti($_GET["codice_lotto"])[0] ?? false; if (!empty($lotto)) { $error = false; $elements = jsonToArray("elements.json"); $data = "codice_simog={$anac->info["codice"]}&codice_lotto={$lotto["codice"]}&token=" . tokenGen(); alertManager::printWarningBox(__("Attenzione: L'operazione sostituirà i dati già presenti")); massiveHelper::printPanel($elements,"massive/upload.php",$data); } } } } if ($error) { header('HTTP/1.0 403 Forbidden'); die(); } ?>