This commit is contained in:
lopar 2018-12-27 21:30:53 +02:00
parent d7c95ccb76
commit 40c0998505

View File

@ -937,15 +937,14 @@ function showinf_pers($id, $battle = 0, $me = 0) //FIXME 37 запросов! Т
<td style="width: 100%; vertical-align: top;">
HTML;
} else {
$r .= '<center>';
$r .= '<div style="text-align: center">';
if (!empty($user['align'])) $r .= "<img src='/i/align_{$user['align']}.gif' > ";
$r .= "<span style='padding: 1px 5px 0; border-radius: 9px; background: silver; font-size: 12px; vertical-align: middle;'>{$user['level']}</span> ";
$r .= "<b>$user[login]</b> ";
if (!empty($user['klan'])) $r .= "<img src='/i/klan/" . ClanImage($user['klan']) . ".gif' > ";
if ($user['block']) $r .= '<br><span class="private">Персонаж заблокирован</span>';
$r .= '</div><center>';
$r .= "<table cellspacing=0 cellpadding=0><tr><td colspan=3 width=100%>";
$r .= setHP2($user['hp'], $user['maxhp']);