From 1a8aab2eaa9ab7d7eb11ef294d7899a0c40b7383 Mon Sep 17 00:00:00 2001 From: lopar Date: Sat, 4 Jul 2020 23:47:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D1=82=D0=B0=D1=80=D1=82=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BE=D1=81=D0=B0=20showinf=5Fpers();=20?= =?UTF-8?q?=D0=B2=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=20(=D0=BD=D0=B0=D0=BA?= =?UTF-8?q?=D0=BE=D0=BD=D0=B5=D1=86!=5F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/User.php | 7 ++----- inf.php | 5 ++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/classes/User.php b/classes/User.php index 60b7469..c711524 100644 --- a/classes/User.php +++ b/classes/User.php @@ -59,7 +59,7 @@ class User while ($row = $dressed_items->fetch_assoc()) { $dressed_item[$row['dressed_slot']] = $row; } - + include_once '/views/user-info-doll.php'; echo <<login}
Сила {$this->strength}
@@ -71,10 +71,7 @@ class User Находится в {$this->getRoomName($this->room)}
Предметы на тушке:
USERINFO; - $this->showItem($dressed_item[1]); - $this->showItem($dressed_item[2]); - $this->showItem($dressed_item[3]); - $this->showItem($dressed_item[4]); + // if (isset($dressed_item[1])) { // $this->showItem($dressed_item[1]); // } diff --git a/inf.php b/inf.php index 4eb7c7e..f480993 100644 --- a/inf.php +++ b/inf.php @@ -53,9 +53,8 @@ if (empty($user->id)): ?> showUserInfo();} catch (Exception $e) {echo "
Ошибка классового генератора персонажа showUserInfo(): {$e}
";} if (!empty($user->married)): ?>