Замена short_tags и <?php echo.
This commit is contained in:
@@ -738,7 +738,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
<table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr align="right" valign="top">
|
||||
<td><!-- -->
|
||||
<? echo $goLis; ?>
|
||||
<?= $goLis; ?>
|
||||
<!-- -->
|
||||
<table border="0" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
@@ -752,8 +752,8 @@ if ($u->room['file'] == 'an/bank') {
|
||||
<td bgcolor="#D3D3D3" nowrap="nowrap"><a href="#"
|
||||
id="greyText"
|
||||
class="menutop"
|
||||
onclick="location='main.php?loc=2.180.0.236&rnd=<? echo $code; ?>';"
|
||||
title="<? thisInfRm(
|
||||
onclick="location='main.php?loc=2.180.0.236&rnd=<?= $code; ?>';"
|
||||
title="<?php thisInfRm(
|
||||
'2.180.0.236',
|
||||
1
|
||||
); ?>">Страшилкина
|
||||
@@ -782,7 +782,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
</TR>
|
||||
<TR>
|
||||
<TD valign="top" align="left">
|
||||
<? if ($re2 != '') {
|
||||
<?php if ($re2 != '') {
|
||||
echo '<div align="left"><font color="red">' . $re2 . '</font></div><br>';
|
||||
}
|
||||
if (!isset($u->bank['id'])) {
|
||||
@@ -804,20 +804,20 @@ if ($u->room['file'] == 'an/bank') {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<FORM action="main.php?open&rnd=<? echo $code; ?>" method="POST">
|
||||
<FORM action="main.php?open&rnd=<?= $code; ?>" method="POST">
|
||||
Хотите открыть свой счет? Услуга платная: <INPUT onclick="hidecreatefx();" TYPE="button"
|
||||
value="Открыть счет">
|
||||
<div id="hidecreate" style="display:none">
|
||||
<FIELDSET style="width:300px;">
|
||||
<LEGEND><B>Открытие счета</B></LEGEND>
|
||||
<small>
|
||||
<? if ($u->info['level'] < 8 && \Core\Config::get('zuby')) { ?>
|
||||
<?php if ($u->info['level'] < 8 && \Core\Config::get('zuby')) { ?>
|
||||
<center>
|
||||
<input name="rdn01" type="radio" value="1"> <b>3.00 кр.</b> <input
|
||||
name="rdn01" type="radio" value="2"> <?= $u->zuby(15) ?>
|
||||
</center>
|
||||
<hr/>
|
||||
<? } else {
|
||||
<?php } else {
|
||||
?>
|
||||
<center>
|
||||
<input checked="checked" name="rdn01" type="radio" value="1"> <b>3.00 кр.</b>
|
||||
@@ -853,7 +853,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
</FIELDSET>
|
||||
</div>
|
||||
</FORM>
|
||||
<form action="main.php?enter&rnd=<? echo $code; ?>" method="POST">
|
||||
<form action="main.php?enter&rnd=<?= $code; ?>" method="POST">
|
||||
<br/>
|
||||
<FIELDSET style="width:300px;">
|
||||
<LEGEND><B>Управление счетом</B></LEGEND>
|
||||
@@ -870,8 +870,8 @@ if ($u->room['file'] == 'an/bank') {
|
||||
);
|
||||
while ($pl = mysql_fetch_array($sp)) {
|
||||
?>
|
||||
<option value="<? echo $pl['id']; ?>"
|
||||
selected="selected"><? echo getNum($pl['id']); ?></option>
|
||||
<option value="<?= $pl['id']; ?>"
|
||||
selected="selected"><?= getNum($pl['id']); ?></option>
|
||||
<?
|
||||
}
|
||||
?>
|
||||
@@ -890,7 +890,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
</FIELDSET>
|
||||
</form>
|
||||
<form method=GET action='main.php'>
|
||||
<input type=hidden name='res' value=<? echo $code; ?>>
|
||||
<input type=hidden name='res' value=<?= $code; ?>>
|
||||
<br/>
|
||||
<br/>
|
||||
Забыли пароль? Можно его выслать на email, номер счета:<input type=text name='schet'> <input type="submit"
|
||||
@@ -929,11 +929,11 @@ if ($u->room['file'] == 'an/bank') {
|
||||
</style>
|
||||
<!-- управление счетом -->
|
||||
<FORM action="main.php" method="POST">
|
||||
<INPUT TYPE=hidden name="sd4" value="<? echo $u->info['nextAct']; ?>">
|
||||
<INPUT TYPE=hidden name="sd4" value="<?= $u->info['nextAct']; ?>">
|
||||
<TABLE width=100%>
|
||||
<TR>
|
||||
<TD valign=top width=30%><H4>Управление счетом</H4>
|
||||
<b>Счёт №:</b> <? echo getNum($u->bank['id']); ?> <a href="?exit=<? echo $code; ?>"
|
||||
<b>Счёт №:</b> <?= getNum($u->bank['id']); ?> <a href="?exit=<?= $code; ?>"
|
||||
title="Окончить работу c текущим счетом">[x]</a><br>
|
||||
</TD>
|
||||
<TD valign=top align=center width=40%>
|
||||
@@ -945,11 +945,11 @@ if ($u->room['file'] == 'an/bank') {
|
||||
<TABLE>
|
||||
<TR>
|
||||
<TD>Кредитов:</TD>
|
||||
<TD><B><? echo $u->round2($u->bank['money1']); ?></B></TD>
|
||||
<TD><B><?= $u->round2($u->bank['money1']); ?></B></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Еврокредитов:</TD>
|
||||
<TD><B><? echo $u->round2($u->bank['money2']); ?></B></TD>
|
||||
<TD><B><?= $u->round2($u->bank['money2']); ?></B></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD colspan=2>
|
||||
@@ -958,11 +958,11 @@ if ($u->room['file'] == 'an/bank') {
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>При себе наличных:</TD>
|
||||
<TD><B><? echo $u->round2($u->info['money']); ?> кр.</B></TD>
|
||||
<TD><B><?= $u->round2($u->info['money']); ?> кр.</B></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>При себе наличных:</TD>
|
||||
<TD><B><? echo $u->round2($u->info['money2']); ?> Екр.</B></TD>
|
||||
<TD><B><?= $u->round2($u->info['money2']); ?> Екр.</B></TD>
|
||||
</TR>
|
||||
|
||||
</TABLE>
|
||||
@@ -1057,23 +1057,23 @@ if ($u->room['file'] == 'an/bank') {
|
||||
<fieldset>
|
||||
<legend><b>Обменный пункт</b></legend>
|
||||
Обменять еврокредиты на кредиты.<br/>
|
||||
Курс <b>1 екр.</b> = <b><? echo $con; ?>.00 кр.</b><br/>
|
||||
Курс <b>1 екр.</b> = <b><?= $con; ?>.00 кр.</b><br/>
|
||||
Сумма
|
||||
<input type="text" name="convert_sum" id="convert_sum" size="6" maxlength="10"/>
|
||||
екр.
|
||||
<input type="submit" name="convert_ekredit"
|
||||
value="Обменять" <? /*onclick="return confirm('Вы хотите обменять '+(Math.floor(document.getElementById('convert_sum').value*100)/100).toFixed(2)+' екр. на '+(Math.floor(document.getElementById('convert_sum').value*100)/100*<? echo (0+$con); ?>).toFixed(2)+' кр. ?');" */ ?> />
|
||||
value="Обменять" <?php /*onclick="return confirm('Вы хотите обменять '+(Math.floor(document.getElementById('convert_sum').value*100)/100).toFixed(2)+' екр. на '+(Math.floor(document.getElementById('convert_sum').value*100)/100*<?= (0+$con); ?>).toFixed(2)+' кр. ?');" */ ?> />
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<? if ($u->info['align'] != 2 && $u->info['haos'] < time(
|
||||
<?php if ($u->info['align'] != 2 && $u->info['haos'] < time(
|
||||
) && $u->info['haos'] != 1 && \Core\Config::get('crtoecr') > 0) { ?>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<fieldset style="background-color:#DDEAD7">
|
||||
<legend><b>Обменный пункт</b></legend>
|
||||
Обменять кредиты на еврокредиты.<br/>
|
||||
Курс <b><? echo $noc; ?> кр.</b> = <b>1.00 екр.</b><br/>
|
||||
Курс <b><?= $noc; ?> кр.</b> = <b>1.00 екр.</b><br/>
|
||||
Сумма
|
||||
<input type="text" name="convert_sum2" id="convert_sum2" size="6"
|
||||
maxlength="10"/>
|
||||
@@ -1081,11 +1081,11 @@ if ($u->room['file'] == 'an/bank') {
|
||||
<br/>
|
||||
<small>Комиссия составляет <b>3.00 %</b> от суммы, а так-же <b>5.00 кр</b>.</small>
|
||||
<input type="submit" name="convert_kredit" value="Обменять"
|
||||
onclick="return confirm('Вы хотите обменять '+(5+Math.floor((document.getElementById('convert_sum2').value)*103)/100).toFixed(2)+' кр. на '+(Math.floor(document.getElementById('convert_sum2').value*100)/100/<? echo $noc; ?>).toFixed(2)+' екр. ?');"/>
|
||||
onclick="return confirm('Вы хотите обменять '+(5+Math.floor((document.getElementById('convert_sum2').value)*103)/100).toFixed(2)+' кр. на '+(Math.floor(document.getElementById('convert_sum2').value*100)/100/<?= $noc; ?>).toFixed(2)+' екр. ?');"/>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<? }
|
||||
<?php }
|
||||
if ($u->info['admin'] > 1000) {
|
||||
?>
|
||||
<tr>
|
||||
@@ -1107,7 +1107,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
<fieldset>
|
||||
@@ -1208,7 +1208,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
информацию</font></center>
|
||||
</small></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<?php } ?>
|
||||
</table>
|
||||
</fieldset>
|
||||
</td>
|
||||
@@ -1226,7 +1226,7 @@ if ($u->room['file'] == 'an/bank') {
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<small><? echo '<font color="green">' . date(
|
||||
<small><?= '<font color="green">' . date(
|
||||
'd.m.Y H:i', $pl['time']
|
||||
) . '</font> ';
|
||||
echo $pl['text']; ?></small></td>
|
||||
|
||||
Reference in New Issue
Block a user