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.
38 righe
1.4 KiB
38 righe
1.4 KiB
<? |
|
$configPath = substr(__DIR__, 0, strpos(__DIR__, "public_html")) . "/config.php"; |
|
include_once($configPath); |
|
if (!empty($_SESSION["utente"]) && !empty($_SESSION["utente"]->oe) && !empty($_GET["codice_form"])) { |
|
$elenco = publicAlboFornitori::init($_GET["codice"]); |
|
if (!empty($elenco) && $elenco->potentialAction) { |
|
$forms = $elenco->getForms(); |
|
if (array_search($_GET["codice_form"],$forms) !== false) { |
|
$getVariables = $_GET; |
|
$record = $elenco->info; |
|
$breadcrumb = array(); |
|
$breadcrumb["/" . $radice . "/"] = Modulo::getInfo($radice)["titolo"]; |
|
$breadcrumb["/" . $radice . "/dettaglio.php?codice={$record["codice"]}"] = __("Dettaglio"); |
|
$breadcrumb["/" . $radice . "/partecipa/partecipa.php?codice={$record["codice"]}"] = __("Pannello"); |
|
$breadcrumb[""] = __("Questionario"); |
|
include_once($root . "/layout/top.php"); |
|
?> |
|
<div class="container-fluid px-5"> |
|
<h1><?= __("Elenco") ?> #<?= $record["id"] ?> - <?= $record["oggetto"] ?></h1> |
|
<? |
|
$elenco->printForm($_GET["codice_form"]) |
|
?> |
|
</div> |
|
<? |
|
include_once($root . "/layout/bottom.php"); |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/index.php">'; |
|
die(); |
|
} |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/index.php">'; |
|
die(); |
|
} |
|
} else { |
|
echo '<meta http-equiv="refresh" content="0;URL=/index.php">'; |
|
die(); |
|
} |
|
?>
|