ob_start();
#ob_start('ob_gzhandler');
#header("Vary: Accept-Encoding");
header("Cache-Control: public");
header("Last-Modified: " . gmdate("D, d M Y H:i:s T",filemtime("index.php")));
?>
Tuolumne Meadows Campground -- Loop C
\n",
htmlentities(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1)));
} else {
printf("Individual photographs of all Tuolumne Meadows campground sites. View your site before you reserve it.\">\n");
}
?>
Tuolumne Meadows Campsites -- Loop C
((int) substr($b,1,strpos($b,'.')-1)))
return 1;
else
return -1;
}
$handle = opendir('.');
while (false !== ($file = readdir($handle))) {
if (substr($file,0,1)=='c')
$sites[]=$file;
}
closedir($handle);
usort($sites,cmp);
printf("\n");
if (strlen($_SERVER['PATH_INFO'])<1)
printf("Click on a site to see a photo\n");
printf("\n");
$i=0;
$trflag=1;
foreach ($sites as $s) {
if (!$trflag) {
$trflag=1;
printf("
\n");
}
printf("C %d | \n",
substr($s,0,strpos($s,'.')),
((int) substr($s,1,strpos($s,'.')-1)));
$i+=1;
if (!($i%$cols)) {
printf("
\n");
$trflag=0;
}
}
for (;$i%$cols;$i++)
printf(" | \n");
if ($trflag)
printf("\n");
printf("
\n");
if (strlen($_SERVER['PATH_INFO'])>0) {
printf("");
printf('Tuolumne Meadows Campsite C-%s
',
htmlentities(substr($_SERVER['PATH_INFO'],2,strlen($_SERVER['PATH_INFO'])-2)));
printf("
\n",
urlencode(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1)),
urlencode(substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1)));
}
?>
[Back to Tuolumne Loop Selection]
[Yosemite Campsites]
[Yosemite News]
[Yosemite Photography]
[Share Photos]
[Yosemite Campground Reserations]