header("Expires: ".gmdate("D, d M Y H:i:s",time()+7200)." GMT"); // register parameters $group=$_REQUEST["group"]; if(isset($_REQUEST["first"])) $first=intval($_REQUEST["first"]); if(isset($_REQUEST["last"])) $last=intval($_REQUEST["last"]); include "config.inc.php"; include "auth.inc"; $title.= ' - '.$group; $rssmeta=''; include "head.inc"; $ns=@fsockopen($server,$port); $weg=str_replace("\n","",str_replace("\r","",fgets($ns,1200))); fputs($ns,"XGTITLE $group\r\n"); $response=str_replace("\n","",str_replace("\r","",fgets($ns,1200))); if (strcmp(substr($response,0,3),"282") == 0) { $neu=str_replace("\n","",str_replace("\r","",fgets($ns,1200))); do { $response=$neu; if ($neu != ".") $neu=str_replace("\n","",str_replace("\r","",fgets($ns,1200))); } while ($neu != "."); $desc=strrchr($response,"\t"); if (strcmp($response,".") == 0) { $desc="-"; } } else { $desc=$response; } if (strcmp(substr($response,0,3),"500") == 0) $desc="-"; fclose($ns); $ns=false; ?>
'; thread_show($headers,$group,$first,$last); echo 'Subscribe to this forum via RSS ·'."\n"; echo 'Subscribe to'."\n"; echo "this forum via Usenet
"; ?> include "tail.inc"; ?>