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