Удаление неиспользуемого кода. Тесты.

This commit is contained in:
lopar
2018-01-29 20:21:55 +02:00
parent af712c037e
commit cec43f9e79
2 changed files with 10 additions and 212 deletions
+5 -9
View File
@@ -1,11 +1,7 @@
<?php
include 'config.php';
$items = db::c()->query('SELECT `id`, `name`, `img`, `duration`, `maxdur`,
`ghp`, `gsila`, `glovk`, `ginta`, `gintel`,
`bron1`, `bron2`, `bron3`, `bron4`,
type, prototype, otdel
FROM inventory WHERE owner = 10736 AND dressed = 1')->fetch_assoc();
while ($items) {
$items['id'] = $items;
}
print_r($items);
include 'functions.php';
showinf_pers(10736,1);
showinf_pers(10736);