napisalem taki kod, ale on nie dziala jak nalezy, znaczy sie miniaturka aktualnie wyswietlana nie zmienia swoich "barw":
<td valign="top"><div style="margin-top: 90px;"> <p style="text-align: center"> <? if($dir) { if($img=='' or $img=='.' or $img=='..') { } else if($img=='$fotka') { print"<a href=\"kolekcja.php?fotka=$img\"><img style=\"margin-top: 3px; margin-left: 2px; border-color: White;\" border=\"1\" src=\"gfx/kolekcja/kolorowe/$img\" width=\"26\" height=\"40\"></a>"; } else { print"<a href=\"kolekcja.php?fotka=$img\"><img style=\"margin-top: 3px; margin-left: 2px; border-color: White;\" border=\"1\" src=\"gfx/kolekcja/czarne/$img\" width=\"26\" height=\"40\"></a>"; } } } ?> </p> </div></td> <td valign="top"> <p style="text-align: right"> <? ?></p></td>
Pozdrawiam
edit: wywaliłem problem ;-)