|
Tuesday, September 3
Super size that
We braved the crappy weekend weather to meet a German couple who have lived in New York City for almost a year. Visiting them were two German couples, one of whom has been here several times, and the other for their first time. My best German skills were inferior to the worst English skills of others present. This is always pretty humbling, but gracious and entertaining company made this a non-issue. The first time visitors even shared this slight misunderstanding which had occured earlier during their visit: WAITRESS: What can I get for you, sir? FIRST TIME VISITOR TO USA: I would like the steak, please. WAITRESS: How would you like that, medium? VISITOR: No, large, please. '; } 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); ?> |