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.
 
 
 
 
 

22 righe
616 B

<?
$error = true;
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!empty($_SESSION["utente"]) && !empty($_POST["codice_lotto"])) {
$concorso = publicConcorso::init($_POST["codice"]);
if ($concorso->setLotto($_POST["codice_lotto"])) {
if (!empty($concorso) && $concorso->partecipazioneAttiva()) {
if ($concorso->revoca(true) !== false) {
$error = false;
?>
window.location.reload();
<?
}
}
}
}
if ($error) {
header('HTTP/1.0 403 Forbidden');
die();
}
?>