template=template + '?'; var mywin=window.open('/gisclient21/' + template + "mapset=" + mapsetid + "&" + parameters, winName,"width=" + winWidth + ",height=" + winHeight + ",menubar=no,toolbar=no,scrollbar=auto,location=no,resizable=yes,top=0,left=0,status=yes"); mywin.focus(); } </script> </head> <body> <?php if ($modo == "edit" or $modo == "new") { //---<<<<<<<<<<<<<<<<<<<<<<<<<<<<< EDITA MAPPALI ASSERVITI >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>------------------------------> if ($_POST["mappali"]) { //print_r($_POST); $tabellav = new tabella_v("{$tabpath}/mappali", 'new'); $tabellah = new tabella_h("{$tabpath}/mappali", 'edit'); $tabellav->set_errors($errors); include "./inc/inc.page_header.php"; ?> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="99%" align="center"> <tr> <td> <!-- intestazione--> <H2 class="blueBanner">Modifica elenco mappali</H2> <!-- fine intestazione--> </td> </tr> <tr> <td> <!-- contenuto--> <form method=post name="mappali" action="cdu.richiesta.php"> <input type="hidden" name="idriga" id="idriga" value="0">
<!-- <<<<<<<<<<<<<<<<<<<<< MODALITA' FORM IN EDITING >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>---> <FORM id="protocollo" name="protocollo" method="post" action="praticaweb.php"> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="99%" align="center"> <tr> <td> <!-- intestazione--> <H2 class="blueBanner">Sanzione</H2> <!-- fine intestazione--> </td> </tr> <tr> <td> <!-- contenuto--> <?php if ($Errors) { $tabella->set_errors($Errors); $tabella->set_dati($_POST); } elseif ($modo == "edit") { $tabella->set_dati("id={$id}"); } $tabella->edita(); ?> <!-- fine contenuto--> </td> </tr> </TABLE> <table> <input name="mode" type="hidden" value="<?php echo $modo; ?>
unset($_SESSION["ADD_NEW"]); $tabella_asservimento = new tabella_v("{$tabpath}/atti", $modo); include "./inc/inc.page_header.php"; ?> <FORM method="post" action="praticaweb.php"> <TABLE cellPadding=0 cellspacing=0 border=0 class="stiletabella" width="95%" > <tr> <!-- intestazione--> <td><H2 class=blueBanner>Modifica Atto</H2></td> </tr> <tr> <td> <!-- contenuto--> <?php if ($Errors) { $tabella_asservimento->set_errors($Errors); $tabella_asservimento->set_dati($_POST); } elseif ($modo == "edit") { $tabella_asservimento->set_dati("id=" . $_REQUEST["id"]); } $tabella_asservimento->edita(); ?> <!-- fine contenuto--> </td> </tr> </TABLE> <input name="active_form" type="hidden" value="pe.atti.php"> <input name="mode" type="hidden" value="<?php echo $modo;