gestione gare pubbliche
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.
 
 
 
 
 

18 righe
633 B

<?
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
$error = true;
if (!empty($_SESSION["utente"]) && !empty($_GET["codice"])) {
$formManager = new FormManager();
if ($formManager->init($_GET["codice"],"preview",0) !== false) {
if ($_SESSION["utente"]->gerarchia <= 20 || $formManager->getente() == 0 || $formManager->getente() == $_SESSION["ente"]->codice) {
$error = false;
$formManager->printForm(true,(!isset($tokenProvvisorio)) ? false:true);
}
}
}
if ($error) {
header('HTTP/1.0 403 Forbidden');
die();
}
?>