-
Notifications
You must be signed in to change notification settings - Fork 0
/
testp-photo.html
30 lines (29 loc) · 1.65 KB
/
testp-photo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<h2>Просмотр загруженной фотографии.</h2>
<br />
<div class="vphoto">
<div class="linkb">
<a href="index.php?act=view&page=<?= $_GET['page'] ?>&from=viewphoto"><< НАЗАД</a>
</div>
<div id="photospace" style="width: auto; display: inline-block; padding: 0">
<img style="width: 70%; height: auto; cursor: pointer" id="photov" src="<?= $data[6] ?>" title="Нажмите для увеличения" onclick="window.open('<?= $data[6] ?>', '_blank', 'menubar=no, resizable=no, scrollbars=no, status=no, titlebar=no, toolbar=no')" />
</div>
<div class="desc">
Загружено: <?= $data[1] ?>.<br />
Загрузил: <a href="mailto: <?= $data[2] ?>"><?= $data[2] ?></a>.<br />
Телефон: <a href="callto: <?= $data[3] ?>"><?= $data[3] ?></a>.
</div>
<div id="viewer-img-form-del" style="background-color: #494949">
Ввести пароль и удалить картинку:
<input type="password" id="viewer-img-passw" placeholder="пароль" onkeydown="if (event.which == 13) delPicture();" />
<button onclick="delPicture()">Удалить</button>
</div>
<div id="viewer-img-form-report" style="background-color: #303030">
<!-- <button onclick="reportPicture('show')">Пожаловаться</button> -->
<a href="#" onclick="reportPicture('show')">Пожаловаться</a>
<!-- <button id="btnlikes" onclick="likePicture()">Мне нравится</button> -->
<a id="btnlikes" href="#" onclick="likePicture()">Мне нравится</a>
</div>
<div class="linkb">
<a href="index.php?act=view&page=<?= $_GET['page'] ?>&order=<?= $_GET['order'] ?>&from=viewphoto"><< НАЗАД</a>
</div>
</div>