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

@@ -27,21 +27,21 @@ if($u->room['file']=='nc/cp')
<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 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 width="500" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div style="position:relative; cursor: pointer;" id="ione">
<img src="https://img.new-combats.com/newcap/nc_bg1.jpg" alt="" name="img_ione" width="500" height="268" border="1" id="img_ione"/>
<div id="buttons_on_image" style="cursor:pointer; font-weight:bold; color:#D8D8D8; font-size:10px;">
<? echo $tattack; ?>
<?= $tattack; ?>
&nbsp;
<span onMouseMove="this.runtimeStyle.color = 'white';" onMouseOut="this.runtimeStyle.color = this.parentElement.style.color;" onclick="window.open('https://new-combats.com/forum', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')">Форум</span> &nbsp;
</div>
@@ -58,19 +58,19 @@ if($u->room['file']=='nc/cp')
}
-->
</script><!-- <div style="position:absolute; left:166px; top:149px; width:27px; height:55px; z-index:99;"><img src="https://img.new-combats.com/i/images/300x225/capital/2pm.gif" width="27" height="55" title="Памятник Мироздателю" /></div> -->
<div style="position:absolute; left:302px; top:177px; width:75px; height:90px; z-index:94;"><img src="https://img.new-combats.com/newcap/nc_station.gif" alt="" width="75" height="90" <? thisInfRm('5.180.0.306'); ?> /></div>
<div style="position:absolute; left:302px; top:177px; width:75px; height:90px; z-index:94;"><img src="https://img.new-combats.com/newcap/nc_station.gif" alt="" width="75" height="90" <?php thisInfRm('5.180.0.306'); ?> /></div>
<div style="position: absolute; left: 103px; top: 159px; width: 75px; height: 90px; z-index: 94;"><img src="https://img.new-combats.com/newcap/nc_station.gif" alt="" width="75" height="90" <? thisInfRm('5.180.0.352'); ?> /></div>
<div style="position: absolute; left: 103px; top: 159px; width: 75px; height: 90px; z-index: 94;"><img src="https://img.new-combats.com/newcap/nc_station.gif" alt="" width="75" height="90" <?php thisInfRm('5.180.0.352'); ?> /></div>
<div style="position:absolute; left:185px; top:37px; width:180px; height:120px; z-index:94;"><img src="https://img.new-combats.com/newcap/nc_club.gif" alt="" width="180" height="120" <? thisInfRm('5.180.0.308'); ?> /></div>
<div style="position:absolute; left:185px; top:37px; width:180px; height:120px; z-index:94;"><img src="https://img.new-combats.com/newcap/nc_club.gif" alt="" width="180" height="120" <?php thisInfRm('5.180.0.308'); ?> /></div>
<div id="snow"></div>
<? echo $goline; ?>
<?= $goline; ?>
</div>
</td>
</tr>
</table>
<div style="display:none; height:0px " id="moveto"></div>
<div align="right" style="padding: 3px;"><small>&laquo;<? echo $c['title3']; ?>&raquo; приветствует Вас, <b><? echo $u->info['login']; ?></b>.<br />
<div align="right" style="padding: 3px;"><small>&laquo;<?= $c['title3']; ?>&raquo; приветствует Вас, <b><?= $u->info['login']; ?></b>.<br />
</small></div></td>
<td>
<!-- <br /><span class="menutop"><nobr>Комната для новичков</nobr></span>-->
@@ -79,14 +79,14 @@ if($u->room['file']=='nc/cp')
</table>
<small>
<HR>
<? $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 id="forum" class="btn" onclick="window.open('https://new-combats.com/forum/', 'forum', 'location=yes,menubar=yes,status=yes,resizable=yes,toolbar=yes,scrollbars=yes,scrollbars=yes')" value="Форум" type="button" name="forum">
<INPUT class="btn" onclick="window.open('/encicl/help/top1.html', 'help', 'height=300,width=500,location=no,menubar=no,status=no,toolbar=no,scrollbars=yes')" value="Подсказка" type="button">
<INPUT class="btn" value="Объекты" type="button">
<br />
<strong>Внимание!</strong> Никогда и никому не говорите пароль от своего персонажа. Не вводите пароль на других сайтах, типа "новый город", "лотерея", "там, где все дают на халяву". Пароль не нужен ни паладинам, ни кланам, ни администрации, <U>только взломщикам</U> для кражи вашего героя.<BR>
<em>Администрация.</em></small> <BR>
<? echo $rowonmax; ?><BR>
<?= $rowonmax; ?><BR>
</div></td>
</tr>