oe)) { $codice_round = $_GET["codice_round"] ?? NULL; $concorso = publicConcorso::init($_GET["codice"], $codice_round); if (!empty($concorso) && $concorso->potentialAction) { $record = $concorso->info; $round = $concorso->round; $lotti = $concorso->getLotti(); $breadcrumb = array(); $breadcrumb["/" . $radice . "/"] = Modulo::getInfo($radice)["titolo"]; $breadcrumb["/" . $radice . "/dettaglio.php?codice={$record["codice"]}&codice_round={$round["codice"]}"] = __("Dettaglio"); if (!empty($_GET["codice_lotto"]) && count($lotti) > 1) { $breadcrumb["/". $radice . "/partecipa/partecipa.php?codice={$record["codice"]}&codice_round={$round["codice"]}"] = __("Scelta lotto"); } $breadcrumb[""] = __("Pannello"); include_once($root . "/layout/top.php"); if (empty($_GET["codice_lotto"]) && count($lotti) > 1) { $checkStato = $pdo->prepare("SELECT conferma FROM r_partecipanti_concorsi WHERE codice_round = :codice_round AND codice_lotto = :lotto AND codice_operatore = :operatore "); $checkStato->bindValue(":operatore",$_SESSION["utente"]->oe["codice"]); $checkStato->bindValue(":codice_round",$round["codice"]); $stati = []; foreach($lotti AS $lotto) { $stati[$lotto["codice"]] = ["label"=>"","class"=>"btn-primary"]; $checkStato->bindValue(":lotto",$lotto["codice"]); $checkStato->execute(); if ($checkStato->rowCount() > 0) { if ($checkStato->fetch(PDO::FETCH_COLUMN) == "S") { $stati[$lotto["codice"]] = ["label"=>" " . __("Partecipazione inviata"),"class"=>"btn-success"]; } else { $stati[$lotto["codice"]] = ["label"=>" " . __("Partecipazione iniziata"),"class"=>"btn-warning"]; } } } $concorso->printSelectLottiConditions = ["hasInvito"]; ?>

printSelectLotto("/concorsi/partecipa/partecipa.php?codice={$record["codice"]}&codice_round={$round["codice"]}",false,$stati); ?>
setLotto($setLotto)) { if ($concorso->hasInvito()) { $tipiBuste = concorso::tipologieBusta(); $lotto = $concorso->lotto; $submit = false; if ($concorso->partecipazioneAttiva()) { $submit = true; } ?>

# -

-

getManagerPartecipazione(); if (!empty($pannello) && $pannello->check()) { $pannello->printPanel(); $partecipante = $pannello->partecipante; ?>

submit) { if (!empty($partecipante) && $partecipante["conferma"] == "N" && $pannello->checkDocumentiMinimi()) { ?>


&codice_lotto=">
,'concorsi/partecipa','codice_lotto=')" value="">
",$pannello->errori)); } } else { alertManager::printAlertBox(__("Lotto non abilitato")); } } else { alertManager::printAlertBox(__("Errore inizializzaione lotto")); } } else { alertManager::printAlertBox(__("Errore selezione lotto")); } } include_once($root . "/layout/bottom.php"); } else { echo ''; die(); } } else { echo ''; die(); } ?>