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

@@ -10,12 +10,12 @@ if(!defined('GAME'))
<tr>
<td>
<span id="statsOfPerson" style="font-size:12px;">
Сила: <? echo $u->stats['s1']; ?><br />
Ловкость:&nbsp;<? echo $u->stats['s2']; ?><br />
Интуиция:&nbsp;<? echo $u->stats['s3']; ?><br />
Выносливость:&nbsp;<? echo $u->stats['s4']; ?><br />
<? if($u->info['level'] > 3){ ?>Интеллект:&nbsp;<? echo $u->stats['s5']; ?><br /><? } ?>
<? if($u->info['level'] > 6){ ?>Мудрость:&nbsp;<? echo $u->stats['s6']; ?><br /><? } ?>
Сила: <?= $u->stats['s1']; ?><br />
Ловкость:&nbsp;<?= $u->stats['s2']; ?><br />
Интуиция:&nbsp;<?= $u->stats['s3']; ?><br />
Выносливость:&nbsp;<?= $u->stats['s4']; ?><br />
<?php if($u->info['level'] > 3){ ?>Интеллект:&nbsp;<?= $u->stats['s5']; ?><br /><?php } ?>
<?php if($u->info['level'] > 6){ ?>Мудрость:&nbsp;<?= $u->stats['s6']; ?><br /><?php } ?>
<?
if($u->info['ability'] > 0)
{
@@ -29,16 +29,16 @@ echo '&bull;&nbsp;<a href="main.php?skills=1&side=1">Обучение</a><br />'
&nbsp;<br /></span>
<span id="anotherOfPerson" style="font-size:12px;">
Опыт:&nbsp;<b><? echo $u->info['exp']; ?></b> (0)<br />
Уровень:&nbsp;<? echo $u->info['level']; ?><br />
Побед:&nbsp;<? echo $u->info['win']; ?><br />
Поражений:&nbsp;<? echo $u->info['lose']; ?><br />
Ничьих:&nbsp;<? echo $u->info['nich']; ?><br />
Деньги:&nbsp;<b><? echo $u->info['money']; ?></b>&nbsp;кр.<br />
<? /* if($u->info['money3'] > 0) {*/ ?>
Валюта:&nbsp;<b><? echo $u->info['money3']; ?></b>&nbsp;$<? /*}*/ ?>
<? if($u->rep['rep3'] >= 0) { ?>
Воинственность:&nbsp;<? echo $u->rep['rep3']-$u->rep['rep3_buy']; ?><? } ?></span>
Опыт:&nbsp;<b><?= $u->info['exp']; ?></b> (0)<br />
Уровень:&nbsp;<?= $u->info['level']; ?><br />
Побед:&nbsp;<?= $u->info['win']; ?><br />
Поражений:&nbsp;<?= $u->info['lose']; ?><br />
Ничьих:&nbsp;<?= $u->info['nich']; ?><br />
Деньги:&nbsp;<b><?= $u->info['money']; ?></b>&nbsp;кр.<br />
<?php /* if($u->info['money3'] > 0) {*/ ?>
Валюта:&nbsp;<b><?= $u->info['money3']; ?></b>&nbsp;$<?php /*}*/ ?>
<?php if($u->rep['rep3'] >= 0) { ?>
Воинственность:&nbsp;<?= $u->rep['rep3']-$u->rep['rep3_buy']; ?><?php } ?></span>
<div style="position: absolute; left: 550px; top: 160px; width: 32px; height: 25px; z-index: 91;"><a href="https://new-combats.com/n/1004/" target="_blank"/><img title="Сундук Перехода" src="https://img.new-combats.com/i/items/lootchest_gift.gif" width="60" height="60" />
</td>
</tr>