if (!isset($root)) { $configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); $categoria = get_campi("b_gare_soa"); $categoria["codice"] = $_POST["id"]; $categoria["prevalente"] = "N"; } if (!empty($_SESSION["utente"]->gerarchia) && $_SESSION["utente"]->gerarchia < 100 && !empty($categoria)) { if (!isset($categorieSOA)) { $categorieSOA = getCategorieSOA(); } if (empty($categoria["importo"])) { $categoria["importo"] = 0; } $id = $categoria["codice"]; ?>