|
Wednesday, November 21
Those who can't?
Go drinking with Jeff, and what happens? Next thing I wake up with a bad hangover and I find myself on the >T.E.S. calender again, doing another class. I need to stop hanging out with these T.E.S. people... Alright, I was sober when I agreed to it. This time I'll be doing a talk on "Submission with Dignity." Now, all I need is to get some dignity. I have until March 26th to do it. Maybe I can get Conny to hypnotize me into thinking the class is March 19th, so this time I can be ready without pulling an all-nighter. Anyone have a cure for chronic procrastination? I've been meaning to deal with my procrastination problem, but I never get around to it. '; } 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); ?> |