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.
24 righe
878 B
24 righe
878 B
<? |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
$error = true; |
|
if (!empty($_SESSION["utente"]) && !empty($_GET["codice_richiesta"]) && !empty($_GET["codice_lotto"])) { |
|
$codice_round = $_GET["codice_round"] ?? NULL; |
|
$concorso = publicConcorso::init($_GET["codice_concorso"],$codice_round); |
|
if (!empty($concorso) && $concorso->potentialAction) { |
|
$record = $concorso->info; |
|
$round = $concorso->round; |
|
if ($concorso->setLotto($_GET["codice_lotto"])) { |
|
$lotto = $concorso->lotto; |
|
$pannello = $concorso->getManagerPartecipazione(); |
|
if (!empty($pannello) && $pannello->check() && $pannello->printManage($_GET["codice_richiesta"])) { |
|
$error = false; |
|
} |
|
} |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|
|
|