|
Wednesday, June 27
Teasing Transitions
Conny's diary, Tease.de, is semi-offline while a DNS gets switched over. It'll be back soon. Right now, if you try to go there, you'll get redirected to a placeholder page, instead of the right place. Since normally tease.de just redirects to another domain and all the content is served dynamically from a database, direct bookmarks to actual content will still work (you'll notice the "happyhour.de" domain in one of those). It's just redirection to the main index page that's broken. Don't bother URL hacking, though. Conny hasn't really done any updates, so you might as well wait until all the nonsense is sorted out. '; } 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); ?> |