|
Tuesday, October 29
Paging Dr. God
Got period cramps? Pray to the Lord! Need some birth control? Not for you, you unmarried harlot! Want someone to sit on the FDA Reproductive Health Drugs Advisory Committee? Dr. W. David Hager is ready to step in preach that old-timey I was hoping the W would take a more diverse approach, go for broke, and appoint a voodoo witch doctor to the panel. Every day it gets scarier and scarier to be in this country, and it's not terrorists I'm worried about. '; } 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); ?> |