$error = true; $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); if (!empty($_SESSION["utente"]) && !empty($_GET["codice_lotto"])) { $gara = publicGara::init($_GET["codice"]); if (!empty($gara->info)) { $record = $gara->info; $round = $gara->round; if ($gara->setLotto($_GET["codice_lotto"])) { $lotto = $gara->lotto; $asta = $gara->getAsta(true); if (!empty($asta->info) && !$asta->confirmDeadline(true) && $asta->info["richiedi_firma"] == "S") { $partecipante = $gara->miaPartecipazione(); $ultimoRilancio = $asta->ultimoRilancio(); if (!empty($partecipante) && !empty($ultimoRilancio)) { $error = false; ?>