Monday, August 23

Shuffle shuffle

My hosting situation is slowly returning to normal. Most of the affiliates are (sort of) back up in a form. I thought I had hammered out a bit of cleverness last night at 2AM that made everything keen. When I woke up this morning, I discovered some of the changes hadn't gone into effect when I tested them, and actually things were broken.

The latest versions of the affiliate blogs, with functional commenting systems, are available at humbaba.clanlord.net or journal.clanlord.net (the others are similiar). If you recall, those were the original URLs before I move to World Wide Media, who simply couldn't deliver on functional subdomains.

In the end, both URLs should work. I.e. journal.clanlord.net and www.clanlord.net/journal will point to the same place. Soon. Hopefully tonight.



Older entries

'; } 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); ?>