$error = true; $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); if (isset($_SESSION["utente"]) && $_SESSION["utente"]->gerarchia < 100) { $oe = oeManager::getOE($_GET["codice"]); if (!empty($oe)) { $utente = oeManager::getUser($oe["codice"]); if (!empty($utente)) { $error = false; $codice_ente = 0; if (isset($_SESSION["ente"])) { $codice_ente = $_SESSION["ente"]->codice; } $forms = oeManager::getStandardForms($oe["tipo"],$codice_ente); $cpvs = oeManager::getCpvs($oe["codice"]); $validate = oeManager::validateUpdate(["oe"=>$oe,"user"=>$utente,"cpv"=>$cpvs]); $permesso_archivio = $_SESSION["utente"]->permission("archivio_documenti"); $status_archivio = $permesso_archivio && oeManager::hasAnyArchiveDocument($oe); $status_generali = $status_cpv = "fa fa-exclamation-triangle text-danger"; if ($validate === true || (is_array($validate) && ($validate) && $validate[0] == "cpv")) { $status_generali = "fa fa-check-circle text-success"; } if (!empty($cpvs) === true) { $status_cpv = "fa fa-check-circle text-success"; } $showComunicazioni = ($_SESSION["utente"]->isSupporto() || $_SESSION["utente"]->fromHere() || $_SESSION["utente"]->gerarchia === "1"); $activeTab = $_COOKIE["selectedCardTab{$oe["codice"]}"] ?? "generali-tab"; ?>
| = __("Categoria") ?> | = __("Classifica") ?> |
|---|---|
| = $elemento["id"] ?> - = $elemento["descrizione"] ?> | = $classifica["id"] ?> = $classifica["descrizione"] ?> |
| = __("Oggetto") ?> | = __("Data e ora") ?> | = __("Utente") ?> |
|---|---|---|
| = $oggetto ?> | = mysql2datetime($gara["timestamp"]) ?> | = $user["cognome"] . " " . $user["nome"] ?> |
| = __("Oggetto") ?> | = __("Sezione") ?> | = __("Timestamp") ?> |
|---|