$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; include_once($configPath); if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice,$_GET["codice"])) { $elenco = AlboFornitori::init($_GET["codice"]); if ($elenco !== false) { $record = $elenco->info; $breadcrumb = array(); $breadcrumb["/".$radice."/"] = Modulo::getInfo($radice)["titolo"]; $breadcrumb[""] = __("Pannello"); include_once ($beRoot."/layout/top.php"); $stati = AlboFornitori::getStati(); $stato = $stati[$record["stato"]]; if ($record["stato"] == 20 && strtotime($record["pubblicazione"]) > time()) { $stato["titolo"] = "Programmata pubblicazione"; } $alertManager = new alertManager("{$elenco->modulo}-{$elenco->info["codice"]}"); ?>