$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $id_modulo = "partecipanti"; $cmd_info = concorso::getInfoModulo($id_modulo); $error = true; if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice,$_GET["codice"],$id_modulo) && $_SESSION["utente"]->permission($cmd_info["modulo_riferimento"]) && !empty($_GET["codice_lotto"])) { $codice_round = $_GET["codice_round"] ?? NULL; $concorso = concorso::init($_GET["codice"],$codice_round); if (!empty($concorso)) { $record = $concorso->info; if ($concorso->setLotto($_GET["codice_lotto"])) { $lock = $concorso->checkLock($id_modulo); $round = $concorso->round; $error = false; $partecipanti = $concorso->getPartecipanti(); $return = array(); $return["draw"] = (int)$_GET["draw"]; $return["recordsTotal"] = (int)0; $return["recordsFiltered"] = (int)0; $return["data"] = []; if (count($partecipanti) > 0) { $return["recordsTotal"] = count($partecipanti); $return["recordsFiltered"] = count($partecipanti); $i = 0; foreach($partecipanti AS $partecipante) { if ($partecipante["flagEncrypted"] == "N") { $i++; $row = []; $row[] = $i; $row[] = $partecipante["codice_fiscale"]; ob_start(); if(!empty($partecipante["codice_operatore"])) { ?> " onclick="showCompany(= $partecipante["codice_operatore"] ?>); return false"> } ?> = $partecipante["ragione_sociale"] ?> if(!empty($partecipante["codice_operatore"])) { ?> } $row[] = ob_get_clean(); ob_start(); $raggruppamento = $concorso->getRaggruppamento($partecipante["codice"]); if (!empty($raggruppamento)) { ?>
| = __("Ruolo") ?> | = __("Codice Fiscale") ?> | = __("Ragione sociale") ?> |
|---|---|---|
| = $membro["ruolo"] ?> | = $membro["codice_fiscale_impresa"] ?> | = $membro["ragione_sociale"] ?> |