Замена short_tags и <?php echo.
This commit is contained in:
@@ -189,7 +189,7 @@ if($u->room['file']=='flower')
|
||||
<form name="F1" method="post">
|
||||
<TD valign="top" align="left">
|
||||
<!--Магазин-->
|
||||
<? if((int)$_GET['otdel']!=2){ ?>
|
||||
<?php if((int)$_GET['otdel']!=2){ ?>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#a5a5a5">
|
||||
<div id="hint3" style="visibility:hidden"></div>
|
||||
<tr>
|
||||
@@ -259,7 +259,7 @@ if($u->room['file']=='flower')
|
||||
</TABLE>
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
<? }else{
|
||||
<?php }else{
|
||||
$itemsOk = $u->genInv(6,'`iu`.`uid`="'.$u->info['id'].'" AND `iu`.`delete`="0" AND `iu`.`inOdet`="0" AND `iu`.`inShop`="0" ORDER BY `lastUPD` DESC');
|
||||
$itemsOk = $itemsOk[2]; //ингридиенты
|
||||
$itemsAdd = ''; //выставленные предметы
|
||||
@@ -279,15 +279,15 @@ if($u->room['file']=='flower')
|
||||
</tr>
|
||||
<tr bgcolor="C7C7C7">
|
||||
<td align="center" valign="top" width="180" nowrap="nowrap" ><b>Цветы для букета:</b><br />
|
||||
<? echo $itemsAdd; ?>
|
||||
<?= $itemsAdd; ?>
|
||||
<br />
|
||||
<div style="float:left;width:180px;padding-top:5px;">
|
||||
<input type="button" style="width:170px;"value="Собрать букет" onclick="top.frames['main'].location='main.php?otdel=2&createFlowers';" />
|
||||
</div>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<? if($flowerAdd == '') { ?> <center style="padding-right:180px;">Добавляйте сюда ингридиенты, из которых хотите составить букет</center>
|
||||
<? }else{ echo '<br>'.$flowerAdd; } ?> <br /></td>
|
||||
<?php if($flowerAdd == '') { ?> <center style="padding-right:180px;">Добавляйте сюда ингридиенты, из которых хотите составить букет</center>
|
||||
<?php }else{ echo '<br>'.$flowerAdd; } ?> <br /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><b>Цветы у вас в рюкзаке:</b></td>
|
||||
@@ -297,14 +297,14 @@ if($u->room['file']=='flower')
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#A5A5A5">
|
||||
<tr>
|
||||
<td bgcolor="e2e0e0" align="center">
|
||||
<? if($itemsOk==''){ ?>
|
||||
<?php if($itemsOk==''){ ?>
|
||||
<div style="padding:4px;">У вас нет подходящих предметов в рюкзаке</div>
|
||||
<? }else{ echo $itemsOk; } ?>
|
||||
<?php }else{ echo $itemsOk; } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table><? } ?>
|
||||
</table><?php } ?>
|
||||
</TD>
|
||||
</FORM>
|
||||
</TR>
|
||||
@@ -315,7 +315,7 @@ if($u->room['file']=='flower')
|
||||
<tr align="right" valign="top">
|
||||
<td>
|
||||
<!-- -->
|
||||
<? echo $goLis; ?>
|
||||
<?= $goLis; ?>
|
||||
<!-- -->
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
@@ -323,7 +323,7 @@ if($u->room['file']=='flower')
|
||||
<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><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.11&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.11',1); ?>">Страшилкина улица</a></td>
|
||||
<td bgcolor="#D3D3D3" nowrap><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.11&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.11',1); ?>">Страшилкина улица</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@@ -335,11 +335,11 @@ if($u->room['file']=='flower')
|
||||
<div align="right">
|
||||
<small>
|
||||
Масса: <?=$u->aves['now']?>/<?=$u->aves['max']?> <br />
|
||||
У вас в наличии: <b style="color:#339900;"><?php echo round($u->info['money'],2); ?> кр.</b>
|
||||
У вас в наличии: <b style="color:#339900;"><?= round($u->info['money'],2); ?> кр.</b>
|
||||
</small>
|
||||
</div>
|
||||
<br />
|
||||
<INPUT TYPE="button" value="Обновить" onclick="location = '<? echo $_SERVER['REQUEST_URI']; ?>';"><BR>
|
||||
<INPUT TYPE="button" value="Обновить" onclick="location = '<?= $_SERVER['REQUEST_URI']; ?>';"><BR>
|
||||
</div>
|
||||
<div style="background-color:#A5A5A5;padding:1"><center><B>Отделы магазина</B></center></div>
|
||||
<div style="line-height:17px;">
|
||||
|
||||
Reference in New Issue
Block a user