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
839 B
25 righe
839 B
<? |
|
|
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
$error = true; |
|
$id_modulo = "requisiti"; |
|
if (!empty($_POST) && !empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice,$_POST["codice"],$id_modulo) && tokenVerify() && $_SESSION["utente"]->unlockSupporto()) { |
|
if ($_SESSION["utente"]->permission("simog")) { |
|
$anac = anac::init($_POST["codice"]); |
|
if (!empty($anac)) { |
|
if (!$anac->checkLock($id_modulo)) { |
|
$error = false; |
|
$method = "sendRequisiti"; |
|
?> |
|
showModalWithURL('/backend/anac/send.php?token=<?= tokenGen() ?>&method=<?= $method ?>&codice=<?= $anac->info["codice"] ?>'); |
|
<? |
|
} |
|
} |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|
|
|