"; echo ""; echo "\n"; } else { echo " \n"; } } function pages($first, $last) { if (file_exists("Pages${first}-${last}.pdf")) { page("s${first}-${last}", ($last-$first)+1); } else { $exists = false; for ($i=$first; $i<=$last; $i++) { $exists |= file_exists("Page${i}.pdf"); } if ($exists) { for ($i=$first; $i<=$last; $i++) { page($i); } } else { return false; } } return true; } ?> North Star issue <?php echo basename(dirname(__FILE__)) ?>