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.
 
 
 
 
 

36 righe
1.5 KiB

<?
$error = true;
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!empty($_SESSION["utente"]) && $_SESSION["utente"]->gerarchia < 100) {
?>
<form id="upload-dgue" action="/backend/common/dgue/getPDF.php" rel="validate" method="post" target="_blank">
<input id="token-dgue" type="hidden" name="token" value="<?= tokenGen() ?>">
<input type="hidden" rel="S;1;0;A" title="<?= __("file") ?>" name="filechunk" value="" id="dgue-filechunk">
<?
ob_start(); ?>
$("#dgue-filechunk").val(file.name);
$("#confirm-button").slideDown();
<?
$scriptSuccess = ob_get_clean();
filesManager::insertUploadForm($scriptSuccess,"uploadDGUEXML",["allowedTypes"=>[".xml"],"maxNumberOfFiles"=>1]);
?>
<div class="form-group">
<label for="version"><?= __("Riferimento normativo") ?></label>
<select name="version" id="dgue-version" rel="S;0;0;A" title="<?= __("Versione") ?>">
<?
$versions = dgue::versions();
foreach($versions as $idVersion => $infoVersion) {
?>
<option value="<?= $idVersion ?>"><?= $infoVersion["label"] ?></option>
<?
}
?>
</select>
<button class="btn btn-lg btn-primary btn-block" id="confirm-button" style="display:none">
<span class="fa fa-download"></span> <?= __("Download PDF") ?>
</button>
</form>
<?
}
?>