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.
 
 
 
 
 

28 righe
1.3 KiB

<?
$error = true;
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!empty($_SESSION["utente"]) && !emptY($_SESSION["utente"]->oe)) {
if (!empty($_GET["modulo"]) && !empty($_GET["codice_elemento"])) {
$dgue = new DGUE($_GET["modulo"],$_GET["codice_elemento"]);
if (!empty($dgue)) {
$error = false;
?>
<form id="upload-dgue" action="/dgue/edit.php" rel="validate" method="get" target="_blank">
<input type="hidden" name="printForm" value="1">
<input type="hidden" name="modulo" value="<?= $dgue->modulo ?>">
<input type="hidden" name="codice_elemento" value="<?= $dgue->elemento ?>">
<input type="hidden" rel="S;1;0;A" title="<?= __("file") ?>" name="filechunk" value="" id="dgue-filechunk">
<h1><?= __("Seleziona DGUE XML") ?></h1>
<?
filesManager::insertUploadForm('$("#dgue-filechunk").val(file.name);$("#confirm-button").slideDown();',null,["allowedTypes"=>[".xml"],"maxNumberOfFiles"=>1])
?>
<button class="btn btn-lg btn-primary btn-block" id="confirm-button" style="display:none">
<span class="fa fa-edit"></span> <?= __("Importa XML") ?>
</button>
</form>
<?
}
}
}
?>