A collection of posts from various blogging tools, including Facebook and Twitter"; echo "

Updated periodically/ For a real-time version of events see @MarquisdeGeek

"; $doyear = 2014; } $str = "

"; for($year=2005;$year<=2014;++$year) { if ($year == $doyear) { $str .= '' . $year .''; } else { $str .= " $year "; } } $str .= "


"; echo $str; // Find suitable files $root = "blog/order/$doyear"; $content = ""; for($month=12;$month>=0;--$month) { for($day=31;$day>=0;--$day) { $fn = sprintf("%s/%02d/%02d", $root,$month,$day); $thisfile = @file_get_contents($fn); if ($thisfile) { $aname = date('j-F-Y', mktime(0, 0, 0, $month, $day, $doyear)); $content .= ''; $content .= '' . date('l jS \of F Y', mktime(0, 0, 0, $month, $day, $doyear)) . ''; $content .= ' permalink'; } } } echo $content; ?>