while ($row = $query->fetch()) {
$rowuser = new User("profile/{$row->author}");
printf('<li id="%d">', $row->id);
printf('<strong>%s</strong> <small class=date>%s</small>',
$rowuser->html, showdate(preg_split('/\D/', $row->created))
);
while ($row = $query->fetch()) {
$rowuser = new User("profile/{$row->author}");
printf('<li id="%d">', $row->id);
printf('<strong>%s</strong> <small class=date>%s</small>',
$rowuser->html, showdate(preg_split('/\D/', $row->created))
);