|
Thursday, November 1
And the winner is...
We came in 8th place, and won a gift certificate to Macy's for $100. So that pretty much means we get to go and buy one sock each. Assuming no one picks a really fancy sock, that is. And no pairs, either. $100 for 8 people is a tight budget. Actually, we're going to raffle off the gift certificate in the group. My first suggestion, of selling the gift certificate on eBay for $90 to help defray the costs of the costumes, got shot down. Any one want to buy a slightly used ape costume? Ape costumes are a lot like tuxedos. Sure, you could rent one, but isn't it just better to own one? And once you have one, you'll find yourself at more occasions where you need to wear it. Honest. '; } 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); ?> |