tests
This commit is contained in:
parent
0336ef47fa
commit
6370010e7f
8
test.php
8
test.php
@ -20,13 +20,13 @@ while ($row = $result->fetch_assoc()) {
|
|||||||
$iteminfo[] = new ItemClass($row);
|
$iteminfo[] = new ItemClass($row);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<table><tr>";
|
echo "<table width='100%'><th colspan='2'>Товары магазина</th>";
|
||||||
foreach ($iteminfo as $iinfo) {
|
foreach ($iteminfo as $iinfo) {
|
||||||
echo "<td>";
|
echo "<tr><td>";
|
||||||
$iinfo->printItemImage();
|
$iinfo->printItemImage();
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
$iinfo->printItemStats();
|
$iinfo->printItemStats();
|
||||||
echo "<td>";
|
echo "</td></tr>";
|
||||||
}
|
}
|
||||||
echo "</tr></table>";
|
echo "</table>";
|
Loading…
Reference in New Issue
Block a user