putting to shop to class

This commit is contained in:
Igor Barkov [iwork]
2019-02-15 16:11:58 +02:00
parent c1cad30a9e
commit 6ac1056b53
3 changed files with 43 additions and 45 deletions
+3 -3
View File
@@ -47,13 +47,13 @@ class ShopItem extends Item
$btnValue = "Продать";
$btnLink = "/shop.php?sell={$this->id}&rnd=" . mt_rand();
break;
case 'marketback':
$btnValue = "Снять товар с продажи";
case 'marketgetback':
$btnValue = "Снять с продажи";
$btnLink = "?back={$this->id}&rnd=" . mt_rand();
break;
case 'marketshowmore':
$btnValue = "Развернуть";
$btnLink = "?max={$this->name}&rnd=" . mt_rand();
$btnLink = "?otdel={$this->otdel}&set={$this->id}&rnd=" . mt_rand();
break;
}