This commit is contained in:
lopar 2018-12-28 00:26:21 +02:00
parent 1da362e19d
commit 94df52d8b2

View File

@ -924,7 +924,7 @@ function showinf_pers($id, $battle = 0, $me = 0) //FIXME 37 запросов! Т
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);
padding: 7px; display: inline-block; background-repeat: no-repeat;
padding: 7px; display: inline-block; background-repeat: no-repeat; margin: 1px;
background-color: ' . $bg_color . '; background-image: radial-gradient(circle, ' . $border_color . ', ' . $bg_color . ');">';
}