refactor and errors

This commit is contained in:
2023-11-05 04:46:07 +02:00
parent def933dca4
commit 3e753c8b93
125 changed files with 1353 additions and 1435 deletions
-7
View File
@@ -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>