...
This commit is contained in:
parent
4654acad3b
commit
72b4b73405
@ -66,7 +66,7 @@ SQL;
|
||||
$dressed_item[$row['dressed_slot']] = $row;
|
||||
$this->dressedItem[$row['dressed_slot']] = $row;
|
||||
}
|
||||
//return $this->dressedItem;
|
||||
return $this->dressedItem;
|
||||
}
|
||||
|
||||
protected function getBonuses()
|
||||
|
@ -75,7 +75,7 @@ class User
|
||||
//https://jsfiddle.net/ngx0yvhc
|
||||
$di = new DressedItems($this->id);
|
||||
$dressedItems = $di->getItemsInSlots();
|
||||
echo var_dump($dressedItems);
|
||||
echo print_r($dressedItems);
|
||||
for ($i = 1; $i <= 12; $i++) {
|
||||
echo sprintf('<div class="slot-%s">', $i);
|
||||
if (isset($di->$dressedItems[$i])) {
|
||||
|
Loading…
Reference in New Issue
Block a user