Файл: templates/user/moneyback.tpl
Строк: 65
<? $this->layout('app', ['title' => 'Вывод средств'])
?>
<? $this->start('container') ?>
<section
class="pt-120 pb-90 default-bg">
<div
class="container">
<div
class="row">
<div
class="col-lg-12">
<div class="post-content-block
contact-form parsley-validate" data-animate="fadeInUp">
<h4 class="font-weight-bold
mb-3">Вывод средств</h4>
<div class="form-response"></div>
<form action="/moneyback"
method="POST">
<div
class="row half-gutter">
<div class="col-md-8">
<div
class="form-group">
<label>Сумма для вывода *</label>
<i class="fa fa-question-circle"
aria-hidden="true" title="Минимальная сумма
для вывода 10 руб." rel="tooltip"></i>
<input type="text"
name="money" min="10"
class="theme-input-style"
value="<?=$user->get()->money;?>">
</div>
</div>
<div class="col-md-8">
<div class="form-group">
<label>Кошелек для
вывода:*</label>
<select id="select" name="type"
class="form-control">
<option value="0"
disabled>Выберите кошелек для
вывода</option>
<?php
if(!empty($user->get()->qiwi)){?>
<option
value="2">QIWI -
<?=$user->get()->qiwi;?></option>
<?} ?>
<?php if(!empty($user->get()->yandex)){?>
<option
value="1">Яндекс Деньги -
<?=$user->get()->yandex;?></option>
<?php }
?>
<?php
if(!empty($user->get()->bitcoin)){?>
<option
value="3">Bitcoin -
<?=$user->get()->bitcoin;?></option>
<?}?>
</select>
</div>
</div>
<div class="col-md-8">
<div class="form-group">
<button class="btn btn-lg btn-block" name="submit"
type="submit">Вывести</button>
</div>
</div>
</div>
</form>
<?php
if(count($items) >
0){?>
<br>
<hr>
<br>
<div class="row">
<div class="col">
<div class="row
justify-content-center">
<div
class="col-xl-6 col-lg-8">
<div
class="section-title text-center"
data-animate="fadeInUp">
<h1>Заявки на вывод</h1>
</div>
</div>
</div>
<!-- features table wrap inner -->
<div class="features-table-wrap"
data-animate="fadeInUp">
<div
class="table-responsive-lg">
<table class="features-table pt-sans text-center mb-0
table">
<tbody>
<tr>
<th>Дата</th>
<th>Сумма</th>
<th>Статус</th>
</tr>
<?php foreach ($items as $row): ?>
<tr>
<td><?=date_ru($row['time']);?></td>
<td><?=price_format($row['money'],$row['type']);?></td>
<td><?=$array[$row['status']];?></td>
</tr>
<?php endforeach; ?>
</tbody>
<!-- End Table body
-->
</table>
</div>
</div>
<!--
features table wrap inner -->
<?php } ?>
</div>
</div>
</div>
</section>
<?
$this->stop() ?>