|
Thursday, August 16
Got Bran?
Our cafeteria at work has a suggestion box, and once in awhile they post the suggestions/questions with answers. I thought I'd do something altrusitic for the people I work with this: I think you should offer more high-fiber meals and snacks. It's pretty clear to me that a lot of people around here could use more fiber in their diet. Nothing is more distracting in the bathroom than the sound of a colleague in the next stall doing an impersonation of an almost-empty ketchup bottle with their colon.I'm only being partly altruistic, though. I'm just looking to improve my morning reading break of the daily issue of Today's Papers. '; } 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); ?> |