$Article->title .= ': '.htmlspecialchars($row->subject);
print "<h2>{$Article->title}</h2>\n";
print $row->body;
+ printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
+ 'Geplaatst',
+ $row->author ? " door <strong>{$row->author}</strong>" : '',
+ showdate(preg_split('/\D/', $row->created))
+ );
if ($row->closed) {
- printf('<p><strong>%s</strong> <small class=date>%s</small></p>'."\n",
- 'Opgelost', showdate(preg_split('/\D/', $row->closed))
+ printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
+ 'Opgelost', '',
+ showdate(preg_split('/\D/', $row->closed))
);
}
$Args = "/$id"; # minimal reference
$_POST = [];
}
-$query = $Db->query('SELECT * FROM issues ORDER BY created DESC');
+$query = $Db->query('SELECT * FROM issues ORDER BY updated DESC');
ob_start();
print '<ul>';
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
- showdate(array_slice(preg_split('/\D/', $row->created), 0, 3))
+ showdate(array_slice(preg_split('/\D/', $row->updated), 0, 3))
);
print "</li>\n";
}