Замена 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
+13 -13
View File
@@ -322,25 +322,25 @@ body
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div style="padding-left:0px;" align="center">
<h3><? echo $u->room['name']; ?></h3>
<h3><?= $u->room['name']; ?></h3>
</div></td>
<td width="200"><div align="right">
<table cellspacing="0" cellpadding="0">
<tr>
<td width="100%">&nbsp;</td>
<td>
<? if($roomSection==0) { ?>
<?php if($roomSection==0) { ?>
<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=<? if($u->info['city']=='fallenearth'){ echo '6.180.0.102'; } else {echo '1.180.0.321'; }?>&rnd=<? echo $code; ?>';" title="<?
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=<?php if($u->info['city']=='fallenearth'){ echo '6.180.0.102'; } else {echo '1.180.0.321'; }?>&rnd=<?= $code; ?>';" title="<?php
if($u->info['city']=='fallenearth'){
thisInfRm('6.180.0.102',1);
}else {
@@ -356,7 +356,7 @@ body
</tr>
<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.373&rnd=<? echo $code; ?>';" title="<? thisInfRm('1.180.0.373',1); ?>">Рыцарский магазин</a></td>
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=1.180.0.373&rnd=<?= $code; ?>';" title="<?php thisInfRm('1.180.0.373',1); ?>">Рыцарский магазин</a></td>
</tr>
</table>
</td>
@@ -364,14 +364,14 @@ body
</table></td>
</tr>
</table>
<? } ?>
<?php } ?>
</td>
</tr>
</table>
</div></td>
</tr>
</table>
<? if($roomSection == 1) { ?>
<?php if($roomSection == 1) { ?>
<div align="center" style="float:right;width:100px;">
<p>
<input type='button' onclick='location="main.php?rz=1"' value="Обновить" />
@@ -379,7 +379,7 @@ body
<input type='button' onclick='location="main.php"' value="Вернуться" />
</p>
</div>
<? }else{ ?>
<?php }else{ ?>
<div align="center" style="float:right;width:100px;">
<p>
<input type='button' onclick='location="main.php"' value="Обновить" />
@@ -387,7 +387,7 @@ body
<input type='button' onclick='location="main.php?rz=1"' value="Задания" />
</p>
</div>
<? } ?>
<?php } ?>
<?
if($re!='')echo '<font color="red"><b>'.$re.'</b></font><br>';
@@ -505,7 +505,7 @@ if(!isset($hgo['id'])) {
</FIELDSET>
</form>
<br />
<?
<?php
//Начисление бонуса награды
if(isset($_GET['buy1'])) {
if($_GET['buy1']==1) {
@@ -679,7 +679,7 @@ onclick="if (confirm('Купить: Особенность?\n\nОсобенно
</tr>
</table>
<p><span style="padding-left: 10px">
<?
<?php
$chk = mysql_fetch_array(mysql_query('SELECT COUNT(`u`.`id`),SUM(`m`.`price1`) FROM `items_users` AS `u` LEFT JOIN `items_main` AS `m` ON `u`.`item_id` = `m`.`id` WHERE `m`.`type` = "61" AND `u`.`delete` = "0" AND `u`.`inOdet` = "0" AND `u`.`inShop` = "0" AND `u`.`inTransfer` = "0" AND `u`.`uid` = "'.$u->info['id'].'" LIMIT 1000'));
if(isset($_GET['buy777']) && $chk[0]>0) {
$chk_cl = mysql_query('SELECT `u`.`id`,`m`.`price1` FROM `items_users` AS `u` LEFT JOIN `items_main` AS `m` ON `u`.`item_id` = `m`.`id` WHERE `m`.`type` = "61" AND `u`.`delete` = "0" AND `u`.`inOdet` = "0" AND `u`.`inShop` = "0" AND `u`.`inTransfer` = "0" AND `u`.`uid` = "'.$u->info['id'].'" LIMIT 1000');
@@ -699,7 +699,7 @@ onclick="if (confirm('Купить: Особенность?\n\nОсобенно
?>
<input type='button' value='Сдать чеки'
onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) находящиеся у Вас в инвентаре за <?=$chk[1]?> кр. ?')) {location='main.php?rz=1&buy777=1'}" />
<? } ?>
<?php } ?>
</span></p>
</fieldset>
<fieldset style='margin-top:15px;'>
@@ -728,7 +728,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
<table width="350" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<form id="from" autocomplete="off" name="from" action="main.php?pz1=<? echo $code; ?>" method="post">
<form id="from" autocomplete="off" name="from" action="main.php?pz1=<?= $code; ?>" method="post">
<fieldset style='padding-left: 5; width=50%'>
<legend><b> Группа </b> </legend>
Комментарий