Замена short_tags и <?php echo.
This commit is contained in:
@@ -64,24 +64,24 @@ if($u->room['file']=='hram')
|
||||
}
|
||||
|
||||
</style>
|
||||
<div align="right"><? if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
|
||||
<div align="right"><?php if($re!=''){ echo '<font color="red"><b>'.$re.'</b></font>'; } ?></div>
|
||||
<div id="hint3" style="visibility:hidden"></div>
|
||||
<TABLE width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr><td valign="top"><div align="center" class="pH3">Храм Знаний <? if($_GET['r']==1){ echo ', Алтарь рун'; }else{ echo ', Алтарь предметов'; } ?></div>
|
||||
<tr><td valign="top"><div align="center" class="pH3">Храм Знаний <?php if($_GET['r']==1){ echo ', Алтарь рун'; }else{ echo ', Алтарь предметов'; } ?></div>
|
||||
<td width="280" valign="top"><table align="right" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="100%"> </td>
|
||||
<td><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr align="right" valign="top">
|
||||
<td><!-- -->
|
||||
<? echo $goLis; ?>
|
||||
<?= $goLis; ?>
|
||||
<!-- -->
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td nowrap="nowrap"><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="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<? echo $code; ?>';" title="<? thisInfRm('3.180.0.267',1); ?>">Центральная площадь</a></td>
|
||||
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=3.180.0.267&rnd=<?= $code; ?>';" title="<?php thisInfRm('3.180.0.267',1); ?>">Центральная площадь</a></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr> <tr>
|
||||
@@ -97,7 +97,7 @@ if($u->room['file']=='hram')
|
||||
</td>
|
||||
</table>
|
||||
<div id="textgo" style="visibility:hidden;"></div>
|
||||
<? if($_GET['r']!=1){
|
||||
<?php if($_GET['r']!=1){
|
||||
$itmAll = ''; $itmAllSee = '';
|
||||
$itmAll = $u->genInv(11,'`iu`.`uid`="'.$u->info['id'].'" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ORDER BY `lastUPD` DESC');
|
||||
if($itmAll[0]==0)
|
||||
@@ -131,7 +131,7 @@ if($u->room['file']=='hram')
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="10">
|
||||
<tr>
|
||||
<td width="300" valign="top">
|
||||
<b>Репутация: <? echo 0+$u->info['rep1']; ?></b><span id="add_rep"></span>
|
||||
<b>Репутация: <?= 0+$u->info['rep1']; ?></b><span id="add_rep"></span>
|
||||
<br /><br /><center><span id="use_item">Предмет не выбран</span><br /><br />
|
||||
<input type="button" value="Растворить" onclick="location = '?r=<?=$_GET['r'].'&rnd='.$code.'&itm=';?>'+urlras;" /></center>
|
||||
<br />
|
||||
@@ -142,12 +142,12 @@ if($u->room['file']=='hram')
|
||||
<td valign="top">
|
||||
<!-- -->
|
||||
<table width="100%" border="0" cellspacing="1" align="center" cellpadding="0" bgcolor="#A5A5A5">
|
||||
<? if($u->info['invBlock']==0){ echo $itmAllSee; }else{ echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel='.$_GET['otdel'].'&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>'; } ?>
|
||||
<?php if($u->info['invBlock']==0){ echo $itmAllSee; }else{ echo '<div align="center" style="padding:10px;background-color:#A5A5A5;"><form method="post" action="main.php?inv=1&otdel='.$_GET['otdel'].'&relockinvent"><b>Рюкзак закрыт.</b><br><img title="Замок для рюкзака" src="https://img.new-combats.com/i/items/box_lock.gif"> Введите пароль: <input id="relockInv" name="relockInv" type="password"><input type="submit" value="Открыть"></form></div>'; } ?>
|
||||
</table>
|
||||
<!-- -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<? }else{ ?>
|
||||
<?php }else{ ?>
|
||||
По всей видимости Алтарь рун был разрушен... <b>Лорд разрушитель</b> не дремлет...
|
||||
<? } } ?>
|
||||
<?php } } ?>
|
||||
Reference in New Issue
Block a user