$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $error = true; if (!empty($_SESSION["utente"])) { $manager = new richiesteOE($_GET["modulo"],$_GET["codice_elemento"],$_GET["sub"]); if ($manager->checkAdminPermission()) { $infoModulo = richiesteOE::moduliAbilitati()[$manager->getModuloRiferimento()] ?? null; $infoUtente = (!empty($infoModulo["riferimento_partecipante"]) && $infoModulo["riferimento_partecipante"] == "utente"); if (!empty($_GET["codice"])) { $tmp = $manager->getRichieste("N",["codice"=>$_GET["codice"]]); if (!empty($tmp)) { $richiesta = $tmp[0]; $error = false; ?>
| = __("Codice fiscale") ?> | = __("Nominativo") ?> | } else if ($manager->modulo != "concorsi") { ?>= __("Partita IVA") ?> | = __("Ragione Sociale") ?> | } else { ?>= __("Partecipante") ?> | } ?>|
|---|---|---|---|---|---|
| = $info["cf"] ?> | = $info["cognome"] . " " . $info["nome"] ?> | } else if ($manager->modulo != "concorsi") { ?>= (!empty($info["partita_iva"])) ? $info["partita_iva"] : $info["codice_fiscale_impresa"] ?> | " onclick="showCompany(= $int["codice_operatore"] ?>); return false"> = $info["ragione_sociale"] ?> | } else { $partecipante = null; if (!empty($partecipanti)) { foreach($partecipanti AS $tmp) { if ($tmp["codice_operatore"] == $info["codice"]) { $partecipante = $tmp; break; } } } ?>= $partecipante["id"] ?? "" ?> | } ?>
if (!empty($int["timestamp_trasmissione"])) {
if (strtotime($richiesta["apertura"]) < time() || empty($richiesta["apertura"])) {
?>
&codice_richiesta== $richiesta["codice"] ?>&modulo== $manager->modulo ?>&codice_elemento== $manager->elemento ?>&sub== $manager->sub ?>&token== tokenGen() ?>">
= __("Visualizza") ?>
} else { ?>
= __("Termini apertura non raggiunti") ?>
} ?>
= mysql2datetime($int["timestamp_trasmissione"]); ?> } else { ?> = __("Risposta non ricevuta") ?> } ?> |