Надеюсь рабочая гравировка. Размечтался. :(

This commit is contained in:
Igor Barkov [iwork] 2018-12-12 19:19:25 +02:00
parent d4244d17d3
commit 0a861d3bbe

View File

@ -370,14 +370,14 @@ if (input::post('goto') == 'gravirovka') {
<?php if (empty($row['text'])): ?>
<form method="post" id="gravirovka">
<input maxlength="32" placeholder="Текст гравировки" name="gravirovka_text">
<img src="i/sh/<?= $row['img'] ?>"><br>
<br><img src="i/sh/<?= $row['img'] ?>"><br>
<input type="hidden" name="itemId" value="<?= $row['id'] ?>">
<input type="submit" value="Добавить надпись">
</form>
<?php else: ?>
<form method="post" id="gravirovka">
<input value="<?= $row['text'] ?>" readonly title>
<img src="i/sh/<?= $row['img'] ?>"><br>
<br><img src="i/sh/<?= $row['img'] ?>"><br>
<input type="hidden" name="gravirovka_remove" value="<?= $row['id'] ?>">
<input type="submit" value="Удалить надпись">
</form>