authinfo($news["user"],$news["pass"]); if (!$result) error("nntpauth"); } if (isset($group) && isset($id) && isset($_REQUEST['type']) && ($_REQUEST['type']=='followup')) { $rq=$nntp->group($group); $post = new post($nntp,$id); if ($post) { $subject = (preg_match("/^re:/i",$post->headers->subject)?"":"Re: ") .$post->headers->subject; if ($profile['dropsig']) { $cutoff=strpos($post->body,"\n-- \n"); if ($cutoff) { $quotetext = substr($post->body,0,strpos($post->body,"\n-- \n")); } else { $quotetext = $post->body; } } else { $quotetext = $post->body; } $body = $post->headers->name." wrote :\n".wrap($quotetext, "> "); if (isset($post->headers->followup)) $target=$post->headers->followup; else $target=$post->headers->newsgroups; } } $nntp->quit(); ?>
" />
" />