';
foreach ($rows as $id => $name) {
if (!isset($cfg["{$id}_hidden"])) {
switch ($id) {
case 'submitter':
$submitter = UOJUser::query($this->info['submitter']);
$user_profile_url = HTML::url('/user/' . $this->info['submitter']);
echo '
';
echo HTML::tag('a', [
'href' => $user_profile_url,
'class' => 'd-inline-block me-2',
], HTML::empty_tag('img', [
'src' => HTML::avatar_addr($submitter, 64),
'class' => 'uoj-user-avatar rounded',
'style' => 'width: 2rem; height: 2rem;',
]));
echo UOJUser::getLink($submitter);
echo '
';
break;
default:
echo '
';
echo '', $name, '';
echo '', $this->echoStatusBarTD($id, $cfg), '';
echo '
';
break;
}
}
}
echo '