Комиссионка. Наброски.

This commit is contained in:
lopar
2021-08-31 10:43:48 +03:00
parent 54f4c08678
commit 6f7223a242
4 changed files with 27 additions and 5 deletions
+4
View File
@@ -25,6 +25,10 @@ if (!empty($_POST['buyshop'])) {
ShopItem::buyItem($_POST['itemId'], User::$current);
}
if (!empty($_POST['buymarket'])) {
ShopItem::$status = 'попытка купить с рук предмет id: ' . $_POST['itemId'];
}
Template::header('Магазин');
?>
<link href='/css/shop.css' rel='stylesheet'>