$error = true; if (!isset($gara)) { $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $id_modulo = "asta"; $cmd_info = gara::getInfoModulo($id_modulo); $ajaxRequestMonitor = true; if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($cmd_info["modulo_riferimento"]) && $_SESSION["utente"]->permission($radice,$_GET["codice_gara"],$id_modulo) && !empty($_GET["codice_gara"]) && !empty($_GET["codice_lotto"]) && !empty($_GET["codice_round"])) { $gara = gara::init($_GET["codice_gara"],$_GET["codice_round"]); $gara->setLotto($_GET["codice_lotto"]); $asta = $gara->getAsta(true); } } if (!empty($asta)) { $error = false; $scadenza = $asta->getScadenza(); ?>