From 6181e307664a8bf1d2fc8f80501139599d1c64c4 Mon Sep 17 00:00:00 2001 From: lopar Date: Fri, 11 Jan 2019 23:48:21 +0200 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D1=85=D0=B2=D0=B0=D1=82=D0=B0?= =?UTF-8?q?=D1=8E=D1=89=D0=B8=D0=B5=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/Item.php | 11 +++++++++++ classes/ShopItem.php | 4 +--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/classes/Item.php b/classes/Item.php index 520649e..4f26ba8 100644 --- a/classes/Item.php +++ b/classes/Item.php @@ -174,5 +174,16 @@ abstract class Item if ($this->gdubina) echo "
Владение дробящим оружием" . $this->wrap($this->gdubina); if ($this->gtopor) echo "
Владение рубящим оружием" . $this->wrap($this->gtopor); if ($this->gmech) echo "
Владение режущим оружием" . $this->wrap($this->gmech); + if ($this->gfire) echo "
Владение магией огня" . $this->wrap($this->gfire); + if ($this->gwater) echo "
Владение магией воды" . $this->wrap($this->gwater); + if ($this->gair) echo "
Владение магией воздуха" . $this->wrap($this->gair); + if ($this->gearth) echo "
Владение магией земли" . $this->wrap($this->gearth); + if ($this->glight) echo "
Владение магией света" . $this->wrap($this->glight); + if ($this->ggray) echo "
Владение магией серости" . $this->wrap($this->ggray); + if ($this->gdark) echo "
Владение магией тьмы" . $this->wrap($this->gdark); + if ($this->bron1) echo "
Броня головы" . $this->wrap($this->bron1); + if ($this->bron2) echo "
Броня корпуса" . $this->wrap($this->bron2); + if ($this->bron3) echo "
Броня пояса" . $this->wrap($this->bron3); + if ($this->bron4) echo "
Броня ног" . $this->wrap($this->bron4); } } \ No newline at end of file diff --git a/classes/ShopItem.php b/classes/ShopItem.php index 3f17855..fe1fd50 100644 --- a/classes/ShopItem.php +++ b/classes/ShopItem.php @@ -17,9 +17,7 @@ class ShopItem extends Item { echo << - + onclick="location='/admin.php'"> BTN; } } \ No newline at end of file