change appearance to new one
This commit is contained in:
parent
c8d297e7bb
commit
35b9215f16
18
shop.php
18
shop.php
@ -483,24 +483,6 @@ while ($row = $shopItems->fetch_assoc()) {
|
|||||||
echo "</td></tr>";
|
echo "</td></tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = db::c()->query('SELECT `id`, `img`, `name` FROM `shop` WHERE `count` > 0 AND `razdel` = ?i ORDER by `nlevel` ASC, `id` ASC', $shopCategoryTypeNumber);
|
|
||||||
while ($row = $data->fetch_assoc()) {
|
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<td align=center style='width: 150px;'>
|
|
||||||
<img src="i/sh/<?= $row['img'] ?>" border=0>
|
|
||||||
<br>
|
|
||||||
<a href="shop.php?buy=<?= $row['id'] ?>&rnd=<?= mt_rand() ?>">купить</a>
|
|
||||||
<IMG SRC="i/up.gif" WIDTH=11 HEIGHT=11 BORDER=0 ALT="Купить несколько штук"
|
|
||||||
style="cursor:hand"
|
|
||||||
onclick="addCountItems('<?= $row['id'] ?>', '<?= $row['name'] ?>')">
|
|
||||||
</td>
|
|
||||||
<td valign=top>
|
|
||||||
<?= /*show_shop_items($row['id']) */?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user