refactor and errors
This commit is contained in:
@@ -28,9 +28,7 @@ class InfoBox
|
||||
{
|
||||
global $code;
|
||||
|
||||
$st = false;
|
||||
$rt = [];
|
||||
$type_info = 1;
|
||||
if ($uid != $this->info['id']) {
|
||||
$u = User::getInfo($uid);
|
||||
|
||||
@@ -65,10 +63,6 @@ class InfoBox
|
||||
|
||||
if (isset($u['id'], $u['stats'])) {
|
||||
$rt = [0 => '', 1 => []];
|
||||
$st = [];
|
||||
$st['id'] = $u['id'];
|
||||
$st['login'] = $u['login'];
|
||||
$st['lvl'] = $u['level'];
|
||||
|
||||
//Характеристики от предметов и их изображение
|
||||
$witm = [];
|
||||
@@ -332,7 +326,6 @@ class InfoBox
|
||||
|
||||
$oi = '';
|
||||
if ($i1 != 1) {
|
||||
$jf = 'main';
|
||||
$oi = 'onMouseOver="top.hi(this,\'' . $u['login'] . ' (Перейти в "Инвентарь")\',event,3,1,1,1,\'\');" onMouseOut="top.hic();" onMouseDown="top.hic();"';
|
||||
$msl = '<table width="120" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user