$configPath = substr(__DIR__, 0, strpos(__DIR__, "public_html")) . "/config.php"; include_once($configPath); if (!empty($_SESSION["utente"]) && !empty($_SESSION["utente"]->oe) && !empty($_GET["codice_lotto"])) { $codice_round = $_GET["codice_round"] ?? NULL; $gara = publicGara::init($_GET["codice"], $codice_round); if (!empty($gara) && $gara->potentialAction && $gara->setLotto($_GET["codice_lotto"])) { $asta = $gara->getAsta(true); if(!empty($asta->info)) { $record = $gara->info; $round = $gara->round; $lotto = $gara->lotto; $infoAsta = $asta->info; $breadcrumb = array(); $breadcrumb["/" . $radice . "/"] = Modulo::getInfo($radice)["titolo"]; $breadcrumb["/" . $radice . "/dettaglio.php?codice={$record["codice"]}&codice_round={$round["codice"]}"] = __("Dettaglio"); $breadcrumb["/". $radice . "/partecipa/partecipa.php?codice={$record["codice"]}&codice_round={$round["codice"]}&codice_lotto={$lotto["codice"]}"] = __("Pannello"); $breadcrumb[""] = __("Asta"); include_once($root . "/layout/top.php"); $scadenza = $asta->getScadenza(); ?>