Mam kod:
<?php
if ($_GET['galeria'] == 'pokaz')
{
print '<center><b>Twoja Galeria Zdjęć</b></center><br>'; $data_sesion = $_SESSION["user"];
$od = openDir('miniaturki/'.$data_sesion.'/'); if(!$od) return false;
$ilosc = -2;
$ilosc++;
}
echo "<center><b><font size='2'>( W swojej galerii masz aktualnie <font color='red'>$ilosc</font> zdjęć )</font></b></center><br><br>"; $t=1 ;
if ($handle = opendir('miniaturki/'.$data_sesion.'/')) {
if ($handle2 = opendir('profil/'.$data_sesion.'/')) {
while (false !== ($file = readdir($handle))) {
while (false !== ($file2 = readdir($handle2))) {
if ($file != "." && $file != ".." && $file != "index.html")
{
echo "<a href='profil/$data_sesion/$file2/'><img src='miniaturki/$data_sesion/$file' width=150 height=100></a>"; if ($t % 3
== 0
) echo '<br /><br />'; $t++;
}
}
}
}
}
}
?>
Nie zwraca zadnego błędu ale obrazki sie nie pokazują, nie wiem co jest grane prosze pomoc.