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

Lower 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"); } if (substr($s,0,3)=='dbl') printf("\n", substr($s,0,strpos($s,'.')), substr($s,0,strpos($s,'.'))); else 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) { // printf('

Lower Pines Campsite %s

', // htmlentities(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1))); printf("\"Lower\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("
"); switch (mt_rand(0,4)) { case 0: default: echo <<
eof; break; case 3: echo << eof; break; } echo '

'; $cols=16; 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))||substr($file,0,3)=='dbl') $sites[]=$file; } closedir($handle); usort($sites,'cmp'); ?> Click here to ask questions about camping in Yosemite

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

Click on a site number to see a photo
",$cols); ?>
%s%d
 
\n"); printf("Camping without a reservation\n"); #printf("\n"); ?>

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