Logo Search packages:      
Sourcecode: odontolinux version File versions  Download package

modificapianocurainserimento.php

<? require("testa.php");?>

<B><? echo gettext ("Tratment plan update");?></B>


<?php
                        //Settaggio data Formato Europeo 
                        pg_Exec($conn,"SET DATESTYLE TO 'European';");
                        $esito = pg_Exec($conn,
                        "SELECT * FROM pianocura WHERE idpc = '$pianocuraid'");
                        if (!$esito) {
                                      echo "Si &egrave; verificato un errore.\n";
                                      exit;
                                      } // Errore interrogazione database
                        $i = pg_getlastoid($esito);
?>


<FORM METHOD="post" ACTION="modificapianocurainsert.php">

<TABLE Border="0">
  <TR>
    <TD>
             <INPUT NAME="vocepianocura" TYPE="HIDDEN" VALUE="<?php echo pg_Result($esito, $i, "vocepianocura"); ?>">
    </TD>
  </TR>
  <TR>
    <TD>
            <INPUT NAME="idpianocura2" type="HIDDEN" VALUE="<?PHP echo $pianocuraid; ?>" SIZE="4">
    </TD>
  </TR>
  <TR>
    <TD>
             <? echo gettext ("Treatment:");?>&nbsp;<INPUT NAME="prestazione" SIZE="50" VALUE="<?php echo pg_Result($esito, $i, "prestazione"); ?>">
    </TD>
  </TR>
  <TR>
    <TD>
            <? echo gettext ("Tooth:");?>&nbsp;<INPUT NAME="posizione" VALUE="<?php echo pg_Result($esito, $i, "posizione"); ?>">
            &nbsp;<? echo gettext ("Q.:");?>&nbsp;<INPUT NAME="quantita" SIZE="2" VALUE="<?php echo pg_Result($esito, $i, "quantita"); ?>">
            &nbsp;<? echo gettext ("Charge/U:");?>&nbsp;<INPUT NAME="prezzounitario" SIZE="8"
            VALUE="<?php echo pg_Result($esito, $i, "prezzounitario"); ?>">
    </TD>
  </TR>
  <TR>
    <TD>
            <FONT FACE="Arial"><? echo gettext ("Notes:");?></FONT>
    </TD>
  </TR>
  <TR>
    <TD>
            <TEXTAREA NAME="annotazioni" ROWS=6 COLS=70><?php echo pg_Result($esito, $i, "annotazioni"); ?></TEXTAREA>
    </TD>
  </TR>
</TABLE>

<?
echo "<INPUT TYPE=\"submit\" VALUE=\"";
echo gettext ("Update");
echo "\">";
?>

<INPUT TYPE="reset" VALUE="Reset">
</FORM>

<?
   pg_FreeResult($esito);
?>


<? include("piede.php");?>

Generated by  Doxygen 1.6.0   Back to index