<?php
$chl = scandir(".");	
$c = count($chl);
?>

<html>
<head>
<title>phancy.com - California Historical Landmarks</title>
</head>
<body bgcolor=ffffff text=000000 link=006699 alink=000000 vlink=cc0033>
<font face=verdana, helvetica, arial size=2>
<table width=100%><tr>
<td width=50% valign=top align=left><font face=verdana, helvetica, arial size=2>back to the <a href="../">main list</a><br>
back to <a href="http://phancy.com">phancy.com</a><br>
<br></td>
<td width=50% valign=top align=right><font face=verdana, helvetica, arial size=2>handy external links:<br>
<a href="http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=115379915525218378417.000434f3033ceecf68297&z=10&om=1">Google Maps</a> | <a href="http://ohp.parks.ca.gov/?page_id=21522">OHP Site</a><br>
<br></td>
</tr></table>
<center>
<font size=3><b>SANTA CLARA COUNTY</b><font size=2><br>
<?php echo ($c - 3)." of 43"; ?>
<br>
<br>
<br>
<br>
<table width=800>

<?php
for ( $i = 2; $i < $c-1; $i++ ) 
{
	$f = file_get_contents($chl[$i]);
	$s = explode ("[+]", $f);
	echo "<tr><td width=100 valign=top><font face=verdana, helvetica, arial size=2><center><b>".substr($chl[$i],0,-4)."</b></center></td>";
	echo "<td width=150 valign=top><font face=verdana, helvetica, arial size=1><center><a href=\"".$s[5]."\"><img width=100 height=75 border=0 src=\"".$s[4]."\"><br>link to plaque</a></center></td>";
	echo "<td width=500 valign=top><font face=verdana, helvetica, arial size=2><b>".$s[0]."</b><br><br>";
	echo "Photoset: <a href=\"".$s[6]."\">Flickr Set</a> | Map: <a href=\"".$s[7]."\">Google Map</a><br><br>";	
	echo $s[1]."<br><br>";
	echo $s[2]."<br><br>";
	echo "Note: ".$s[3]."<br><br>";
	echo "Additional info: <a href=\"".$s[9]."\">".$s[8]."</a><br><br><br><br></td></tr>";
}
?>

</table>
</center>
</body>
</html>
