|
Friday, January 18
Catch up
Trying desperately to deal with the Nosuch backlog that's been piling up. Dusted off and rearranged the links, as you can see, something that was overdue. Soon there will be dedicated, more detailed links page, with only highlights shown in the side bar. I need to balance being thorough with being cluttered. There's a huge backlog of kink stories to share, just in case you are worried/happy about the paucity of >SM in these pages. And for those keeping score or placing wagers, the Nosuch Fitness Challenge, a.k.a. going to the gym regularly, is still proceeding along nicely. Of course, it's only been a week so far... '; } 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); ?> |