Отказ от абсолютных ссылок 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

@@ -302,15 +302,15 @@ if ($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest') {
}
$r = '';
if ($pl['uid'] == $u->info['id']) {
$r .= '<img width="13" height="13" onClick="cancelitm(' . $pl['id'] . ');" class="clr" src="https://img.new-combats.com/i/clear.gif" />';
$r .= '<img width="13" height="13" onClick="cancelitm(' . $pl['id'] . ');" class="clr" src="//img.new-combats.tech/i/clear.gif" />';
}
$r .= '<a href="items_info.php?id=' . $pl['item_id'] . '&rnd=' . $code . '" target="_blank">' . $pl['name'] . '' . $x . '</a><br>';
if ($pl['inTransfer'] == 1) {
$r .= '<img width="16" height="18" title="Этот предмет будет подарен" src="https://img.new-combats.com/i/podarok.gif" />';
$r .= '<img width="16" height="18" title="Этот предмет будет подарен" src="//img.new-combats.tech/i/podarok.gif" />';
} else {
$r .= '<small style="font-size:10px">(налог: 1кр.)</small>';
}
$r = '<table width="100%" border="0" cellspacing="0" cellpadding="5"><tr><td width="50" align="center"><img src="https://img.new-combats.com/i/items/' . $pl['img'] . '" class="tfii"/></td><td valign="top" class="tfid">' . $r . '</td></tr></table>';
$r = '<table width="100%" border="0" cellspacing="0" cellpadding="5"><tr><td width="50" align="center"><img src="//img.new-combats.tech/i/items/' . $pl['img'] . '" class="tfii"/></td><td valign="top" class="tfid">' . $r . '</td></tr></table>';
$r = '<div class="tfitm' . $cl . '">' . $r . '</div>';
unset($x);
return $r;