Замена short_tags и <?php echo.
This commit is contained in:
@@ -247,7 +247,7 @@ if( $u->room['file'] == 'house_belaun' ) {
|
||||
</script>
|
||||
<div class="house_belaun" style="box-sizing:border-box;width:100%; padding-right:300px;">
|
||||
<div class="Title">
|
||||
<h3><? echo $u->room['name']; ?></h3>
|
||||
<h3><?= $u->room['name']; ?></h3>
|
||||
</div>
|
||||
<div class="Menu">
|
||||
<div class="MenuList">
|
||||
@@ -344,7 +344,7 @@ if( $u->room['file'] == 'house_belaun' ) {
|
||||
<div class="button"><input type="submit" name="partyCreate" value="Создать группу"/></div>
|
||||
</form>
|
||||
</div>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -861,25 +861,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%"> </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'; } elseif($u->info['room']==321) { echo '1.180.0.213'; } 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'; } elseif($u->info['room']==321) { echo '1.180.0.213'; } 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'){
|
||||
@@ -925,14 +925,14 @@ body {
|
||||
}
|
||||
?></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>
|
||||
@@ -940,14 +940,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="Обновить" />
|
||||
@@ -955,17 +955,17 @@ 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="Обновить" />
|
||||
<? 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>';
|
||||
|
||||
@@ -1090,7 +1090,7 @@ if( $roomSection == 1 ) {
|
||||
</FIELDSET>
|
||||
</form>
|
||||
<br />
|
||||
<?
|
||||
<?php
|
||||
//Начисление бонуса награды
|
||||
if( isset( $_GET['buy1'] ) ) {
|
||||
$rt = 1;
|
||||
@@ -1220,7 +1220,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>
|
||||
@@ -1249,7 +1249,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) {
|
||||
?>
|
||||
@@ -1275,7 +1275,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>
|
||||
<?
|
||||
@@ -1300,7 +1300,7 @@ onclick="if (confirm('Сдать все чеки (<?=$chk[0]?> шт.) наход
|
||||
<table width="400" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<form id="from" autocomplete="0" name="from" action="main.php?pz1=<? echo $code; ?>" method="post">
|
||||
<form id="from" autocomplete="0" name="from" action="main.php?pz1=<?= $code; ?>" method="post">
|
||||
<fieldset style='padding-left: 5; width=50%'>
|
||||
<legend><b> Группа </b> </legend>
|
||||
Выберите пещеру:<hr />
|
||||
|
||||
Reference in New Issue
Block a user