Замена short_tags и <?php echo.
This commit is contained in:
@@ -488,25 +488,25 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
<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%"> </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']=='abandonedplain') { echo '3.180.0.267'; } elseif($u->info['city']=='fallenearth') { echo '6.180.0.102'; } elseif($u->info['room']==188) { echo '1.180.0.4'; } elseif($u->info['room']==393) { echo '1.180.0.2'; } elseif($u->info['room']==372) { echo '1.180.0.323'; }elseif($u->info['room']==395) { echo '2.180.0.231'; }elseif($u->info['room']==397) { echo '2.180.0.229'; } elseif($u->info['room']==242) { echo '2.180.0.236'; } 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']=='abandonedplain') { echo '3.180.0.267'; } elseif($u->info['city']=='fallenearth') { echo '6.180.0.102'; } elseif($u->info['room']==188) { echo '1.180.0.4'; } elseif($u->info['room']==393) { echo '1.180.0.2'; } elseif($u->info['room']==372) { echo '1.180.0.323'; }elseif($u->info['room']==395) { echo '2.180.0.231'; }elseif($u->info['room']==397) { echo '2.180.0.229'; } elseif($u->info['room']==242) { echo '2.180.0.236'; } else { echo '1.180.0.321'; } ?>&rnd=<?= $code; ?>';" title="<?php
|
||||
if($u->info['city']=='fallenearth'){
|
||||
thisInfRm('6.180.0.102',1);
|
||||
}elseif($u->info['city']=='abandonedplain'){
|
||||
@@ -548,14 +548,14 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
}
|
||||
?></a></td>
|
||||
</tr>
|
||||
<? if( isset($dungeon['shop']) && $dungeon['shop'] > 0 ) {
|
||||
<?php if( isset($dungeon['shop']) && $dungeon['shop'] > 0 ) {
|
||||
$shop = mysql_fetch_array( mysql_query('SELECT `id` as shop_id, `code` FROM `room` WHERE `id` = "'.$dungeon['shop'].'" LIMIT 1') );
|
||||
if( isset($shop['code']) ){?>
|
||||
<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=<?=$shop['code']?>&rnd=<? echo $code; ?>';" title="<? thisInfRm($shop['code'],1); ?>">Рыцарский магазин</a></td>
|
||||
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#" id="greyText" class="menutop" onclick="location='main.php?loc=<?=$shop['code']?>&rnd=<?= $code; ?>';" title="<?php thisInfRm($shop['code'],1); ?>">Рыцарский магазин</a></td>
|
||||
</tr>
|
||||
<? }
|
||||
<?php }
|
||||
} ?>
|
||||
</table>
|
||||
</td>
|
||||
@@ -563,14 +563,14 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
</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="Обновить" />
|
||||
@@ -578,17 +578,17 @@ while( $pl = mysql_fetch_array( $sp ) ){
|
||||
<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="Обновить" />
|
||||
<? if($dungeon['quest'] == 1){?>
|
||||
<?php if($dungeon['quest'] == 1){?>
|
||||
<br />
|
||||
<input type='button' onclick='location="main.php?rz=1"' value="Задания" />
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</p>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<?
|
||||
if($error!='')echo '<font color="red"><b>'.$error.'</b></font><br>';
|
||||
|
||||
@@ -713,7 +713,7 @@ if( $roomSection == 1 ) {
|
||||
</FIELDSET>
|
||||
</form>
|
||||
<br />
|
||||
<?
|
||||
<?php
|
||||
//Начисление бонуса награды
|
||||
if( isset( $_GET['buy1'] ) ) {
|
||||
$rt = 1;
|
||||
@@ -843,7 +843,7 @@ if( $roomSection == 1 ) {
|
||||
}
|
||||
?>
|
||||
<fieldset>
|
||||
<legend>Награда: <b> <? echo ( isset( $rt ) && $rt == 1 ? ($u->rep['allrep']-$u->rep['allnurep'])-$cur_price['price'] : ($u->rep['allrep']-$u->rep['allnurep']) );?>
|
||||
<legend>Награда: <b> <?= ( isset( $rt ) && $rt == 1 ? ($u->rep['allrep']-$u->rep['allnurep'])-$cur_price['price'] : ($u->rep['allrep']-$u->rep['allnurep']) );?>
|
||||
ед.</b></legend>
|
||||
<table>
|
||||
<tr>
|
||||
@@ -872,7 +872,7 @@ if( $roomSection == 1 ) {
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<?
|
||||
<?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) {
|
||||
?>
|
||||
@@ -898,7 +898,7 @@ if( $roomSection == 1 ) {
|
||||
?>
|
||||
<input type='button' value='Сдать чеки'
|
||||
onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) находящиеся у Вас в инвентаре за <?=$chk[1]?> кр. ?')) {location='main.php?rz=1&buy777=1'}" />
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<fieldset style='margin-top:15px;'>
|
||||
<table>
|
||||
<?
|
||||
@@ -923,7 +923,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>
|
||||
Комментарий
|
||||
|
||||
Reference in New Issue
Block a user