$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; $error_detail = ""; $id_modulo = "open"; $cmd_info = gara::getInfoModulo($id_modulo); $error = true; if (!empty($_SESSION["utente"]) && ($_SESSION["utente"]->permission($cmd_info["modulo_riferimento"],$_GET["codice"],$id_modulo) || !empty($_GET["valutazione"])) && !empty($_GET["codice_round"]) && !empty($_GET["partecipante"]) && !empty($_GET["richiesta"]) && !empty($_GET["codice_lotto"])) { $valutazione = (empty($_GET["valutazione"])) ? NULL : "commissione"; $codice_round = $_GET["codice_round"]; $gara = gara::init($_GET["codice"],$codice_round,$valutazione); if (!empty($gara) && $gara->setLotto($_GET["codice_lotto"])) { $record = $gara->info; $round = $gara->round; $lotto = $gara->lotto; $lock = $gara->checkLock($cmd_info["id"]); $partecipante = $gara->getPartecipante($_GET["partecipante"]); if (!empty($partecipante)) { $richieste = $gara->getRichieste(); foreach($richieste AS $tmp) { if ($tmp["codice"] == $_GET["richiesta"]) { $richiesta = $tmp; break; } } if (!empty($richiesta) && $richiesta["locked"] == "S") { $infoOE = oeManager::getOE($partecipante["codice_operatore"]); $aggiuntive = false; $busta = $gara->getBusta($partecipante["codice"],$_GET["richiesta"],$aggiuntive,true); if ($busta["open"] == "S") { $economica = false; if ($richiesta["busta"] == "economica") { $economica = true; } else { $criteri = $gara->getCriteriTecnici(); } if (!empty($criteri) || $economica) { ?>