$strConnectServerError - " . $server . "
\n"; html_foot(); html_tail(); exit; } if( $artconv['back'] ) { nnrp_post_begin( $nhd, $artconv['back']($nickname), $email, $artconv['back']($subject), $postgroup, $artconv['back']($organization), $refid, $auth_email, $_POST['charset'] ); nnrp_post_write( $nhd, $article_convert['back']($content) ); } else { nnrp_post_begin( $nhd, $nickname, $email, $subject, $postgroup, $organization, $refid, $auth_email, $_POST['charset'] ); nnrp_post_write( $nhd, $content ); } nnrp_post_finish( $nhd ); nnrp_close($nhd); html_head( "$postgroup - $subject" ); $time = strftime($CFG['time_format']); $subject = htmlspecialchars( $subject ); echo << $strArticlePosted
$strAuthor: $nickname ($email)
$strTime: $time
$strSubject: $subject
$strGroup: $postgroup

EOT; echo '
' . htmlspecialchars($content, ENT_NOQUOTES ) . "
\n"; echo "
\n"; html_delay_close( 2000 ); html_tail(); } elseif( $artnum != '' ) { $server = $_GET['server']; $group = $_GET['group']; if( verifying( $server, $group ) == -1 ) session_error( $server, $group ); $nhd = nnrp_open( $server ); if( ! ( $nhd && nnrp_authenticate( $nhd ) ) ) { html_head('ERROR'); echo "

$strConnectServerError - " . $server . "
\n"; html_foot(); html_tail(); exit; } list( $code, $count, $lowmark, $highmark ) = nnrp_group( $nhd, $group ); $artinfo = nnrp_head( $nhd, $artnum, $news_charset[$curr_catalog] ); if( !$artinfo ) kill_myself(); $artconv = get_conversion( $artinfo['charset'], $curr_charset ); if( $artconv['to'] ) { $from = $artconv['to']( $artinfo['name'] ); $email = $artconv['to']( $artinfo['mail'] ); $subject = $artconv['to']( $artinfo['subject'] ); $org = $artconv['to']( $artinfo['org'] ); } else { $from = $artinfo['name']; $email = $artinfo['mail']; $subject = $artinfo['subject']; $org = $artinfo['org']; } $date = $artinfo['date']; $msgid = $artinfo['msgid']; # if( !preg_match( '/^Re: /i', $subject ) ) # $subject = 'Re: ' . $subject ; html_head( "$group - $subject" ); ?> \n"; echo "

\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
$strName:
$strEmail:
$strGroup:
$strSubject:
\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo ""; echo "$strContent:"; echo " \n"; echo "
"; echo "\n"; echo "
\n"; echo "\n"; html_focus( 'post', 'content' ); html_tail(); } ?>