|
Thursday, April 26
Breaking up is hard to do
So my friend tells me he's getting together one last time with his girl, to finally put a merciful end to a relationship lingering long in its death throes. I'm proud of him, because it's been clear for weeks, maybe even months, that it's not going any where. Being the supportive friend that I am, I shoot off an email to him, to ask how things went. He replies: Last night was weak. I said everything I needed to say, then we ended up in the sack. Fuck.So, more evidence that communication is good for sex. '; } 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); ?> |