\n", htmlentities(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1))); } else { printf("Individual photographs of all Yosemite National Park North Pines campground sites. View your site before you reserve it.\">\n"); } ?>

North Pines Campsite0) { printf(' Site %s', htmlentities(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1))); } else echo 's';?>

\n"); printf("\n"); printf(" \n"); $i=0; $trflag=1; foreach ($sites as $s) { if (!$trflag) { $trflag=1; printf("\n"); } printf("\n", substr($s,0,strpos($s,'.')), ((int) substr($s,0,strpos($s,'.')))); $i+=1; if (!($i%$cols)) { printf("\n"); $trflag=0; } } if ($i>$cols) { for (;$i%$cols;$i++) printf("\n"); } if ($trflag) printf("\n"); printf("
0) { ?>

\n", urlencode(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1)), substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1)); printf("
©2006 All Rights Reserved\n"); } else { printf(""); } printf("

"); $cols=17; function cmp($a,$b) { if ($a == $b) return 0; if (((int) substr($a,0,strpos($a,'.'))) > ((int) substr($b,0,strpos($b,'.')))) return 1; else return -1; } $handle = opendir('.'); while (false !== ($file = readdir($handle))) { if (ctype_digit(substr($file,0,1))) $sites[]=$file; } closedir($handle); usort($sites,'cmp'); ?>Click here to ask Yosemite 5) echo 'camping ';?>questions

\n"); if (strlen($_SERVER['PATH_INFO'])<1) printf("

Click on a site number to see a photo
",$cols); ?>
\n"); if (strlen($_SERVER['PATH_INFO'])>0) printf("Back to campground map\n"); printf("Camping without a reservation\n"); #printf("\n"); ?>

[Yosemite Campsites]     [Yosemite National Park News]     [Yosemite Photography]     [Share Photos]     [Discuss Yosemite Camping]     [Yosemite Campground Reservations]