Remove notices

This commit is contained in:
Igor Barkov [iwork] 2018-10-31 19:33:28 +02:00
parent 9bc2a99b94
commit c104c339b6

View File

@ -539,7 +539,7 @@ if (isset($_GET['topic']) && is_numeric($_GET['topic']) && $_GET['topic'] == 228
<?php
if ($dostupPal == true && $news_topic == false) {
if ($dostupPal == true && $news_topic == false AND isset($_GET['conf']) AND isset($_GET['page'])) {
echo " <a href='?topic=" . $_GET['topic'] . "&konftop=" . htmlspecialchars($_GET['conf']) . "&page=" . $_GET['page'] . "&dp=" . $row['id'] . "'><img src='i/clear.gif'></a>";
echo " <a onclick='var obj; if (obj = prompt(\"Введите комментарий\",\"\")) { window.location=\"forum.php?topic=" . $_GET['topic'] . "&konftop=" . htmlspecialchars($_GET['conf']) . "&page=" . $_GET['page'] . "&cpr=\"+obj+\"&com=" . $row['id'] . "\"; }' href='#'><img src=\"http://capitalcity.old-dark.rui/forum/icon4.gif\" title=\"Комментарий\" /></a>";
}