echo $modo; ?> "> <input name="active_form" type="hidden" value="oneri.tariffe.php"> </FORM> <?php } elseif ($modo == "view") { ?> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="99%" align="center"> <TR> <TD> <?php unset($_SESSION["ADD_NEW"]); $tabella = new tabella_v("{$tabpath}/tariffe", $modo); $tabella->set_titolo("Tariffe Oneri", 'modifica', array("mode" => "edit")); $tabella->set_dati("id={$id}"); $tabella->elenco(); ?> </TD> </TR> </TABLE> <?php } else { //-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> ?> <H2 class="blueBanner">Elenco Tariffe Oneri</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%">
echo $modo; ?> "> </form> <?php } else { //-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> ?> <H2 class="blueBanner">Elenco Agibilità </H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella = new tabella_v("{$tabpath}/abitabi"); $tabella->set_titolo("Certificato rilasciato", "modifica", array("id" => "")); $tabella->set_dati("pratica={$idpratica}"); $tabella->elenco(); ?> <!-- fine contenuto--> </TD> </TR> <TR> <TD> <!-- tabella nuovo inserimento--> <?php $tabella->set_titolo("Aggiungi un nuovo certificato", "nuovo"); $tabella->get_titolo(); print "<br>"; if ($tabella->editable) {
<FORM name="riferimenti" action="pe.riferimenti.php" method="post"> <input type="hidden" name="mode" value="new"> <TABLE cellPadding=2 cellspacing=2 border=0 class="stiletabella" width="800"> <tr> <td width="90%" bgColor="#728bb8"><font face="Verdana" color="#FFFFFF" size="2"><b><?php echo $msg; ?> </b></font> </td> </tr> <TR> <TD> <!-- contenuto--> <?php $tabella = new tabella_v($filetab); $tabella->set_dati($_POST); $tabella->edita(); ?> </TD> </TR> <tr> <!-- riga finale --> <td align="left"><img src="images/gray_light.gif" height="2" width="100%"></td> </tr> <tr> <td> <table width="800"> <tr> <TD align="left"><input name="azione" type="submit" value="Avanti >>" class="hexfield1" style="width:120px"></TD> <TD align="right"><input name="azione" type="submit" value="Annulla" class="hexfield1" style="width:120px" <?php
</TD></tr> <tr><TD colspan="2"> </TD></tr> <tr> <td colspan="2"> <input class="hexfield" type="button" value="Annulla" onclick="window.opener.focus();window.close();"> <input class="hexfield" type="submit" name="azione" value="Cerca" onclick="if (numero.value.length>0) return true; else{alert('Inserire un n° di pratica');return false;}"> </td> </tr> </table> </form> <?php } else { include_once "./lib/tabella_h.class.php"; $tabella_v = new tabella_v("pe/eliminapratica_info_amb.tab"); $tabella_ubi = new tabella_h("pe/eliminapratica_ubi.tab"); $tabella_richied = new tabella_h("pe/eliminapratica_richied.tab"); $tabella_v->set_titolo("Dati Pratica"); $tabella_ubi->set_titolo("Ubicazione"); $tabella_richied->set_titolo("Richiedenti"); $numrows = $tabella_v->set_dati("numero='" . $_POST["numero"] . "'"); $pratica = $tabella_v->array_dati[0]["pratica"]; $numrows_u = $tabella_ubi->set_dati("pratica=" . $pratica . ""); $numrows_r = $tabella_richied->set_dati("pratica=" . $pratica . " and richiedente=1"); ?> <form action="pe.eliminapratica_amb.php" method="POST" name="main"> <table width="70%"> <tr> <td colspan="2">
<SCRIPT language="javascript" src="js/LoadLibs.js" type="text/javascript"></SCRIPT> </SCRIPT> </head> <script language=javascript> function link(id){ window.location="oneri.calcolati.php?pratica=<?php echo $idpratica; ?> "; } </script> <body background=""> <?php if ($modo == "edit" or $modo == "new") { $tabella = new tabella_v($file_conf, $modo); unset($_SESSION["ADD_NEW"]); include "./inc/inc.page_header.php"; ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN EDITING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <FORM id="" name="" method="post" action="praticaweb.php"> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="99%" align="center"> <tr> <!-- intestazione--> <td> <H2 class="blueBanner"><?php echo $titolo; ?> </H2></td> </tr> <tr> <td>
<td> <!-- intestazione--> <H2 class="blueBanner">Ricerca pratiche</H2> <!-- fine intestazione--> </td> </tr> <tr> <td> <!-- ricerca base pratica --> <?php if ($notfound) { echo "<p><b>La ricerca non ha dato alcun risultato</b></p>"; } $tabella = new tabella_v("{$tabpath}/ricerca.tab", 'standard'); $tabella->set_db($db); $tabella_avanzata = new tabella_v("{$tabpath}/ricerca_avanzata.tab", 'standard'); //in avanzata devo settare il db perchÚ c'Ú un elenco $tabella_avanzata->set_db($db); if (!$_GET["new"] || $notfound) { $tabella->set_dati($_SESSION["RICERCA"]); } $tabella->edita(); ?> <!-- ricerca avanzata pratica --> <SPAN id="close" style="DISPLAY: none"> <IMG onclick="invisibile(document.all.avanzata,document.all.close,document.all.open)" src="images/avanzata_open.png"></SPAN> <SPAN id="open"> <IMG onclick="visibile(document.all.avanzata,document.all.close,document.all.open)" src="images/avanzata_close.png" > </SPAN> <SPAN id="avanzata" style="DISPLAY: none"> <?php
<script> $('#btn_upload').button({ icons:{ primary:'ui-icon-document' }, label:'Carica File' }).click(function(){ $(this).parents('form:first').submit(); }); </script> </div> </form> <?php } else { //<<<<<<<<<<<<<<<<<<<<< MODALITA' VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> $tabella = new tabella_v("{$tabpath}/doc_dettaglio"); $id = substr($idallegato, 4); $tabella->set_dati("id = {$id}"); $nome_doc = $tabella->get_campo("documento"); ?> <H2 class="blueBanner">Scheda allegato: <?php echo $nome_doc; ?> </H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php //aggiunto il campo costante tabella = richiedenti/tecnici per portarmi sul form il nome della tabella $tabella->set_titolo("Scheda allegato", "modifica", array("allegato" => $nome_doc, "id" => $id, "pratica" => ""));
"> </form> <?php include "./inc/inc.window.php"; // contiene la gesione della finestra popup } else { //-<<<<<<<<<<<<<<<<<<<<<< VISUALIZZA DATI ASSERVIMENTO E MAPPALI ASSERVITI>>>>>>>>>>>>>>>>>>>>>>>>>>>-----------------------> ?> <!-- <<<<<<<<<<<<<<<<<<<<< ASSERVIMENTO >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Atti e Titoli</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella_asservimento = new tabella_v("{$tabpath}/atti"); $nrec = $tabella_asservimento->set_dati("pratica = {$idpratica} order by data_reg"); if ($nrec) { $tabella_asservimento->set_titolo("Atto", "modifica", array("id" => "")); for ($i = 0; $i < $nrec; $i++) { $tabella_asservimento->curr_record = $i; $tabella_asservimento->idtabella = $tabella_asservimento->array_dati[$i]['id']; $tabella_asservimento->get_titolo(); $tabella_asservimento->tabella(); } } $tabella_asservimento->set_titolo("Nuovo Atto", "nuovo"); $tabella_asservimento->get_titolo(); if (!$nrec) { print "<p><b>Nessun atto</b></p>"; }
?> <!-- fine contenuto--> </TD> </TR> </TABLE> <input name="active_form" type="hidden" value="pe.istruttoria.php"> <input name="mode" type="hidden" value="<?php echo $modo; ?> "> </FORM> <?php include "./inc/inc.window.php"; } else { $tabella = new tabella_v($filetab); $tabella->set_errors($errors); $numrec = $tabella->set_dati("pratica={$idpratica} and ente in (1,48)"); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Elenco pareri</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php if ($numrec == 0) { $tabella->set_titolo("Aggiungi un nuovo Parere", "nuovo", array("istruttore" => $user, "data_ril" => $data)); $tabella->get_titolo(); } else { $tabella->set_titolo("Parere Ufficio Tecnico", "modifica");
} else { unset($_SESSION["ADD_NEW"]); $tabella = new Tabella_v($file_config, 'view'); $tabellah = new Tabella_h('ce/membri_commissione', 'view'); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <body> <H2 class="blueBanner"> <?php echo $title; ?> </H2> <!-- contenuto--> <?php $tabella->set_titolo("Dati della commissione", "modifica", array("tipo" => $tipo)); $tabella->set_dati("pratica={$idcomm}"); $tabellah->set_titolo("Soggetti partecipanti"); $tabellah->set_dati("commissione={$idcomm} order by id_ruolo"); $tabella->get_titolo(); $tabella->tabella(); $tabellah->get_titolo(); $tabellah->elenco(); $tabellav = new tabella_v("{$tabpath}/stampa.tab"); $tabellav->set_dati("id>0"); print $tabellav->elenco_stampe("ce.commissione"); } ?> <!-- fine contenuto--> </body> </html>
<input name="fido" type="hidden" value="<?php echo $fido; ?> "> </FORM> <?php } else { //-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> ?> <H2 class="blueBanner">Svincoli Fidi</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella = new tabella_v("{$tabpath}/{$config_file}", 'list'); //$tabella->set_titolo("istituto","modifica",array("istituto"=>"","id"=>"")); $tabella->set_dati("id={$id}"); $tabella->tabella(); ?> <!-- fine tabella nuovo inserimento--> </TD> </TR> </TABLE> <?php } ?> </body> </html>
<?php } else { $tabella = new Tabella_v("{$tabpath}/titolo"); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Rilascio del titolo</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php if ($tabella->set_dati("pratica={$idpratica}")) { $tabella->set_titolo("Rilascio Titolo", "modifica", array("tabella" => "titolo")); $tabella->elenco(); echo "<br>"; $tabella_voltura = new tabella_v("{$tabpath}/voltura"); $tabella_voltura->set_titolo("Voltura", "modifica", array("tabella" => "volture")); $tabella_voltura->set_dati("pratica={$idpratica}"); $tabella_voltura->elenco(); echo "<br>"; $tabella_voltura->set_titolo("Inserisci Voltura", "nuovo", array("tabella" => "volture")); $tabella_voltura->get_titolo(); print "<br>"; print $tabella->elenco_stampe("pe.titolo_amb"); } else { $tabella->set_titolo("Inserisci dati relativi al titolo rilasciato", "nuovo", array("tabella" => "titolo")); print $tabella->get_titolo(); print "<p><b>Nessun titolo rilasciato</b></p>"; print "<br>"; print $tabella->elenco_stampe("pe.titolo_amb"); }
</td> <td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Salva"></td> <?php if ($modo !== "new") { print "<td valign=\"bottom\"><input name=\"azione\" type=\"submit\" class=\"hexfield\" tabindex=\"14\" value=\"Elimina\"></td>"; } ?> <td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Annulla"></td> </tr> </table> </FORM> <?php include "./inc/inc.window.php"; } else { $tabella = new tabella_v($config_file); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Esposti ricevuti</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella->set_dati("pratica={$idpratica}"); $tabella->set_titolo("Esposto", "modifica", array("id" => $id)); $tabella->elenco(); ?> <!-- fine contenuto--> </TD>
"> <input name="id" type="hidden" value="<?php echo $id; ?> "> </form> <br> <br> <?php include "./inc/inc.window.php"; // contiene la gesione della finestra popup } else { //<!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> print "<H2 class=\"blueBanner\">Sopralluoghi effettuati</H2>"; $tabella = new tabella_v($config_file, $modo); $nrec = $tabella->set_dati("pratica={$idpratica} order by data"); for ($i = 0; $i < $nrec; $i++) { $tabella->curr_record = $i; $dati_id = $tabella->get_campo("id"); $dati_data = $tabella->get_campo("data"); //$dati_soprall=$tabella->get_campo("vigilanza"); $tabella->idtabella = $dati_id; $tabella->set_titolo("Sopralluogo del " . $dati_data, "modifica", array("id_sopralluoghi" => $dati_id)); $tabella->get_titolo(); $tabella->tabella(); print "<div class=\"button_line\"></div>\n"; $tabella->elenco_stampe("vigilanza"); } $tabella->set_titolo("Nuovo Sopralluogo", "nuovo"); $tabella->get_titolo();
<td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Salva"></td> <td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Annulla"></td> <?php if ($modo == "edit") { ?> <td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Elimina" onClick="return confirmSubmit()"></td> <?php } ?> </tr> </table> </FORM> <?php include "./inc/inc.window.php"; } else { $tabella = new tabella_v("{$tabpath}/comm_edilizia", $modo); $tabella->set_errors($errors); $numrec = $tabella->set_dati("pratica={$idpratica}"); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Elenco pareri</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php if (!$numrec) { $tabella->set_titolo("parere"); $tabella->get_titolo(); echo "<p><b>Nessun parere richiesto</b></p>"; } else {
<td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Salva"></td> <td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Annulla"></td> <?php if ($modo == "edit") { ?> <td valign="bottom"><input name="azione" type="submit" class="hexfield" tabindex="14" value="Elimina" onClick="return confirmSubmit()"></td> <?php } ?> </tr> </table> </FORM> <?php include "./inc/inc.window.php"; } else { $tabella = new tabella_v("{$tabpath}/pareri"); $tabella->set_errors($errors); $numrec = $tabella->set_dati("pratica={$idpratica}"); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Elenco pareri</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella->set_titolo("nome_ente", "modifica", array("nome_ente" => "", "id" => "")); for ($i = 0; $i < $numrec; $i++) { $tabella->curr_record = $i; $tabella->get_titolo(); $tabella->tabella();
<FORM id="ricerca" name="ricerca" method="post" action="cdu.ricerca.php"> <tr> <td> <!-- intestazione--> <H2 class="blueBanner">Ricerca pratiche</H2> <!-- fine intestazione--> </td> </tr> <tr> <td> <!-- ricerca base pratica --> <?php if ($notfound) { echo "<p><b>La ricerca non ha dato alcun risultato</b></p>"; } $tabella = new tabella_v("{$tabpath}/ricerca.tab", 'new'); if (!$_REQUEST["new"] || $notfound) { $tabella->set_dati($_SESSION["RICERCA"]); } $tabella->edita(); ?> </td> </tr> <tr> <!-- riga finale --> <td align="left"><img src="images/gray_light.gif" height="2" width="90%"></td> </tr> </TABLE> <table class="stiletabella" cellpadding="2" cellspacing="2"> <tr> <td>
</tr> </FORM> </table> <?php //include "./inc/inc.window.php"; // contiene la gesione della finestra popup } else { ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <body> <H2 class="blueBanner">Avvio del procedimento e comunicazione responsabile</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella = new tabella_v($file_config); $tabella->set_titolo("Dati della pratica", "modifica"); $nrec = $tabella->set_dati("pratica={$idpratica}"); $tabella->elenco(); $tabella->close_db(); ?> <!-- fine contenuto--> </TD> </TR> </TABLE> <?php } ?> </body> </html>
} else { ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Esecuzione Lavori</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella = new Tabella_v("{$tabpath}/lavori"); if ($tabella->set_dati("pratica={$idpratica}")) { $tabella->set_titolo("Scadenze lavori", "modifica", array("tabella" => "lavori", "id" => "")); $tabella->get_titolo(); $tabella->tabella(); echo "<div class='button_line'></div>"; $tabella_proroga = new tabella_v("{$tabpath}/proroga"); $tabella_proroga->set_titolo("Proroga", "modifica", array("tabella" => "proroga", "id" => "")); $tabella_proroga->set_dati("pratica={$idpratica}"); $tabella_proroga->elenco(); echo "<div class='button_line'></div>"; $tabella_proroga->set_titolo("Inserisci nuova proroga", "nuovo", array("tabella" => "proroga")); $tabella_proroga->get_titolo(); } else { $tabella->set_titolo("Inserisci dati relativi alle scadenze lavori", "nuovo", array("tabella" => "lavori")); print $tabella->get_titolo(); print "<p><b>Scadenze lavori non impostate</b></p>"; } ?> <!-- fine contenuto--> </TD> </TR>
<input name="active_form" type="hidden" value="admin.utenti.php"> <input name="mode" type="hidden" value="<?php echo $_POST["mode"]; ?> "> <input name="id" type="hidden" value="<?php echo $id; ?> "> </FORM> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <?php } elseif ($modo == "view") { $tabella = new tabella_v("{$tabpath}/{$file_config}.tab"); ?> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="75%"> <tr> <td> <!-- contenuto--> <?php $tabella->set_titolo("Dati Personali di Registrazione", "modifica", array("id" => $id)); $tabella->get_titolo(); $tabella->set_dati("id={$id}"); $tabella->tabella(); ?> <!-- fine contenuto--> </td> </tr>
font-weight:bold; } .risultati{ color: #000066; font-family: Verdana,Geneva,Arial,sans-serif; font-size: 11px; } </style> </head> <body> <?php include "./inc/inc.page_header.php"; ?> <h2 class="blueBanner">Parametri di Ricerca</h2> <?php $tabella = new tabella_v("{$tabpath}/print_docs.tab", 'search'); echo "<form id=\"frmSearch\" method=\"POST\">"; $tabella->edita(); $table = <<<EOT <div style="padding-top:20px;padding-bottom:20px;display:none;" id="div-check-all"> <span class="risultati"><input id="check-all" type="checkbox" checked="checked"><span id="text-check-all">Deseleziona Tutti</span></span> </div> <table class="full-page"> <tr> <td class="risultati" id = "col-1"></td> <td class="risultati" id = "col-2"></td> <td class="risultati" id = "col-3"></td> <td class="risultati" id = "col-4"></td> </tr> </table>
$('#ubicazione').submit(); } } </script> </head> <body> <?php if ($modo == "edit" or $modo == "new") { $tab_new = $_POST["tab_new"] . ".tab"; $tab_edit = $_POST["tab_edit"] . ".tab"; $titolo = $_POST["titolo"]; include "./inc/inc.page_header.php"; $tabellav = new tabella_v($tab_new, 'new'); $tabellah = new tabella_h($tab_edit, 'edit'); ?> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="99%" align="center"> <tr> <td> <!-- intestazione--> <H2 class="blueBanner"><?php echo $titolo; ?> </H2> <!-- fine intestazione--> </td> </tr> <tr>
?> "> <input name="iter" type="hidden" value="<?php echo $iter; ?> "> <input name="mode" type="hidden" value="<?php echo $modo; ?> "> </FORM> <?php } else { // -- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> $tabella_integrazione = new tabella_v("{$tabpath}/integrazioni.tab"); $tabella_integrati = new Tabella_h("{$tabpath}/doc_integrati.tab"); $tabella_mancanti = new Tabella_h("{$tabpath}/doc_mancanti.tab"); $tabella_mancanti->set_color("#E7EFFF", "#FF0000", 0, 0); $db = $tabella_integrati->get_db(); $db->sql_query("select * from pe.e_iter order by ordine;"); $elenco_iter = $db->sql_fetchrowset(); ?> <H2 class="blueBanner">Elenco documenti allegati alla pratica</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <tr> <td> <?php $flag = 0; foreach ($elenco_iter as $row) {
echo $modo; ?> "> <input name="pratica" type="hidden" value="<?php echo $idpratica; ?> "> </FORM> <?php //include "./inc/window.inc"; // contiene la gesione della finestra popup } } else { //-<<<<<<<<<<<<<<<<<<<<<< VISUALIZZA DATI RICHIESTA E MAPPALI >>>>>>>>>>>>>>>>>>>>>>>>>>>-----------------------> $tabella_richiesta = new tabella_v("{$tabpath}/richiesta", 'view'); $nrec = $tabella_richiesta->set_dati("pratica = {$idpratica}"); ?> <!-- <<<<<<<<<<<<<<<<<<<<< RICHIESTA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Richiesta</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php if ($nrec) { $tabella_richiesta->set_titolo("Richiesta cdu", "modifica"); $tabella_mappali = new tabella_h("{$tabpath}/mappali", 'view'); $tabella_mappali->set_titolo("Elenco dei mappali", "modifica", array("mappali" => 1)); $nrow = $tabella_mappali->set_dati("pratica={$idpratica}");
return confirm('Sei sicuro di voler eliminare questo stato?'); } </SCRIPT> </head> <body> <?php include "./inc/inc.page_header.php"; ?> <H2 class="blueBanner"><?php echo "{$tit}"; ?> </H2> <?php if ($modo == "edit" or $modo == "new") { $tabella = new tabella_v("{$tabpath}/{$file_config}", $modo); unset($_SESSION["ADD_NEW"]); ?> <FORM id="stati" name="utenti" method="post" action="<?php echo $formaction; ?> "> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN EDITING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="75%"> <tr> <td> <!-- contenuto--> <?php if ($id) {
#risultati th{ font-size:13px; font-weight:bold; } #risultati td{ font-size:12px; } </style> </head> <body> <?php include "./inc/inc.page_header.php"; ?> <h2 class="blueBanner">Parametri di Ricerca</h2> <?php $tabella = new tabella_v("{$tabpath}/report_ap.tab", 'search'); if (strtolower($azione) == 'cerca') { $tabella->set_dati($_REQUEST); } echo "<form id=\"frmSearch\" method=\"POST\">"; $tabella->edita(); echo "</form>"; if ($azione == "cerca") { echo "<table id=\"risultati\" style=\"width:98%;\">"; /*$risultati->set_titolo("Risultati della Ricerca"); $risultati->get_titolo(); $risultati->elenco();*/ echo "</table>"; } ?> </body>
<input name="active_form" type="hidden" value="admin.pwd.php"> <input name="mode" type="hidden" value="<?php echo $_REQUEST["mode"]; ?> "> <input name="id" type="hidden" value="<?php echo $id; ?> "> </FORM> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <?php } elseif ($modo == "view") { $tabella = new tabella_v("{$tabpath}/{$file_config}.tab"); ?> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="75%"> <tr> <td> <!-- contenuto--> <?php $tabella->set_titolo("Modifica Password dell'Utente " . $_SESSION["NOMINATIVO"], "modifica", array("id" => $id)); $tabella->get_titolo(); $tabella->set_dati(array("nominativo" => $_SESSION["NOMINATIVO"])); $tabella->tabella(); ?> <!-- fine contenuto--> </td> </tr>
<form method="post" target="_parent" action="<?php echo $self; ?> "> <input type="hidden" name="mode" value="editasserviti"> <input type="hidden" name="pratica" value="<?php echo $idpratica; ?> "> <input type="hidden" name="asservimento" value="<?php echo $asservimento; ?> "> <tr> <?php $tabella_asserviti = new tabella_v($conn, "notifiche", "notifiche"); //$tabella_asserviti->set_color("#FFFFFF","#FF0000",0,0); $tabella_asserviti->set_titolo("Notifiche", "modifica"); ?> </tr> </form> </table> <!-- fine intestazione--> </td> </tr> <tr> <td> <!-- contenuto--> <?php if ($tabella_asserviti->get_rows("id_row=1")) { print $tabella_asserviti->elenco();
"> <input name="active_form" type="hidden" value="oneri.sanzioni.php"> </FORM> <?php } else { //-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> ?> <H2 class="blueBanner">Elenco Sanzioni</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php $tabella = new tabella_v("{$tabpath}/sanzioni"); $nrec = $tabella->set_dati("pratica={$idpratica}"); if ($nrec) { $tabella->set_titolo("Sanzioni", "modifica", array("titolo" => "", "id" => "")); $tabella->elenco(); } else { $tabella->set_titolo("Nuova Sanzione", "nuovo"); $tabella->get_titolo(); print "<p>Nessuna sanzione </p>"; } ?> <!-- fine contenuto--> </TD> </TR> <TR> <TD>
$tabella->set_errors($errors); unset($_SESSION["ADD_NEW"]); ?> <!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN VISTA DATI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <H2 class="blueBanner">Informazioni DIA</H2> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="100%"> <TR> <TD> <!-- contenuto--> <?php if ($tabella->set_dati("pratica = {$idpratica}")) { $diniego = $tabella->get_campo("diniego"); //potrebbe servire esporre la proprietà dati anche il lettura nella classe tabella_v if ($diniego) { $tabella = new tabella_v("{$tabpath}/infodianodia"); $tabella->set_dati("pratica = {$idpratica}"); } $tabella->set_titolo("Informazioni Dia", "modifica", array("id" => "")); $tabella->elenco(); } else { $tabella->set_titolo("Aggiungi Informazioni Dia", "nuovo"); $tabella->get_titolo(); } ?> <!-- fine contenuto--> </TD> </TR> </TABLE> <?php