Замена short_tags и <?php echo.
This commit is contained in:
@@ -163,7 +163,7 @@ if(isset($file) && $file[0]=='altar_cat.php')
|
||||
<form name="F1" method="post">
|
||||
<TD valign="top" align="left">
|
||||
<!--Магазин-->
|
||||
<? if((int)$_GET['otdel']!=1){ ?>
|
||||
<?php if((int)$_GET['otdel']!=1){ ?>
|
||||
<table width="100%" cellspacing="0" cellpadding="0" bgcolor="#a5a5a5">
|
||||
<div id="hint3" style="visibility:hidden"></div>
|
||||
<tr>
|
||||
@@ -228,7 +228,7 @@ if(isset($file) && $file[0]=='altar_cat.php')
|
||||
</TABLE>
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
<? }else{
|
||||
<?php }else{
|
||||
$itemsOk = $u->genInv(142,'`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 = '';
|
||||
@@ -248,15 +248,15 @@ if(isset($file) && $file[0]=='altar_cat.php')
|
||||
</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" class="btn btn-success" style="width:170px;"value="Создать предмет" onclick="top.frames['main'].location='main.php?otdel=1&createLaba';" />
|
||||
</div>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<? if($res_Add == '') { ?> <center style="padding-right:180px;">Добавляйте сюда чарки, которые хотите соединить</center>
|
||||
<? }else{ echo '<br>'.$res_Add; } ?> <br /></td>
|
||||
<?php if($res_Add == '') { ?> <center style="padding-right:180px;">Добавляйте сюда чарки, которые хотите соединить</center>
|
||||
<?php }else{ echo '<br>'.$res_Add; } ?> <br /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center"><b>Ресурсы у вас в рюкзаке:</b></td>
|
||||
@@ -266,14 +266,14 @@ if(isset($file) && $file[0]=='altar_cat.php')
|
||||
<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>
|
||||
@@ -284,7 +284,7 @@ if(isset($file) && $file[0]=='altar_cat.php')
|
||||
<tr align="right" valign="top">
|
||||
<td>
|
||||
<!-- -->
|
||||
<? echo $goLis; ?>
|
||||
<?= $goLis; ?>
|
||||
<!-- -->
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
@@ -307,7 +307,7 @@ if(isset($file) && $file[0]=='altar_cat.php')
|
||||
</small>
|
||||
</div>
|
||||
<br />
|
||||
<INPUT TYPE="button" class="btn" value="Обновить" onclick="location = '<? echo $_SERVER['REQUEST_URI']; ?>';"><BR>
|
||||
<INPUT TYPE="button" class="btn" 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