Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
40 righe
1.4 KiB
40 righe
1.4 KiB
<? |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"public_html/"))."config.php"; |
|
include_once($configPath); |
|
$id_modulo = "preliminari"; |
|
if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->permission($radice,$_GET["codice"],$id_modulo)) { |
|
|
|
if (!empty($_GET["codice"])) { |
|
$anac = anac::init($_GET["codice"]); |
|
if (!empty($anac)) { |
|
$version = $anac->version; |
|
$lock = $anac->checkLock("preliminari"); |
|
} |
|
} else { |
|
$anac = new anac(); |
|
} |
|
if (!empty($anac)) { |
|
$breadcrumb = array(); |
|
$breadcrumb["/".$radice."/"] = Modulo::getInfo($radice)["titolo"]; |
|
$breadcrumb = $anac->getBreadcrumb($breadcrumb); |
|
if (!empty($anac->info["codice"])) $breadcrumb["/".$radice."/panel.php?codice=" . $anac->info["codice"]] = __("Pannello"); |
|
$breadcrumb[""] = __("Modifica"); |
|
include($root."/backend/layout/top.php"); |
|
include("_status.php"); |
|
if (!empty($logSimog["msg"])) { |
|
alertManager::printAlertBox(__("Errori SIMOG"),$logSimog["msg"]); |
|
} |
|
$echo = $anac->printEditGara(); |
|
if (!$echo) { |
|
alertManager::printAlertBox(__("Errore di configurazione")); |
|
} |
|
include_once($root."/backend/layout/bottom.php"); |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/backend/anac/index.php">'; |
|
die(); |
|
} |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/backend/anac/index.php">'; |
|
die(); |
|
} |
|
?>
|
|
|