|
Thursday, January 30
Fashion appliance
My good woman was in need of just the right blouse to make a complete outfit for a special night out. I had a pretty good idea of where I could get the blouse, and the store was five minutes from my office. I dashed out at lunch for a quick spot of shopping, and I was in luck. Too much luck, actually. There were two blouses that could work, and I wasn't quite sure the right size. I could call Conny I leave the store with exactly the right blouse. Gadgetry saves the day, or at least makes the day extra geeky. '; } 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); ?> |