<?php } ?> <!-- fine contenuto--> </td> </tr> </TABLE> <input name="active_form" type="hidden" value="pe.allegati.php"> <input name="pratica" type="hidden" value="<?php echo $idpratica; ?> "> <?php print $dummytable->set_buttons(); ?> </FORM> <?php } //end if ?> <?php } else { // VISTA DATI $tabella_allegati = new Tabella_h("{$tabpath}/doc_allegati"); $tabella_mancanti = new Tabella_h("{$tabpath}/doc_mancanti"); $tabella_mancanti->set_color("#FFFFFF", "#FF0000", 0, 0); $db = $tabella_allegati->get_db();
<tr> <td> <!-- contenuto--> <?php $numrows = $tabella->set_dati("pratica={$idpratica}"); if ($numrows) { $tabella->set_titolo("Eventi"); $tabella->get_titolo(); $tabella->elenco(); } else { print '<H2 class="blueBanner">Iter della pratica</H2>'; $tabella->set_titolo("Eventi"); $tabella->print_titolo(); print "<p><b>Nessun evento</b></p>"; print $tabella->set_buttons(); } ?> <input type="hidden" id="idriga" name="idriga" value="0"> <input type="hidden" name="mode" value="new"> <INPUT type="hidden" name="pratica" value="<?php echo $idpratica; ?> "> <INPUT type="hidden" name="chk" value=""> <INPUT type="hidden" name="cdu" value="1"> <INPUT type="hidden" name="config_file" value="<?php echo $tabpath; ?> /iter.tab">