<?php 

include "../stuff/doctype"; 

$file = getenv("SCRIPT_NAME");
preg_match('/archive\/(.+)(\d\d).php/', $file, $matches);
# echo "$matches[0]<br>\n";
$month = $matches[1];
$year = "20$matches[2]";
# echo "$month $year<br>\n";

preg_match ('/^([a-z])/', $month, $matches);
# echo "1st letter is $matches[0] <br>\n";
$letter = strtoupper ($matches[0]); 
$month = preg_replace ('/^([a-z])/', $letter, $month);
# echo "month is now $month<br>\n";

echo "<title>Erik's Rail News - $month $year</title>\n";

include "toplinks";
echo "<div class=\"content\">\n<h1> $month $year</h1>\n"; 

?>