code cleaning
This commit is contained in:
parent
f557ee321c
commit
c30553e74c
28
bank.php
28
bank.php
@ -69,19 +69,6 @@ if ($move_ekr['ekr']>0) {
|
||||
</head>
|
||||
<body>
|
||||
<h1>Банк</h1>
|
||||
<table class='adm'>
|
||||
<tr>
|
||||
<th>№</th>
|
||||
<th>Кредитов.</th>
|
||||
<th>ЕвроКредитов.</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= $bank['id'] ?></td>
|
||||
<td><?= $bank['cr'] ?></td>
|
||||
<td><?= $bank['ekr'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br>
|
||||
<?php
|
||||
$get = urldecode(filter_input(INPUT_SERVER, 'QUERY_STRING'));
|
||||
if ($get == 'exit') {
|
||||
@ -192,7 +179,6 @@ if (!$_SESSION['bankid']) {
|
||||
<p><a href="?exit"> ← выйти из счёта</a></p>
|
||||
<div class="appblock">
|
||||
<span>Денежные средства</span>
|
||||
Кредитов на руках: <b><?= $user['money'] ?></b> кр.<br>
|
||||
<form method="post">
|
||||
<input size="10" name="summa" placeholder="Сумма">
|
||||
<input type="hidden" name="action" value="money-in">
|
||||
@ -203,6 +189,7 @@ if (!$_SESSION['bankid']) {
|
||||
<input type="hidden" name="action" value="money-out">
|
||||
<input type="submit" value="Снять со счёта">
|
||||
</form>
|
||||
<i>Кредитов на руках: <b><?= $user['money'] ?></b> кр.</i>
|
||||
</div>
|
||||
<div class="appblock">
|
||||
<span>Перевод кредитов</span>
|
||||
@ -223,6 +210,19 @@ if (!$_SESSION['bankid']) {
|
||||
</form>
|
||||
<i>Курс обмена: 1:5.</i>
|
||||
</div>
|
||||
<br>
|
||||
<table class='adm'>
|
||||
<tr>
|
||||
<th>№</th>
|
||||
<th>Кредитов.</th>
|
||||
<th>ЕвроКредитов.</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?= $bank['id'] ?></td>
|
||||
<td><?= $bank['cr'] ?></td>
|
||||
<td><?= $bank['ekr'] ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?
|
||||
} # Очень важная и гордая кавычка!
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user