© Skibaan Dousberg Seizoen 2017-2018
Contactgegevens:
Dousbergweg 90
6216 GC Maastricht
Tel: 043-3470356
info@skibaan-dousberg.nl
\r\n"; } else { $images = 0; $current_col = 0; $count = $rows * $columns; $last = $count + $first; echo "\r\n"; $dir = opendir($images_folder); while ($filename = readdir($dir)) { $ext = pathinfo($filename, PATHINFO_EXTENSION); if ($ext == 'gif' || $ext == 'jpeg' || $ext == 'jpg' || $ext == 'png') { if ($images >= $first && $images < $last) { if ($current_col == 0) { echo "\r\n"; } list($width, $height) = getimagesize($images_folder.$filename); $link = ""; $image_ratio = $width/$height; if ($image_ratio > 1) { $thumbnail_width = $thumbnail_size; $thumbnail_height = $thumbnail_size / $image_ratio; } else { $thumbnail_width = $thumbnail_size * $image_ratio; $thumbnail_height = $thumbnail_size; } echo "\r\n"; $current_col++; if ($current_col == $columns) { $current_col = 0; echo "\r\n"; } } $images++; } } if ($first >= $count) { $previous = ""; } $previous .= "Previous"; if ($first >= $count) { $previous .= ""; } if ($last < $images) { $next = ""; } $next .= "Next"; if ($last < $images) { $next .= ""; } echo "\r\n"; echo "
$link\"\"
$previous | Home | $next
\r\n"; } ?>