gestione gare pubbliche
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.
 
 
 
 
 

28 righe
1.0 KiB

<?
$configPath = substr(__DIR__, 0, strpos(__DIR__, "/public_html")) . "/config.php";
include_once($configPath);
$error = true;
if (!empty($_POST) && !empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice) && tokenVerify()) {
$ente = Ente::getInfoFromID($_POST["codice"])[0] ?? null;
if (!empty($ente)) {
if ($ente["spid"] == "S" || $ente["spid"] == "W") {
$update = ["codice" => $ente["codice"], "oidc" => "D"];
$salva = new salva();
$salva->debug = false;
$salva->operazione = "UPDATE";
$salva->oggetto = $update;
$salva->nome_tabella = "b_enti";
$salva->save();
$error = false;
?>
swal({title:js_dict["success-msg"],type:"success"}).then(function(){
if (typeof entiTable !== "undefined") {
entiTable.draw('page');
} else {
refreshModalHelper();
}
});
<?
}
}
}