Отказ от абсолютных ссылок 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
+44 -44
View File
@@ -254,8 +254,8 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<td>
<table width="100%" height="135" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="https://new-combats.com/forum_script/img/line_capitalcity.jpg" scope="col"
align=center><img style="display:block" src="https://new-combats.com/inx/newlogo2.jpg"
<td background="/forum_script/img/line_capitalcity.jpg" scope="col"
align=center><img style="display:block" src="/inx/newlogo2.jpg"
width="924" height="135" border=0></td>
</tr>
</table>
@@ -274,19 +274,19 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
document.write('<table cellspacing=0 cellpadding=0 bgcolor=#f2e5b1 border=0 width=' + (wsize - 20) + '>');
</SCRIPT>
<tr valign=top>
<td width="29" rowspan=2 background="https://new-combats.com/forum_script/img/leftground.jpg">
<img src="https://img.new-combats.com/i/encicl/pictlr_<?= $rz[$rt[$itm['type']]][0] ?>.jpg" width="29"
<td width="29" rowspan=2 background="/forum_script/img/leftground.jpg">
<img src="//img.new-combats.tech/i/encicl/pictlr_<?= $rz[$rt[$itm['type']]][0] ?>.jpg" width="29"
height="256">
</td>
<td width="118" align="left">
<img id="imleft" src="https://img.new-combats.com/i/encicl/pictl_<?= $rz[$rt[$itm['type']]][0] ?>.jpg"
<img id="imleft" src="//img.new-combats.tech/i/encicl/pictl_<?= $rz[$rt[$itm['type']]][0] ?>.jpg"
width="118" height="257"><BR>
</td>
<td rowspan=2 align="left">
<p><b>»</b> <a href="https://new-combats.com/item/">Предметы</a> / <?= $rz[$rt[$itm['type']]][1] ?> /
<p><b>»</b> <a href="/item/">Предметы</a> / <?= $rz[$rt[$itm['type']]][1] ?> /
<b><i><?= $itm['name'] ?></i></b>
<h2><?= $itm['name'] ?></h2>
<img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1">
<img src="//img.new-combats.tech/i/encicl/ln3.jpg" width="400" height="1">
</p>
<?php if (file_exists(
'img.new-combats.com/i/big/3d' . str_replace(
@@ -297,17 +297,17 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<table width="504" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="12" height="10">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
<img style="display:block" src="//img.new-combats.tech/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
<td width="100%" background="https://img.new-combats.com/i/encicl/ram12_34.gif"></td>
<td width="100%" background="//img.new-combats.tech/i/encicl/ram12_34.gif"></td>
<td width="12" height="10" align="right">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
<img style="display:block" src="//img.new-combats.tech/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
</tr>
<tr>
<td width="12" background="https://img.new-combats.com/i/encicl/line_left_13.gif">
<td width="12" background="//img.new-combats.tech/i/encicl/line_left_13.gif">
&nbsp;
</td>
<td width="480">
@@ -317,26 +317,26 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
'.png', '', $itm['img']
)
) . '.jpg'
)) { ?>https://img.new-combats.com/i/big/3d<?= str_replace(
)) { ?>//img.new-combats.tech/i/big/3d<?= str_replace(
'.gif', '', str_replace(
'.png', '', $itm['img']
)
) ?>.jpg<?php } else { ?>https://img.new-combats.com/i/big/back.jpg<?php } ?>" alt=""
) ?>.jpg<?php } else { ?>//img.new-combats.tech/i/big/back.jpg<?php } ?>" alt=""
width="480" height="360" border=1 id="bigim">
</td>
<td width="12" background="https://img.new-combats.com/i/encicl/line_right_13.gif">
<td width="12" background="//img.new-combats.tech/i/encicl/line_right_13.gif">
&nbsp;
</td>
</tr>
<tr>
<td align="left" width="12" height="10">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
<img style="display:block" src="//img.new-combats.tech/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
<td width="100%"
style="background-image:url(https://img.new-combats.com/i/encicl/ram12_34down.gif); background-position:bottom"></td>
style="background-image:url(//img.new-combats.tech/i/encicl/ram12_34down.gif); background-position:bottom"></td>
<td width="12" align="right">
<img style="display:block" src="https://img.new-combats.com/i/encicl/ll12_30.gif"
<img style="display:block" src="//img.new-combats.tech/i/encicl/ll12_30.gif"
width="12" height="10">
</td>
</tr>
@@ -353,10 +353,10 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<tr>
<td width="100%">
<A HREF="?id=<?= $itm['id'] ?>"><?= $itm['name'] ?></A>
<IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12 HEIGHT=15>
<IMG SRC="//img.new-combats.tech/i/align/align0.gif" WIDTH=12 HEIGHT=15>
<?php $crd = '';
if ($admin == 1) {
$crd = '<small><a href="javascript:window.open(\'https://new-combats.com/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');">Редактировать предмет</a> </small> &nbsp; &nbsp;';
$crd = '<small><a href="javascript:window.open(\'/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');">Редактировать предмет</a> </small> &nbsp; &nbsp;';
echo $crd;
}
@@ -364,11 +364,11 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
echo '(Масса: ' . $itm['massa'] . ') ';
}
if (isset($itd['art']) && $itd['art'] > 0) {
echo '<IMG SRC=https://img.new-combats.com/i/artefact.gif WIDTH=18 HEIGHT=16 ALT="Артефактная вещь"> ';
echo '<IMG SRC=//img.new-combats.tech/i/artefact.gif WIDTH=18 HEIGHT=16 ALT="Артефактная вещь"> ';
}
if (isset($po['sudba']) && $po['sudba'] > 0) {
echo '<img title="Этот предмет будет связан общей судьбой с первым, кто наденет его. Никто другой не сможет его использовать." src="https://img.new-combats.com/i/destiny0.gif"> ';
echo '<img title="Этот предмет будет связан общей судьбой с первым, кто наденет его. Никто другой не сможет его использовать." src="//img.new-combats.tech/i/destiny0.gif"> ';
}
if ($itm['price1'] > 0) {
@@ -658,7 +658,7 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<td align="center" valign="top" style='padding: 0,2,0,5'>
<a title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>">
<SPAN style='background-color: #E0E0E0'>
<img src="https://img.new-combats.com/i/items/<?= $itm['img'] ?>"
<img src="//img.new-combats.tech/i/items/<?= $itm['img'] ?>"
alt="<?= $itm['name'] ?>" name="image" border="0">
</SPAN>
</a>
@@ -673,18 +673,18 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<!-- End of text -->
<td style='padding-left: 3' align=right>
<img id="imright" height=144
src="https://img.new-combats.com/i/encicl/pict_<?= $rz[$rt[$itm['type']]][0] ?>.jpg" width=139
src="//img.new-combats.tech/i/encicl/pict_<?= $rz[$rt[$itm['type']]][0] ?>.jpg" width=139
border=0>
</td>
<td valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td valign=top background="/forum_script/img/rightground.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=top>
<td></td>
<td valign=center style="padding-bottom:50" align="right"><IMG height=236
src="https://img.new-combats.com/i/encicl/pictr_<?= $rz[$rt[$itm['type']]][0] ?>.jpg"
src="//img.new-combats.tech/i/encicl/pictr_<?= $rz[$rt[$itm['type']]][0] ?>.jpg"
width=128 border=0>
</td>
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td>
<td width="23" valign=top background="/forum_script/img/rightground.jpg">&nbsp;</td>
</tr>
</table>
<?php } else {
@@ -795,16 +795,16 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
document.write('<table cellspacing=0 cellpadding=0 bgcolor=#f2e5b1 border=0 width=' + (wsize - 20) + '>');
</SCRIPT>
<tr valign=top>
<td width="29" rowspan=2 background="https://new-combats.com/forum_script/img/leftground.jpg">
<img src="https://img.new-combats.com/i/encicl/pictlr_subject.jpg" width="29" height="256">
<td width="29" rowspan=2 background="/forum_script/img/leftground.jpg">
<img src="//img.new-combats.tech/i/encicl/pictlr_subject.jpg" width="29" height="256">
</td>
<td width="218" height="257" align="left">
<img id="imleft2" src="https://img.new-combats.com/i/encicl/pictl_subject.jpg" width="118" height="257"><BR>
<img id="imleft2" src="//img.new-combats.tech/i/encicl/pictl_subject.jpg" width="118" height="257"><BR>
</td>
<td rowspan=2 align="left">
<p><b>&raquo;</b> <a href="https://new-combats.com/item/i1">Предметы</a> /
<p><b>&raquo;</b> <a href="/item/i1">Предметы</a> /
<h2><?= $rname ?></h2>
<img src="https://img.new-combats.com/i/encicl/ln3.jpg" width="400" height="1">
<img src="//img.new-combats.tech/i/encicl/ln3.jpg" width="400" height="1">
</p>
<?
if ($rv == 0) {
@@ -826,22 +826,22 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<tr>
<td width="100%"><A
HREF="/item/<?= $itm['id'] ?>"><?= $itm['name'] ?></A>
<IMG SRC="https://img.new-combats.com/i/align/align0.gif" WIDTH=12
<IMG SRC="//img.new-combats.tech/i/align/align0.gif" WIDTH=12
HEIGHT=15>
<?
if ($admin == 1) {
$crd = '<small><a href="javascript:window.open(\'https://new-combats.com/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');">Редактировать предмет</a> </small> &nbsp; &nbsp;';
$crd = '<small><a href="javascript:window.open(\'/item_edit_data.php?edit_item_data=' . $itm['id'] . '\',\'winEdi1\',\'width=850,height=400,top=400,left=500,resizable=no,scrollbars=yes,status=no\');">Редактировать предмет</a> </small> &nbsp; &nbsp;';
echo $crd;
}
if ($itm['massa'] > 0) {
echo '(Масса: ' . $itm['massa'] . ') ';
}
if (isset($itd['art']) && $itd['art'] > 0) {
echo '<IMG SRC=https://img.new-combats.com/i/artefact.gif WIDTH=18 HEIGHT=16 ALT="Артефактная вещь"> ';
echo '<IMG SRC=//img.new-combats.tech/i/artefact.gif WIDTH=18 HEIGHT=16 ALT="Артефактная вещь"> ';
}
if (isset($po['sudba'])) {
echo '<img title="Этот предмет будет связан общей судьбой с первым, кто наденет его. Никто другой не сможет его использовать." src="https://img.new-combats.com/i/destiny0.gif"> ';
echo '<img title="Этот предмет будет связан общей судьбой с первым, кто наденет его. Никто другой не сможет его использовать." src="//img.new-combats.tech/i/destiny0.gif"> ';
}
if ($itm['price1'] > 0) {
@@ -1136,7 +1136,7 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<td align="center" valign="top" style='padding: 0,2,0,5'>
<a title="<?= $itm['name'] ?>" href="/item/<?= $itm['id'] ?>">
<SPAN style='background-color: #E0E0E0'>
<img src="https://img.new-combats.com/i/items/<?= $itm['img'] ?>"
<img src="//img.new-combats.tech/i/items/<?= $itm['img'] ?>"
alt="<?= $itm['name'] ?>" name="image" border="0">
</SPAN>
</a>
@@ -1156,9 +1156,9 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<p>
<!-- End of text -->
<td style='padding-left: 3' align=right>
<img id="imright2" height=144 src="https://img.new-combats.com/i/encicl/pict_subject.jpg" width=139>
<img id="imright2" height=144 src="//img.new-combats.tech/i/encicl/pict_subject.jpg" width=139>
</td>
<td valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
<td valign=top background="/forum_script/img/rightground.jpg">&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
<tr valign=top>
<td valign="top">
@@ -1167,11 +1167,11 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
<table width="100%" height="11" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12" align="left">
<img src="https://img.new-combats.com/ram12_33.gif" width="12" height="11">
<img src="//img.new-combats.tech/ram12_33.gif" width="12" height="11">
</td>
<td style="background-image:url(https://img.new-combats.com/ram12_34.gif); background-repeat:repeat-x; background-position:0 2px;"></td>
<td style="background-image:url(//img.new-combats.tech/ram12_34.gif); background-repeat:repeat-x; background-position:0 2px;"></td>
<td width="13" align="right">
<img src="https://img.new-combats.com/ram12_35.gif" width="13" height="11">
<img src="//img.new-combats.tech/ram12_35.gif" width="13" height="11">
</td>
</tr>
</table>
@@ -1218,16 +1218,16 @@ $rz[$rt[$itm['type']]][1] ??= 'Прочие предметы';
</td>
<td valign="bottom" style="padding-bottom:50" align="right">
<IMG height=236 src="https://img.new-combats.com/i/encicl/pictr_subject.jpg" width=128 border=0>
<IMG height=236 src="//img.new-combats.tech/i/encicl/pictr_subject.jpg" width=128 border=0>
</td>
<td width="23" valign=top background="https://new-combats.com/forum_script/img/rightground.jpg">&nbsp;</td>
<td width="23" valign=top background="/forum_script/img/rightground.jpg">&nbsp;</td>
</tr>
</table>
<?php } ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor=#000000>
<TR>
<TD colspan=3 width="100%" height=13 background="https://img.new-combats.com/i/encicl/ln_footer.jpg"></TD>
<TD colspan=3 width="100%" height=13 background="//img.new-combats.tech/i/encicl/ln_footer.jpg"></TD>
</TR>
<tr valign=top>
<td width="20%">