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.
24 righe
1009 B
24 righe
1009 B
<? |
|
$error = true; |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
$id_modulo = "provvisoria"; |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice,$_GET["codice_gara"],$id_modulo)) { |
|
$gara = gara::init($_GET["codice_gara"]); |
|
if (!empty($gara) && $gara->setLotto($_GET["codice_lotto"])) { |
|
if (!$gara->checkLock($id_modulo)) { |
|
if (!empty($gara->lotto)) { |
|
$error = false; |
|
$elements = jsonToArray("elements.json"); |
|
$data = "codice_gara={$gara->info["codice"]}&codice_round={$gara->round["codice"]}&codice_lotto={$gara->lotto["codice"]}&token=" . tokenGen(); |
|
alertManager::printWarningBox(__("Attenzione: L'operazione sostituirà i dati già presenti")); |
|
massiveHelper::printPanel($elements,"massive/upload.php",$data,"massive/export.php?".$data); |
|
} |
|
} |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|
|
|