|
Tuesday, November 26
Digital Stroke
My T-Mobile Sidekick is something I've come to depend on. It's my kind of gizmo. Having Google in my pocket is pretty handy. The one drawback to a really useful gizmo is the agony of being deprived of it, like when it breaks. And such a device is most likely to break when:
I have no idea what happened to the Sidekick. The display just decided to stop working. And no, I didn't drop it, nor did it fall in the toilet. '; } 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); ?> |