/[informatika.old]/html/osoba.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /html/osoba.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by dpavlin, Tue Apr 24 13:57:19 2001 UTC revision 1.11 by dpavlin, Fri Dec 21 10:58:19 2001 UTC
# Line 73  Line 73 
73  #               $what="insert-osoba";  #               $what="insert-osoba";
74    
75          } elseif ($what == "insert-osoba" && check_required()) {          } elseif ($what == "insert-osoba" && check_required()) {
76               $result=pg_Exec($conn,"select id,ime,prezime from osobe where sifra='$sifra'");               $result=pg_Exec($conn,"select id,ime,prezime from osobe where sifra='$sifra' and aktivna=true");
77               if (pg_numrows($result) > 0 && $zap_plive=="t") {               if (pg_numrows($result) > 0 && $zap_plive=="t") {
78                          $row=pg_fetch_array($result,0);                          $row=pg_fetch_array($result,0);
79                          $warn.="<p><big>Vaš podatak nije unešen zbog duple šifre radnika!</big>                          $warn.="<p><big>Vaš podatak nije unešen zbog duple šifre radnika!</big>

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.26