diff --git a/index.php b/index.php index 5390f43..01877eb 100644 --- a/index.php +++ b/index.php @@ -58,8 +58,6 @@ $files = array_reverse($files); // Get Files for current Page $curfiles = array_slice($files, ($page-1)*$slice ,$slice, true); -print_r($curfiles); - // Prepare Generic Data for Template $data['dir'] = $dir; $data['slice'] = $slice; @@ -76,6 +74,7 @@ $data['last_page'] = ceil(count($files)/$slice); // Prepare Mode Specific Data and Render Template if ($slice > 1) { foreach ($curfiles as $index => $image) { + print_r($index."\n"); $tmp['n'] = $image; $tmp['i'] = $index+1; $tmp['t'] = $thumburl.$t->get_thumb($image);