Удаление неиспользуемого кода. Тесты.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user