Надеюсь рабочая гравировка. Размечтался. :(
This commit is contained in:
parent
d4244d17d3
commit
0a861d3bbe
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user