|
Tuesday, August 14
Recovery
Sleep, perchance to... sleep. This past packed weekend and my own packed nights upon return are really taking the steam out of me. Combine that with busy, long days at work, and you've got one burnt out Mr. Nosuch. I really need to do justice to the weekend too, but looking at my notes overwhelms me right now. One thing that loomed large during the fine presentations at TES30 was my own upcoming presentation for >T.E.S. in a mere four weeks. Time to get cracking on that. But first, a short eight hour nap. '; } 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); ?> |