main inventory shown as class, not function 2
This commit is contained in:
parent
98af3bfc14
commit
5d82e3f750
4
main.php
4
main.php
@ -2236,11 +2236,11 @@ if (input::get('edit')) {
|
|||||||
while ($row = $data->fetch_assoc()) $iteminfo[] = new InventoryItem($row);
|
while ($row = $data->fetch_assoc()) $iteminfo[] = new InventoryItem($row);
|
||||||
|
|
||||||
foreach ($iteminfo as $ii) {
|
foreach ($iteminfo as $ii) {
|
||||||
echo "<tr><td bgcolor='#d3d3d3'>";
|
echo "<tr><td width='100' align='center' bgcolor='#d3d3d3'>";
|
||||||
$ii->printImage();
|
$ii->printImage();
|
||||||
$ii->printControls();
|
$ii->printControls();
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "<td bgcolor='#d3d3d3'>";
|
echo "<td valign='top' bgcolor='#d3d3d3'>";
|
||||||
$ii->printInfo();
|
$ii->printInfo();
|
||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user