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("

", "\n\r", $testo); $testo = str_replace("
", "\n\r", $testo); echo strip_tags($testo); } ?>