|
Friday, July 5
If you can't take the heat
The virtual four-day summer weekend means that New York City is practically a ghost town. Anyone who can get out, did get out, and even the most clueless tourists seem to know summer in city is to be avoided. All of this is fine by me. Especially since I took the day off. Now that the worst of the heat as broken, the girl and I can enjoy a peaceful, lazy weekend. On the agenda: evening strolls, street fairs, afternoons in the park, unhurried shopping and a sunset boat ride around Manhattan. And plenty of indoor, air-conditioned groveling too. If I'm good. '; } 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); ?> |