Замена short_tags и <?php echo.
This commit is contained in:
@@ -4,12 +4,12 @@ if(!defined('GAME')) { die(); }
|
||||
if(!isset($u->tfer['id'])) {
|
||||
?>
|
||||
<script type="text/javascript" src="js/jquery.js"></script>
|
||||
<form method="post" action="main.php?transfer&rnd=<? echo $code; ?>" onmouseup="$( document ).ready(function() { top.chat.inObj = top.frames['main'].document.getElementById('trnLogin'); $('#trnLogin').focus(); });">
|
||||
<form method="post" action="main.php?transfer&rnd=<?= $code; ?>" onmouseup="$( document ).ready(function() { top.chat.inObj = top.frames['main'].document.getElementById('trnLogin'); $('#trnLogin').focus(); });">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="110" align="right"> </td>
|
||||
<td align="center">Передача предметов/кредитов другому игроку</td>
|
||||
<td width="110" align="right"><input type="button" onClick="location='main.php?rnd=<? echo $code; ?>';" name="button" class="btn" id="button" value="Вернуться"></td>
|
||||
<td width="110" align="right"><input type="button" onClick="location='main.php?rnd=<?= $code; ?>';" name="button" class="btn" id="button" value="Вернуться"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
@@ -172,9 +172,9 @@ function s2g()
|
||||
function refmoney(m1,m2)
|
||||
{
|
||||
$('#money1').html('<b>'+m1+'</b>');
|
||||
if(m2><? echo $u->info['money']; ?>)
|
||||
if(m2><?= $u->info['money']; ?>)
|
||||
{
|
||||
m2 = <? echo $u->info['money']; ?>;
|
||||
m2 = <?= $u->info['money']; ?>;
|
||||
}
|
||||
$('#money2').val(m2);
|
||||
}
|
||||
@@ -215,8 +215,8 @@ function clickBtn1()
|
||||
<td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td width="110" align="right"> </td>
|
||||
<td align="center">Передача предметов/кредитов между <? echo $tu[1].' и '.$tu[2]; ?></td>
|
||||
<td width="110" align="right"><input type="button" onclick="location='main.php?transfer&exit_transfer&rnd=<? echo $code; ?>';" name="button2" id="button2" value="Вернуться" /></td>
|
||||
<td align="center">Передача предметов/кредитов между <?= $tu[1].' и '.$tu[2]; ?></td>
|
||||
<td width="110" align="right"><input type="button" onclick="location='main.php?transfer&exit_transfer&rnd=<?= $code; ?>';" name="button2" id="button2" value="Вернуться" /></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
@@ -227,8 +227,8 @@ function clickBtn1()
|
||||
<td valign="top">
|
||||
<table width="100%" style="border:1px solid #909090;" border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td id="s2g1" style="color:#BABABA;background-color:#DCDCDE; border-bottom:1px solid #D0D0D5; border-right:1px solid #909090;"><span style="border-bottom:1px solid #909090;"><img id="gd1" style="float:right;display:none;" width="13" height="13" src="https://img.new-combats.com/i/ready.gif" title="Персонаж готов к обмену" /></span> <? echo $tu[2]; ?> отдаёт:<br /> <span id="money1"><b>0</b>.<small><i>00</i></small></span> кр.</td>
|
||||
<td width="50%" bgcolor="#c0c0c5" style="border-bottom:1px solid #909090;"><img style="float:right;display:none;" width="13" height="13" id="gd2" src="https://img.new-combats.com/i/ready.gif" title="Персонаж готов к обмену" /> Вы отдаёте:<br /> <input id="money2" name="money2" type="text" style="width:37px;" value="0.00" /> кр. из <b><? echo $u->info['money']; ?></b></td>
|
||||
<td id="s2g1" style="color:#BABABA;background-color:#DCDCDE; border-bottom:1px solid #D0D0D5; border-right:1px solid #909090;"><span style="border-bottom:1px solid #909090;"><img id="gd1" style="float:right;display:none;" width="13" height="13" src="https://img.new-combats.com/i/ready.gif" title="Персонаж готов к обмену" /></span> <?= $tu[2]; ?> отдаёт:<br /> <span id="money1"><b>0</b>.<small><i>00</i></small></span> кр.</td>
|
||||
<td width="50%" bgcolor="#c0c0c5" style="border-bottom:1px solid #909090;"><img style="float:right;display:none;" width="13" height="13" id="gd2" src="https://img.new-combats.com/i/ready.gif" title="Персонаж готов к обмену" /> Вы отдаёте:<br /> <input id="money2" name="money2" type="text" style="width:37px;" value="0.00" /> кр. из <b><?= $u->info['money']; ?></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" id="s2g2" style="background-color:#EEEEEE; border-right:1px solid #909090;"> </td>
|
||||
@@ -287,5 +287,5 @@ function clickBtn1()
|
||||
}
|
||||
?>
|
||||
{отображаем лог передач}
|
||||
<? } ?>
|
||||
<div align="right"><? echo $c['counters']; ?></div>
|
||||
<?php } ?>
|
||||
<div align="right"><?= $c['counters']; ?></div>
|
||||
Reference in New Issue
Block a user