|
Tuesday, May 27
Ow, my eyes
At first, I wondered if we had left the bedroom drapes open. Then I was concerned I had overslept. I mean, it was just so bright in the room. I'm not the most alert person in the morning, especially on a workday morning when I have to haul my ass out of bed at 7AM, give or take a few snooze button smacks. So it wasn't until I was getting ready to walk out the door that it finally occured to me. That's the sun making things so bright outside. I think it's been over a week since I saw the sun. And from the looks of the forecasts, it'll probably be another week until I see it again. And summer is only a month away. Who could tell? '; } 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); ?> |