title = "Issue #$id";
$Issue = $Db->query(
'SELECT * FROM issues WHERE page = ? AND id = ?', [$Page, $id]
)->fetch();
if (!$Issue) throw new Exception('Issuenummer niet gevonden');
$Article->title .= ': '.htmlspecialchars($Issue->subject);
print "
{$Article->title}
\n";
print "
\n";
print '
Geplaatst
';
printf('
%s
'."\n", showdate(preg_split('/\D/', $Issue->created)));
if ($Issue->author and $author = new User('profile/'.$Issue->author, FALSE)) {
printf('
%s
'."\n", $author->html);
}
if ($Issue->assign) {
print '
Toegewezen aan
';
printf('
%s
'."\n", htmlspecialchars($Issue->assign));
}
if ($Issue->closed) {
print '