|
Thursday, July 25
Hopefully the tourists are next
Every morning and every night I walk through a passageway built along side the World Trade Center site to allow people to get from Church Street to the World Financial Center. It's not a very wide passageway, and sometimes, it can get a bit congested. It doesn't help things when people bring alligators in there either. This morning, at last, a sign to make things a little easier for those of us on our way to work. At least we won't have that problem anymore. (Yes, that sign was really there, and no, I have no idea what it means.) '; } 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); ?> |