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

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

revision 1.5 by dpavlin, Tue May 9 11:10:01 2000 UTC revision 1.6 by dpavlin, Fri Jun 2 06:05:08 2000 UTC
# Line 142  Line 142 
142                  </tr>                  </tr>
143                  ";                  ";
144    
145          function print_bool($val) {          include("inc/print_bool.inc");
                 if ($val == 't') {  
                         print "da";  
                 } elseif ($val == 'f') {  
                         print "ne";  
                 } else {  
                         print "nepoznato";  
                 }  
         }  
146    
147          for ($k = 0; $k < pg_numrows($result); $k++) {          for ($k = 0; $k < pg_numrows($result); $k++) {
148                  $row=pg_fetch_array($result,$k);                  $row=pg_fetch_array($result,$k);
# Line 177  Line 169 
169    
170    
171                  if (isset($shell)) {                  if (isset($shell)) {
172                          print "<br>shell: ";                          print "<br>shell: ".print_bool($row[shell]);
                         print_bool($row[shell]);  
173                  }                  }
174                  if (isset($podesavanje)) {                  if (isset($podesavanje)) {
175                          print "<br>podešavanje: ";                          print "<br>podešavanje: ".print_bool($row[podesavanje]);
                         print_bool($row[podesavanje]);  
176                  }                  }
177                  if (isset($umrezavanje)) {                  if (isset($umrezavanje)) {
178                          print "<br>umrežavanje: ";                          print "<br>umrežavanje: ".print_bool($row[umrezavanje]);
                         print_bool($row[umrezavanje]);  
179                  }                  }
180                  print "</small></td></tr>";                  print "</small>";
181                    print "</td><td>
182                            <a href=\"obavijest.php?id=$row[id]\">
183                            <img src=pix/text.gif border=0
184                            alt=\"Prikaži sve podatke o ovom zahtjevu\"></a>
185                            ";
186                    print "</td></tr>";
187          }          }
188    
189    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26