|
Monday, December 31
Happy New Calender
Now I'm confused. I thought for sure that New Year's Eve would be a day earlier in Germany, since Christmas is. These people just can't make up their minds. Not that it's a big deal. I don't think much of New Year's Eve. It's a holiday only an accountant or statistician could love. Reminds me of a party I went to where we decided to celebrate "Happy New Minute" each time the digital clock flipped. It makes as much sense, just a different scale. The one good thing about the holiday is time to spend with family and friends and all that mushy stuff. Oh, and the drinking too. Nothing wrong with that. '; } else { if(stristr($filename,"archive")) { $dir=$_SERVER['DOCUMENT_ROOT']; $template='_01_archive.html'; $tail=strlen($template); $thisArchive=$filename; //$files=scandir($dir); $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } sort($files); $earlyarch=""; $laterarch=""; $prevarch=""; $next=0; foreach($files as $file) { if (substr($file,-$tail)==$template) { if ($next==1) { $laterarch=$file; $earlyarch=$prevarch; $next=0; } if ($file==$thisArchive) { $next=1; } else { $prevarch=$file; $earlyarch=$prevarch; } } } $link=''; $divider=''; if(file_exists($earlyarch)) { $link='< Earlier Archive'; $divider=" | "; } if(file_exists($laterarch)) { $link=$link.$divider.'Later Archive >'; } $link=$link.' '; } } echo($link); ?> |