|
Monday, February 17
Dangerous white powder
And the snow just keeps coming, and coming, and coming... Sources close to the White House say that the extreme amount of snowfall crippling the northeast United States is probably not a terrorist attack, but they are still investigating. It is a bit odd that on President's Day we'd get all this snow. Seems suspicious to me. At least our dog is having fun. He lives to poop on snow. Hell, I'd probably enjoy doing that myself if it wouldn't get me arrested. '; } 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); ?> |