Замена 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

@@ -121,24 +121,24 @@ if($u->room['file']=='novich')
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="250" valign="top">
<? $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
<?php $usee = $u->getInfoPers($u->info['id'],0); if($usee!=false){ echo $usee[0]; }else{ echo 'information is lost.'; } ?>
</td>
<td width="230" valign="top" style="padding-top:19px;"><? require_once('modules_data/stats_loc.php'); ?></td>
<td width="230" valign="top" style="padding-top:19px;"><?php require_once('modules_data/stats_loc.php'); ?></td>
<td valign="top"><div align="right">
<table width="510" border="0" cellpadding="0" cellspacing="0">
<tr align="right" valign="top">
<td>
<? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
<?php if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div style="position:relative; cursor: pointer; width: 500px;" id="ione"><img src="https://img.new-combats.com/i/images/300x225/club/navig2.jpg" id="img_ione" width="500" height="240" border="1"/>
<div style="position:absolute; left:264px; top:106px; width:175px; height:37px; z-index:90;"><img src="https://img.new-combats.com/i/images/subimages/map_zal2.gif" width="175" height="37" id="mo_1.180.0.0" /></div>
<div style="position:absolute; left:47px; top:120px; width:135px; height:29px; z-index:90;"><img <? thisInfRm('1.180.0.1'); ?> src="https://img.new-combats.com/i/images/subimages/map_zal3.gif" width="135" height="29" class="aFilter" id="mo_1.180.0.1" /></div>
<div style="position:absolute; left:47px; top:120px; width:135px; height:29px; z-index:90;"><img <?php thisInfRm('1.180.0.1'); ?> src="https://img.new-combats.com/i/images/subimages/map_zal3.gif" width="135" height="29" class="aFilter" id="mo_1.180.0.1" /></div>
<div style="position:absolute; left:81px; top:102px; width:88px; height:15px; z-index:90;"><img src="https://img.new-combats.com/i/images/subimages/map_zal1.gif" width="88" height="15" title="Вход через Комнату Перехода" id="mo_1.180.0.2" class="aFilter" onclick="alert('Вход через Комнату Перехода')" /></div>
<div style="position:absolute; left:349px; top:139px; width:16px; height:18px; z-index:90;"><img src="https://img.new-combats.com/i/images/subimages/fl1.gif" width="16" height="18" title="Вы находитесь в Комнате для Новичков" /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
@@ -146,7 +146,7 @@ if($u->room['file']=='novich')
<div style="display:none; height:0px " id="moveto"></div>
Чтобы начать играть,<b>Вам нужно прочесть подсказку ( ниже )</b>.<br />
После прочтения,ниже,воспользуйтесь кнопкой<b>"Возврат"</b><br />
<? $hgo = $u->testHome(); if(!isset($hgo['id'])){ ?><INPUT onclick="location.href='main.php?homeworld=<? echo $code; ?>';" class="btn" value="Возврат" type="button" name="combats2"><? } unset($hgo); ?>
<?php $hgo = $u->testHome(); if(!isset($hgo['id'])){ ?><INPUT onclick="location.href='main.php?homeworld=<?= $code; ?>';" class="btn" value="Возврат" type="button" name="combats2"><?php } unset($hgo); ?>
<INPUT class="btn" onclick="window.open('/forum/?read=845&rnd=1', 'help', 'height=500,width=1200,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка для новичков" style="color:red;" type="button">
<br />
</small></div></td>
@@ -160,7 +160,7 @@ if($u->room['file']=='novich')
<br />
<strong>Внимание!Смените пароль на уникальный,который не использовался ранее в подобных проектах,это обезопасит вашего персонажа от взлома.<BR>
<em>Администрация.</strong> </em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>
</table>