Removed ahero_shop.php, rep_shop.php (duplicate presents shop).

Unused repshop.php, dshop.php.
This commit is contained in:
Igor Barkov [iwork]
2019-02-12 16:00:13 +02:00
parent d3127f3498
commit 59066d7329
5 changed files with 11 additions and 795 deletions
+8
View File
@@ -13,6 +13,14 @@ if ($user['battle'] != 0) {
die();
}
/*
* aheroshop.php
* $data = db::c()->query('SELECT * FROM `ahero_shop` WHERE `count` > 0 AND `razdel` = ?i ORDER by `point` ASC', $_GET['otdel']);
* db::c()->query('UPDATE `shop` SET `count` = `count`- ?i WHERE `id` = ?i', $_POST['count'], $set);
* db::c()->query('UPDATE `users` set `doblest` = `doblest` - ?i * ?i WHERE id = ?i', $_POST['count'], $dress['point'], $user['id']);
* */
$saleItems = false;
$shopCategoryType = empty($_POST['sale']) ?: $_POST['sale'];
$shopCategoryTypeNumber = empty($_GET['otdel']) ?: $_GET['otdel'];