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
885 B
25 righe
885 B
<? |
|
$error = true; |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->permission("albo") && tokenVerify()) { |
|
$error = false; |
|
ini_set("max_execution_time", "120"); |
|
$oeManager = new oeManager; |
|
$oeManager->setFilters($_SESSION["exportoperatoriSettings"][$_POST["managerToken"]]); |
|
$esito = $oeManager->eseguiEstrazione($_SESSION["ente"]->codice,$_POST["numero_partecipanti"],$_POST["esclusioni"] ?? [],$_POST["descrizione"],"albo"); |
|
if (is_numeric($esito)) { |
|
?> |
|
showModalWithURL('/backend/albo/showEstrazione.php?codice=<?= $esito ?>'); |
|
<? |
|
} else { |
|
?> |
|
swal({title:js_dict.error,text:"<?= $esito ?>",html:true,type:"error"}); |
|
<? |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|