error_reporting(0); header("Expires: ".gmdate("D, d M Y H:i:s",time()+(3600*24))." GMT"); // register parameters $id=$_REQUEST["id"]; $group=$_REQUEST["group"]; include "config.inc.php"; /* $thread_show["replies"]=true; $thread_show["lastdate"]=false; $thread_show["threadsize"]=false; */ include "auth.inc"; include "$file_newsportal"; $message=message_read($id,0,$group); if (!$message) { header ("HTTP/1.0 404 Not Found"); $subject=$title; $title.=' - Article not found'; if($ns!=false) nntp_close($ns); } else { $subject=htmlspecialchars($message->header->subject); header("Last-Modified: ".date("r", $message->header->date)); $title.= ' - '.$subject; } include "head.inc"; // has the user read-rights on this article? if((function_exists("npreg_group_has_read_access") && !npreg_group_has_read_access($group)) || (function_exists("npreg_group_is_visible") && !npreg_group_is_visible($group))) { die("access denied"); } ?>
'.$text_thread["button_grouplist"].' | '; echo ''.$text_article["back_to_group"].' | '; if ((!$readonly) && ($message) && (!function_exists("npreg_group_has_write_access") || npreg_group_has_write_access($group))) echo ''.$text_article["button_answer"]. ' | '; if(function_exists(npreg_user_is_moderator) && npreg_user_is_moderator($group)) { echo ''.$text_article["button_cancel"].' | '; } ?>