нехватающие значения

This commit is contained in:
lopar 2019-01-11 23:48:21 +02:00
parent 72390b18fb
commit 6181e30766
2 changed files with 12 additions and 3 deletions

View File

@ -174,5 +174,16 @@ abstract class Item
if ($this->gdubina) echo "<br>Владение дробящим оружием" . $this->wrap($this->gdubina);
if ($this->gtopor) echo "<br>Владение рубящим оружием" . $this->wrap($this->gtopor);
if ($this->gmech) echo "<br>Владение режущим оружием" . $this->wrap($this->gmech);
if ($this->gfire) echo "<br>Владение магией огня" . $this->wrap($this->gfire);
if ($this->gwater) echo "<br>Владение магией воды" . $this->wrap($this->gwater);
if ($this->gair) echo "<br>Владение магией воздуха" . $this->wrap($this->gair);
if ($this->gearth) echo "<br>Владение магией земли" . $this->wrap($this->gearth);
if ($this->glight) echo "<br>Владение магией света" . $this->wrap($this->glight);
if ($this->ggray) echo "<br>Владение магией серости" . $this->wrap($this->ggray);
if ($this->gdark) echo "<br>Владение магией тьмы" . $this->wrap($this->gdark);
if ($this->bron1) echo "<br>Броня головы" . $this->wrap($this->bron1);
if ($this->bron2) echo "<br>Броня корпуса" . $this->wrap($this->bron2);
if ($this->bron3) echo "<br>Броня пояса" . $this->wrap($this->bron3);
if ($this->bron4) echo "<br>Броня ног" . $this->wrap($this->bron4);
}
}

View File

@ -17,9 +17,7 @@ class ShopItem extends Item
{
echo <<<BTN
<p><input type="button" style="background: darkgrey; border: 1px solid grey; border-radius: 2px;" value="Купить"
onclick="location='/admin.php'">
<input type="button" style="background: orangered; border: 1px solid crimson; color: white; border-radius: 2px;" value="Выбросить"
onclick="location='/forum.php'">
onclick="location='/admin.php'">
BTN;
}
}