|
Friday, November 14
Broom to grow
Time to shake the dust off, and there sure is a lot. The links to the right are now fresh and tasty. Added a few, fixed a few, removed the dead ones. I'd tell you which ones, but then that would take the fun and adventure out of it, wouldn't it? This blog is now officially no longer fair and balanced. As much as I like Al Franken, it's time to put that to rest. Instead, we'd just like to make a passing mention of the fine urinals to be found at Lester B. Pearson International Airport, even though some people don't want you to know about them. Oh, and I've updated my Global Terms of Use: One of these days, one of these idiots has to bite. '; } 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); ?> |