/[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.8 by dpavlin, Thu Jun 8 10:50:18 2000 UTC revision 1.9 by dpavlin, Tue Jun 27 11:41:31 2000 UTC
# Line 145  Line 145 
145                  <th>organizacijska jedinica</th>                  <th>organizacijska jedinica</th>
146                  <th>status zahtjeva</th>                  <th>status zahtjeva</th>
147                  <th>kontakt osoba</th>                  <th>kontakt osoba</th>
148                    <td><small>",pg_numrows($result),"</small></td>
149                  </tr>                  </tr>
150                  ";                  ";
151    
152          include("inc/print_bool.inc");          include("inc/print_bool.inc");
153    
154    
155          for ($k = 0; $k < pg_numrows($result); $k++) {          for ($k = 0; $k < pg_numrows($result); $k++) {
156                  $row=pg_fetch_array($result,$k);                  $row=pg_fetch_array($result,$k);
157                  if ($k % 2 != 0) {                  if ($k % 2 != 0) {
# Line 166  Line 168 
168                  print "</td><td>$row[ime] $row[prezime]</td>                  print "</td><td>$row[ime] $row[prezime]</td>
169                          <td>$row[orgjed]</td><td>";                          <td>$row[orgjed]</td><td>";
170                                                    
171                  $result1 = pg_Exec ($conn, "select datum,opis from status,status_tip where status.status_tip_id=status_tip.id and osoba_id=$row[id]");                  $result1 = pg_Exec ($conn, "select datum,opis from status,status_tip where status.status_tip_id=status_tip.id and osoba_id=$row[id] order by datum");
172                  for ($l = 0; $l < pg_numrows($result1); $l++) {                  for ($l = 0; $l < pg_numrows($result1); $l++) {
173                          $row1=pg_fetch_array($result1,$l);                          $row1=pg_fetch_array($result1,$l);
174                          print "<small>$row1[datum]</small> $row1[opis]<br>";                          print "<small>$row1[datum]</small> $row1[opis]<br>";

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

  ViewVC Help
Powered by ViewVC 1.1.26