|
Monday, November 27
It is indeed a time for thankfulness. When I got home, a message was on my answering machine from the good people at TekServe:
"Hi, Mr.Shaffer, I'm calling to let you know that your computer is ready for you to pick up. We got the data back, and the total cost to you will be $140." A cheap, cheap lesson in the virtue of backups for this camper. Rael the Squonk sent me a note saying not to be so quick to blame Navigator for my woes. Apparently he's been wrestling with Dreamweaver on his computer, and a similiar incident happened to him after Dreamweaver went beserk. Luckily for him, Norton Disk Doctor got his folders back. I've had Norton pull a cuisinart on a hard disk once, so I wasn't about to chance it. All in all, I am feeling quite relieved. '; } 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); ?> |