Records:

read()) { if (($file != '.') && ($file != '..') && ($file != 'images')) { array_unshift($a_strRecords, $file); } } foreach($a_strRecords as $file) { $a_strTemp = split('-', substr($file, 0, strpos($file, '_'))); $strYear = $a_strTemp[0]; $strMonth = $a_strTemp[1]; $strDay = $a_strTemp[2]; $strTitle = substr($file, strpos($file, '_'), strlen($file) - strpos($file, '_') - 4); if (($strLastYear == '') || ($strLastYear != $strYear) || ($strLastMonth != $strMonth)) { if ($strLastYear != '') print '
'; print ''; print date('F', strtotime("1980-$strMonth-01")) . " $strYear"; print "\n"; } print '
  • ' . ucwords(str_replace('_', ' ', $strTitle)) . "
    \n"; $strLastYear = $strYear; $strLastMonth = $strMonth; } ?>