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.
35 righe
1.0 KiB
35 righe
1.0 KiB
<? |
|
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php"; |
|
include_once($configPath); |
|
$cmd_info = gara::getInfoModulo("criteri"); |
|
$error = true; |
|
|
|
$codice_round = $_GET["codice_round"] ?? NULL; |
|
if (isset($_SESSION["utente"]) && $_SESSION["utente"]->gerarchia < 100) { |
|
$owner = true; |
|
$gara = gara::init($_GET["codice_gara"],$codice_round); |
|
} else { |
|
$gara = publicGara::init($_GET["codice_gara"],$codice_round); |
|
} |
|
if (!empty($gara)) { |
|
$criterio = $gara->getCriteri($_GET["codice"]); |
|
if (!empty($criterio)) { |
|
ob_start(); |
|
$criterio = $criterio[0]; |
|
if ($criterio["tipologia"] == "Q") { |
|
$gara->printFormCriterio($criterio["codice"],false); |
|
} else if (!empty($criterio["auto"])) { |
|
$gara->printOfferCriterio($criterio["codice"],false); |
|
} |
|
$html = ob_get_clean(); |
|
if (!empty($html)) { |
|
$error = false; |
|
echo $html; |
|
} |
|
} |
|
} |
|
if ($error) { |
|
header('HTTP/1.0 403 Forbidden'); |
|
die(); |
|
} |
|
?>
|
|
|