|
Tuesday, September 10
Moving forward
The wedding is this Saturday. Just four short days away. Tomorrow will be my last day in the office until after the wedding, since I'm taking Thursday and Friday off. Strangely, everything is pretty much set for the wedding. It's been remarkably stress-free and easy, probably thanks to the fine woman I'm going to marry more than anything. I'm looking forward to it, trying to savor each moment (especially the pending bachelor party.) I think Conny Maybe I can find a wedding bib. '; } 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); ?> |