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

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

revision 1.4.2.1 by dpavlin, Sun Jul 30 18:22:14 2000 UTC revision 1.4.2.2 by dpavlin, Mon Jul 31 10:41:57 2000 UTC
# Line 70  while ($arr=$sth->fetchrow_array()) { Line 70  while ($arr=$sth->fetchrow_array()) {
70                  print "<tr bgcolor=#000000><td colspan=6><font size=+1 color=#ffffff>$lokacija</font></td></tr>";                  print "<tr bgcolor=#000000><td colspan=6><font size=+1 color=#ffffff>$lokacija</font></td></tr>";
71          }          }
72    
73          print "<tr".bgcolor()."><td>$rbr</td><td><a href=\"http://support.pliva.hr/obavijest.php?id=$arr[0]\">$arr[0]</a></td><td>$arr[1] $arr[2]</td><td>tel: $arr[3]</td><td><small>$arr[4]</small></td><td>$arr[5]<br>$arr[6]</td></tr>\n";          print "<tr".bgcolor()."><td>$rbr</td><td><a href=\"obavijest.php?id=$arr[0]\">$arr[0]</a></td><td>$arr[1] $arr[2]</td><td>tel: $arr[3]</td><td><small>$arr[4]</small></td><td>$arr[5]<br>$arr[6]</td></tr>\n";
74    
75    
76          if ($arr[12] == "f") {          if ($arr[12] == "f") {
# Line 80  while ($arr=$sth->fetchrow_array()) { Line 80  while ($arr=$sth->fetchrow_array()) {
80                          select count(status_tip_id) as nr_of_status8 from status                          select count(status_tip_id) as nr_of_status8 from status
81                          where osoba_id = $arr[0] and status_tip_id=8");                          where osoba_id = $arr[0] and status_tip_id=8");
82                  $sth2->execute();                  $sth2->execute();
83                  $row2=$sth2->fetchrow_array()                  $row2=$sth2->fetchrow_hash();
84                  if ($row2["nr_of_status8"] > 0) {                  if ($row2["nr_of_status8"] > 0) {
85                          $mreza='<i>umrežavanje obavljeno</i>';                          $mreza='<i>umrežavanje obavljeno</i>';
86                  } else {                  } else {
# Line 92  while ($arr=$sth->fetchrow_array()) { Line 92  while ($arr=$sth->fetchrow_array()) {
92                  select count(status_tip_id) as nr_of_status6 from status                  select count(status_tip_id) as nr_of_status6 from status
93                  where osoba_id = $arr[0] and status_tip_id=6");                  where osoba_id = $arr[0] and status_tip_id=6");
94          $sth3->execute();          $sth3->execute();
95          $row3=$sth3->fetchrow_array()          $row3=$sth3->fetchrow_hash();
96          if ($row3["nr_of_status6"] > 0) {          if ($row3["nr_of_status6"] > 0) {
97                  $podeseno=show_bool("t");                  $podeseno=show_bool("t");
98          } else {          } else {
99                  $podeseno="<a href=\"http://support.pliva.hr/obavijest.php?id=$arr[0]\">".show_bool("f")."</a>";                  $podeseno="<a href=\"obavijest.php?id=$arr[0]\">".show_bool("f")."</a>";
100          }          }
101    
102  #       print "<tr><td colspan=6>$arr[12] | ".$row2["nr_of_status8"]." | ".$row3["nr_of_status6"]."</td></tr>\n";  #       print "<tr><td colspan=6>$arr[12] | ".$row2["nr_of_status8"]." | ".$row3["nr_of_status6"]."</td></tr>\n";

Legend:
Removed from v.1.4.2.1  
changed lines
  Added in v.1.4.2.2

  ViewVC Help
Powered by ViewVC 1.1.26