';
echo '
';
echo HTML::tag('a', [
'href' => HTML::url('/user/' . $poster['username']),
'class' => 'd-inline-block me-2',
], HTML::empty_tag('img', [
'src' => HTML::avatar_addr($poster, 64),
'class' => 'uoj-user-avatar rounded',
'style' => 'width: 3rem; height: 3rem;',
]));
echo '
';
echo '
';
echo '
', UOJUser::getLink($poster), '
';
echo '
';
echo '', ' ', $blog->getReplyCnt(), ' ';
echo '', ' ', $blog->getDisplayZanCnt(), ' ';
echo '
';
echo '
';
echo '
';
echo '
';
echo $blog->getLink();
if ($blog->info['is_hidden']) {
echo ' ', UOJLocale::get('hidden'), ' ';
}
echo '
';
echo '
', ' ', $blog->info['post_time'], '
';
echo '
';
if ($newest) {
echo '
最新评论: ', UOJUser::getLink($newest['poster']), '
';
echo '
', ' ', $newest['post_time'], '
';
} else {
echo '
暂无评论
';
}
echo '