Parent Directory | Revision Log | 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> |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |