//require('include/database.php'); require('inc_header.php'); global $g_theme_index; // TO DO- // perhaps add source like (aim/user) | (msn/name) | (irc/efnet/#lost/name) // maybe date after each (12-25-2003) / (then/aim/name) // two column since we got lots of space? // MAKE VIEWER STUPID ?>
$handle = dir('/localhome/l/langdonx/www.langdonx.com/v2/records/');
$a_strRecords = array();
while ($file = $handle->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 ' \n"; $strLastYear = $strYear; $strLastMonth = $strMonth; } ?> |