Замена short_tags и <?php echo.

This commit is contained in:
2023-03-31 19:54:33 +03:00
parent fdf063d527
commit 1b5bf26294
214 changed files with 3978 additions and 4014 deletions

View File

@@ -285,7 +285,7 @@ if($u->room['file']=='shop2_')
<tr align="right" valign="top">
<td>
<!-- -->
<? echo $goLis; ?>
<?= $goLis; ?>
<!-- -->
<table border="0" cellspacing="0" cellpadding="0">
<tr>
@@ -293,7 +293,7 @@ if($u->room['file']=='shop2_')
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#DEDEDE">
<tr>
<td bgcolor="#D3D3D3"><img src="https://img.new-combats.com/i/move/links.gif" width="9" height="7" /></td>
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.10&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.10',1); ?>">Государственный магазин</a></td>
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.10&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.10',1); ?>">Государственный магазин</a></td>
</tr>
</table>
</td>
@@ -305,7 +305,7 @@ if($u->room['file']=='shop2_')
<div align="right">
<small>
Масса: <?=$u->aves['now']?>/<?=$u->aves['max']?> &nbsp;<br />
У вас в наличии: <span class="icos_WL"><b><?php echo round($u->rep['rep3']-$u->rep['rep3_buy']); ?> Воинственности</small></span></b> &nbsp;
У вас в наличии: <span class="icos_WL"><b><?= round($u->rep['rep3']-$u->rep['rep3_buy']); ?> Воинственности</small></span></b> &nbsp;
</small>
</div>
<br />
@@ -318,7 +318,7 @@ if($u->room['file']=='shop2_')
echo '<INPUT TYPE="button" value="Купить вещи" onclick="location=\'?otdel='.$_GET['otdel'].'\'">&nbsp;';
}*/
?>
<INPUT TYPE="button" value="Обновить" onclick="location = '<? echo str_replace('item','',str_replace('buy','',$_SERVER['REQUEST_URI'])); ?>';"><BR>
<INPUT TYPE="button" value="Обновить" onclick="location = '<?= str_replace('item','',str_replace('buy','',$_SERVER['REQUEST_URI'])); ?>';"><BR>
</div>
<div style="background-color:#A5A5A5;padding:1"><center><B>Отделы магазина</B></center></div>
<div style="line-height:17px;">