make Item abstract

This commit is contained in:
lopar
2019-01-11 21:16:39 +02:00
parent b6f9621c13
commit 6c7f997257
3 changed files with 7 additions and 7 deletions

View File

@@ -21,12 +21,12 @@ while ($row = $result->fetch_assoc()) {
}
echo "<table width='100%'><th colspan='2'>Товары магазина</th>";
foreach ($iteminfo as $iinfo) {
foreach ($iteminfo as $ii) {
echo "<tr><td bgcolor='#d3d3d3'>";
$iinfo->printItemImage();
$ii->printImage();
echo "</td>";
echo "<td bgcolor='#d3d3d3'>";
$iinfo->printItemStats();
$ii->printStats();
echo "</td></tr>";
}
echo "</table>";