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.
20 righe
789 B
20 righe
789 B
<? |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
$error = true; |
|
if (isset($_SESSION["ente"]) && $_SESSION["ente"]->hasModulo("albi_commissione") && !empty($_POST["codice_elenco"]) && !empty($_POST["modulo"]) && !empty($_POST["elemento"])) { |
|
$managerCommissione = new Commissione ($_POST["modulo"],$_POST["elemento"],"commissione"); |
|
if (!empty($managerCommissione)) { |
|
if ($managerCommissione->estraiDaAlbo($_POST["codice_elenco"],$_POST["numero"],$_POST["ruolo"])) { |
|
$error = false; |
|
?> |
|
swal({title:js_dict["success-msg"],type:"success"}).then(function(){ window.location.reload(); }); |
|
<? |
|
} |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|