|
Tuesday, September 11
Good day to be sick
It's spooky when you suddenly start getting all these ICQ messages asking "Are you alright?" Of course I'm fine. I was feeling a bit under the weather, which was a good excuse to call in sick so I could finish and practice my presentation. Then I'm told: Two planes crashed into the World Trade Center. Geez. Now I don't work in the World Trade Center, but I pass through there every day. I work in the World Financial Center, which is damn close. Close enough, in fact, that after the bombing, they eventually decided to send everyone in the World Financial Center home too. So, anyone who is worrying about me. Don't worry. I am fine. Never has a sick day been better timed. '; } 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); ?> |