diff --git a/Admin/Templates/server_info.tpl b/Admin/Templates/server_info.tpl index 32f9a62d..9d7e7262 100644 --- a/Admin/Templates/server_info.tpl +++ b/Admin/Templates/server_info.tpl @@ -67,6 +67,7 @@ $ue = q1("SELECT ".implode(',',$cells)." FROM ".TB_PREFIX."enforcement"); .unit{display:flex;align-items:center;justify-content:space-between;padding:3px 0;font-size:11px;border-bottom:1px dotted #f5f5f5} .unit img{width:16px;height:16px;margin-right:4px} .unit .cnt{font-weight:bold} +.unit svg{width:16px;height:16px;margin-right:4px;vertical-align:-3px} @media(max-width:900px){.sinfo-grid{grid-template-columns:1fr}.troops-grid{grid-template-columns:repeat(2,1fr)}} @@ -125,8 +126,8 @@ $ue = q1("SELECT ".implode(',',$cells)." FROM ".TB_PREFIX."enforcement"); if(!$has) echo "
No troops
"; echo ""; } - $heroTotal = (int)($uv['hero'] ?? 0) + (int)($ue['hero'] ?? 0); - echo "

Heroes

Hero".formatNum($heroTotal)."
"; + $heroTotal = (int)($uv['hero'] ?? 0) + (int)($ue['hero'] ?? 0); + echo "

Heroes

Hero".formatNum($heroTotal)."
"; ?>