старое отображение предметов для гравировки удалено.

This commit is contained in:
Igor Barkov [iwork] 2018-12-12 17:04:35 +02:00
parent b276451812
commit b1dacfbf69

View File

@ -156,34 +156,6 @@ if (input::post('goto') == 'gravirovka') {
<TABLE width=100% bgcolor="#A5A5A5">
<TABLE WIDTH=100% BGCOLOR="#A5A5A5">
<?php
if (input::post('goto') == 'gravirovka') {
$data = db::c()->query('SELECT * FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `type` = 3 AND `name` NOT LIKE "?S" AND `setsale`=0 ORDER by `update` DESC', $_SESSION['uid'], '%Букет%');
while ($row = $data->fetch_assoc()) {
$row['count'] = 1;
if ($i == 0) {
$i = 1;
$color = '#C7C7C7';
} else {
$i = 0;
$color = '#D5D5D5';
}
echo "<TR bgcolor={$color}><TD align=center ><IMG SRC=\"i/sh/{$row['img']}\" BORDER=0>";
?>
<BR>
<small>
<? if (empty($row['text'])) { ?><A HREF="#"
onclick="AddCount(<?= $row['id'] ?>)">
Нанести надпись за 30 кр.</A><BR><? } else {
?><A HREF="?razdel=1&rep=<?= $row['id'] ?>&sid=2">Стереть надпись</A><BR><?
} ?>
</small>
</TD>
<?php
echo "<TD valign=top>";
showitem($row);
echo "</TD></TR>";
}
}
if (input::post('goto') == 'magic') {
if ($_GET['it']) {