See More

"; echo "

There are {$img_count} images

"; foreach($show as $img) { $img_path="/files/".basename($img); echo "\"\"\n"; } echo("


"); if(isset($_GET["page"])){ if($_GET['page'] > 1){ $prev_link = '

previous

'; echo($prev_link); } if($_GET['page'] < $max_pages){ $next_link = '

next

'; echo($next_link); } } else{ //deal with the very first page $next_link = '

next

'; echo($next_link); } ?>