/[informatika.old]/html/obavijest.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/obavijest.php

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

revision 1.8 by dpavlin, Thu Jun 8 11:03:40 2000 UTC revision 1.9 by dpavlin, Tue Jun 27 11:43:01 2000 UTC
# Line 146  $statusi Line 146  $statusi
146                  where id >= 5                  where id >= 5
147                  ");                  ");
148    
149    //              where id >= 5 and (2^id && $prava)
150          for ($i=0; $i<pg_numrows($result); $i++) {          for ($i=0; $i<pg_numrows($result); $i++) {
151                  $row=pg_fetch_array($result,$i);                  $row=pg_fetch_array($result,$i);
152                  print "<option value=$row[id]>$row[opis]</option>\n";                  if ($prava & pow(2,$row[id])) {
153                            print "<option value=$row[id]>$row[opis]</option>\n";
154                    }
155          }          }
156    
157  print "</select></td>  print "</select></td>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.26