File: modificastoricoinserimento.php

package info (click to toggle)
odontolinux 0.6.1-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,128 kB
  • ctags: 566
  • sloc: php: 4,137; sh: 262; makefile: 46
file content (43 lines) | stat: -rw-r--r-- 1,432 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<? require("testa.php");?>

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


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

?>


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

<TABLE Border="0">
 <TR>
  <TD><? echo gettext ("Ledger ID:");?>&nbsp;
  <INPUT NAME="idstorico2" VALUE="<?PHP echo $storicoid; ?>" SIZE="4">
  &nbsp;<? echo gettext ("Date:");?>&nbsp;
  <INPUT NAME="data" SIZE="10" VALUE="<?php echo pg_Result($esito, $i, "data"); ?>"></TD>
 </tr><tr>
  <TD><? echo gettext ("Treatment:");?>&nbsp;
  <INPUT NAME="prestazione" VALUE="<?php echo pg_Result($esito, $i, "prestazione"); ?>" SIZE="18">
  &nbsp;<? echo gettext ("Provider:");?>&nbsp;
  <INPUT NAME="operatore" SIZE="5" VALUE="<?php echo pg_Result($esito, $i, "operatore"); ?>"></TD>
 </TR>
</TABLE>
<INPUT TYPE="submit" VALUE="Modifica">
<INPUT TYPE="reset" VALUE="Cancella tutto">
</FORM>

<?
   pg_FreeResult($esito);
?>

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