This commit is contained in:
lopar 2018-12-28 00:25:22 +02:00
parent fe26aeaab3
commit 1da362e19d

View File

@ -921,7 +921,7 @@ function showinf_pers($id, $battle = 0, $me = 0) //FIXME 37 запросов! Т
$user = db::c()->query('SELECT * FROM `users` WHERE `id` = ?i', $id)->fetch_assoc(); $user = db::c()->query('SELECT * FROM `users` WHERE `id` = ?i', $id)->fetch_assoc();
private function item($image,$bg_color = '#AAA',$border_color = '#EEE') function item($image,$bg_color = '#AAA',$border_color = '#EEE')
{ {
return '<img src="' . $image . '" style="width: 48px; height: 48px; border-radius: 5px; border: 1px solid rgba(0, 0, 0, 0.25); return '<img src="' . $image . '" style="width: 48px; height: 48px; border-radius: 5px; border: 1px solid rgba(0, 0, 0, 0.25);
padding: 7px; display: inline-block; background-repeat: no-repeat; padding: 7px; display: inline-block; background-repeat: no-repeat;