$error = true; if (!isset($gara)) { $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $ajaxRequestMonitor = true; if (!empty($_SESSION["utente"]) && !empty($_GET["codice"]) && !empty($_GET["codice_lotto"]) && !empty($_GET["codice_round"])) { $gara = publicGara::init($_GET["codice"],$_GET["codice_round"]); if ($gara->setLotto($_GET["codice_lotto"])) { $tmpAsta = $gara->getAsta(true); if (!empty($tmpAsta->info)) { $asta = $tmpAsta; $infoAsta = $asta->info; } } } } if (!empty($asta)) { $error = false; $scadenza = $asta->getScadenza(); if ($scadenza > 0) { $time = secondsToTime($scadenza) ?>