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.
 
 
 
 
 

26 righe
849 B

<?php
$error = true;
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once $configPath;
if (!empty($_SESSION["utente"]->oe)) {
$manager = new publicRichiesteOE();
if (!empty($manager)) {
$esito = $manager->saveRisposta($_POST);
if (!empty($esito)) {
$error = false;
if (empty($esito["error"])) {
?>
swal({title:js_dict["success-msg"],type:"success"}).then(function(){ window.location.reload() });
<?php
} else {
?>
swal({title:"<?= $esito["descrizione"] ?? __("Errore generico") ?> - <?= $esito["codice"] ?? 999 ?> ",type:"error"}).then(function(){ tableRichieste.draw(); refreshModalHelper() });
<?php
}
}
}
}
if ($error) {
header('HTTP/1.0 403 Forbidden');
die();
}