Отказ от абсолютных ссылок https://new-combats.com/* к относительным /*. Замена https://img.new-combats.com на //img.new-combats.tech.

This commit is contained in:
2023-03-31 21:30:14 +03:00
parent 1b5bf26294
commit 01b504e677
346 changed files with 3507 additions and 4221 deletions

View File

@@ -227,7 +227,7 @@ if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' && isset($_POST['id'])
mysql_query('SELECT * FROM `items_main` WHERE `id` = "' . $pl['item_id'] . '" LIMIT 1')
);
if (isset($itm['id'])) {
$itms .= '<a href=\\"#\\" onClick=\\"takeItem(' . $pl['id'] . '); return false;\\"><img style=\\"margin:3px;\\" src=\\"https://img.new-combats.com/i/items/' . $itm['img'] . '\\" title=\\"Подобрать &quot;' . $itm['name'] . '&quot;\\" \></a>';
$itms .= '<a href=\\"#\\" onClick=\\"takeItem(' . $pl['id'] . '); return false;\\"><img style=\\"margin:3px;\\" src=\\"//img.new-combats.tech/i/items/' . $itm['img'] . '\\" title=\\"Подобрать &quot;' . $itm['name'] . '&quot;\\" \></a>';
$fmd5 .= $pl['id'] . '=';
}
}