').'>'; $database = $spooldir . '/articles-overview.db3'; $articles_dbh = overview_db_open($database); $articles_query = $articles_dbh->prepare('SELECT * FROM overview WHERE msgid=:messageid'); $articles_query->execute([ 'messageid' => $id ]); $found = 0; while ($row = $articles_query->fetch()) { $id = $row['number']; $group = $row['newsgroup']; $found = 1; break; } $dbh = null; if ($found) { $findsection = get_section_by_group($row['newsgroup']); $newurl = '/' . $findsection . '/article.php?id=' . $id . '&group=' . $row['newsgroup'] . '#' . $id; header("Location: $newurl"); die(); } } } $thread_show["replies"] = true; $thread_show["lastdate"] = false; $thread_show["threadsize"] = false; if (isset($frames_on) && $frames_on === true) { ?> header->subject); header("Last-Modified: " . date("r", $message->header->date)); $title .= ' - ' . $group . ' - ' . $subject; } include "head.inc"; throttle_hits($client_device); // 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"); } echo '

'; echo '' . basename(getcwd()) . ' / '; echo '' . htmlspecialchars(group_display_name($group)) . ' / ' . $subject . '

'; echo ''; // Article List button echo ''; echo '
'; echo '
'; echo ''; echo ''; echo '
'; echo '
'; if (! $message) // article not found echo $text_error["article_not_found"]; else { if ($article_showthread) $thread = thread_cache_load($group); // echo "
"; message_show($group, $id, 0, $message); if ($article_showthread) message_thread($message->header->id, $group, $thread); } include "tail.inc"; ?>