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.
 
 
 
 
 

29 righe
1.0 KiB

<?
$configPath = substr(__DIR__,0,strpos(__DIR__,"/public_html"))."/config.php";
include_once($configPath);
if (!empty($_SESSION["utente"]->oe) && isset($_POST["espd"])) {
$json = json_decode(file_get_contents($root."/dgue/templates/subappalto/definition.json"),true);
$values = DGUE::findValues($_POST["espd"],$json);
$testo = __("Subappaltatori proposti") . ":\n\r";
for ($c_s=1;$c_s<=3;$c_s++) {
if (!empty($values["_0".$c_s][0]) && !empty($values["_0".$c_s][1])) {
$testo.= __("Ragione Sociale").": " . $values["_0".$c_s][0];
$testo.="\n\r";
$testo.= __("Partita IVA"). ": " . $values["_0".$c_s][1];
$testo.="\n\r ---------------- \n\r";
}
}
if (!empty($values["_0"][2])) {
$testo.="\n\r";
$testo.=__("Parti che si intendono subappaltare:");
$testo.="\n\r";
$testo.=$values["_0"][2];
}
$testo = str_replace("<p>", "\n\r", $testo);
$testo = str_replace("<br>", "\n\r", $testo);
echo strip_tags($testo);
}
?>