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") { |
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 { |
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"; |