=$count || !is_Numeric($imgId)) { $imgId=0; } $imgName=$dir["$imgId"]; $first=0; $last=$count-1; if($imgId<$count-1) { $next=$imgId+1; } else { $next=$count-1; } if ($imgId>0) { $prev=$imgId-1; } else { $prev=0; } ?>
">
pierwszy poprzedni kolejny ostatni