setLotto($_GET["codice_lotto"])) { $record = $concorso->info; $round = $concorso->round; $lotto = $concorso->lotto; $breadcrumb = array(); $breadcrumb["/" . $radice . "/"] = Modulo::getInfo($radice)["titolo"]; $breadcrumb["/" . $radice . "/dettaglio.php?codice={$record["codice"]}&codice_lotto={$lotto["codice"]}"] = __("Dettaglio"); $breadcrumb["partecipa.php?codice={$record["codice"]}&codice_lotto={$lotto["codice"]}"] = __("Pannello"); $breadcrumb[] = __("Invia partecipazione"); include_once($root . "/layout/top.php"); ?>
0, "presenti" => 0]; $checkInstance = publicConcorso::init($_GET["codice"]); ?>

#

setLotto($lotto["codice"]) && $checkInstance->partecipazioneAttiva()) { ?> - miaPartecipazione(); if (!empty($partecipante)) { if ($partecipante["conferma"] == "N") { $tipiBuste = concorso::tipologieBusta(); $buste = []; foreach ($tipiBuste as $id_busta => $busta) { $tmp = $checkInstance->getRichieste($id_busta); if (!empty($tmp)) { $buste[$id_busta] = ["info" => $busta, "richieste" => $tmp]; } } if (!empty($buste)) { foreach ($buste as $id_busta => $busta) { foreach ($busta["richieste"] as $input) { if ($input["controllo"] != "N") { $checks["obbligatori"]++; } $content = $concorso->getBusta($partecipante["codice"], $input["codice"]); if (!empty($content)) { if ($input["controllo"] != "N") { $checks["presenti"]++; } } } } } if ($checks["obbligatori"] == $checks["presenti"]) { unset($partecipante["ragione_sociale"]); unset($partecipante["codice_fiscale"]); unset($partecipante["stato"]); $partecipante["conferma"] = "S"; $partecipante["timestamp_invio"] = date("d/m/Y H:i:s"); $salva = new salva(); $salva->debug = false; $salva->nome_tabella = "r_partecipanti_concorsi"; $salva->operazione = "UPDATE"; $salva->oggetto = $partecipante; $partecipante["codice"] = $salva->save(); if (!empty($partecipante["codice"])) { alertManager::printSuccessBox(__("La partecipazione è stata ricevuta con successo")); ?>
getRicevuta(); ?>
&codice_lotto="> &codice_lotto="> '; die(); } } else { echo ''; die(); } } else { echo ''; die(); } ?>