Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
25 righe
962 B
25 righe
962 B
<? |
|
$error = true; |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
$id_modulo = "partecipanti"; |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->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(); |
|
} |
|
?>
|
|
|