putting to shop to class
This commit is contained in:
parent
4e91d62fea
commit
6f5c630b95
@ -249,7 +249,7 @@ switch ($shopCategoryTypeNumber) {
|
|||||||
foreach ($iteminfo as $ii) {
|
foreach ($iteminfo as $ii) {
|
||||||
echo "<tr><td style='width: 150px; text-align: center;'>";
|
echo "<tr><td style='width: 150px; text-align: center;'>";
|
||||||
$ii->printImage(); ?>
|
$ii->printImage(); ?>
|
||||||
<br><button onclick="sale(1, '<?= $iteminfo->name ?>', '<?= $iteminfo->name ?>', '<?= $iteminfo->cost ?>')">Cдать в магазин</button>
|
<br><button onclick="sale(1, '<?= $iteminfo['name'] ?>', '<?= $iteminfo['id'] ?>', '<?= $iteminfo['cost'] ?>')">Cдать в магазин</button>
|
||||||
<?php
|
<?php
|
||||||
echo "</td>";
|
echo "</td>";
|
||||||
echo "<td style='vertical-align: top;'>";
|
echo "<td style='vertical-align: top;'>";
|
||||||
|
Loading…
Reference in New Issue
Block a user