This commit is contained in:
Igor Barkov [iwork] 2019-01-11 18:49:49 +02:00
parent 0336ef47fa
commit 6370010e7f

View File

@ -20,13 +20,13 @@ while ($row = $result->fetch_assoc()) {
$iteminfo[] = new ItemClass($row);
}
echo "<table><tr>";
echo "<table width='100%'><th colspan='2'>Товары магазина</th>";
foreach ($iteminfo as $iinfo) {
echo "<td>";
echo "<tr><td>";
$iinfo->printItemImage();
echo "</td>";
echo "<td>";
$iinfo->printItemStats();
echo "<td>";
echo "</td></tr>";
}
echo "</tr></table>";
echo "</table>";