<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title><?php print $number; ?> - <?php print $group; ?> - news.earlsoft.co.uk</title>
</head>
<body>
<?php
require "common.inc";
$head = $nntp->getarticlehead($group, $number);
if (!$head) {
print "article not found";
} else {
$head = $common->parseheader($head);
print " Subject: ".htmlspecialchars($head['subject'])."<br>\n";
$email = $common->parseemail($head['from']); $email = $email[0];
print " From: <a href=\"mailto:".urlencode($email['address'])."\">".htmlspecialchars($email['name'])."</a><br>\n";
print " <pre>".htmlspecialchars($nntp->getarticlebody($group, $number))."</pre>";
}
?>
</body>
</html>
|