Замена short_tags и <?php echo.
This commit is contained in:
@@ -68,7 +68,7 @@ if($u->room['file']=='hramrep')
|
||||
}
|
||||
|
||||
</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">Храм Репутации</div>
|
||||
@@ -78,14 +78,14 @@ if($u->room['file']=='hramrep')
|
||||
<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=1.180.0.213&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.213',1); ?>">Большая торговая улица</a></td>
|
||||
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.213&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.213',1); ?>">Большая торговая улица</a></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr> <tr>
|
||||
@@ -100,7 +100,7 @@ if($u->room['file']=='hramrep')
|
||||
</td>
|
||||
</table>
|
||||
<div id="textgo" style="visibility:hidden;"></div>
|
||||
<? if($_GET['r']!=1){
|
||||
<?php if($_GET['r']!=1){
|
||||
$itmAll = ''; $itmAllSee = '';
|
||||
$itmAll = $u->genInv(12,'`iu`.`uid`="'.$u->info['id'].'" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" and (`im`.`inslot`="3" or `im`.`inslot`="14" or `im`.`type`="31") ORDER BY `lastUPD` DESC');
|
||||
if($itmAll[0]==0)
|
||||
@@ -137,7 +137,7 @@ if($u->room['file']=='hramrep')
|
||||
<?
|
||||
//print_r($u->info);
|
||||
?>
|
||||
<b>Репутация Capitalcity: <? echo 0+$reps['repcapitalcity']; ?></b><span id="add_rep"></span>
|
||||
<b>Репутация Capitalcity: <?= 0+$reps['repcapitalcity']; ?></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 />
|
||||
@@ -149,12 +149,12 @@ if($u->room['file']=='hramrep')
|
||||
<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