big-moving.ru/api/mod/my-deps.html

50 lines
1.6 KiB
HTML
Executable File

{include file=$header h1="Мои депозиты" title="Мои депозиты"}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Главная страница</a></li>
<li class="breadcrumb-item"><a href="/cabinet/">Кабинет</a></li>
<li class="breadcrumb-item active" aria-current="page">Мои депозиты</li>
</ol>
</nav>
<table class="table">
<tr>
<td>Вложил</td>
<td>Прогресс</td>
<td>Получу</td>
</tr>
{section name=customer loop=$list}
{if $list[customer].id}
<tr>
<td>
{$list[customer].summa}
</td>
<td>
<div class="progress">
<div class="progress-bar" style="width: {math equation="(z-x)/(y-x)*100" x=$list[customer].start y=$list[customer].srok z=$smarty.now}%;"></div>
</div>
{math equation="(z-x)/(y-x)*100" x=$list[customer].start y=$list[customer].srok z=$smarty.now}%
</td>
<td>
{math equation="(x+(( x /100 )*y))" x=$list[customer].summa y=$list[customer].procent}
</td>
</tr>
{* <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2" style="text-align:center;">
<a href="/page_all/{$cats[customer].id}"><img src="/api/img/gray/folder_grey_open_128x128.png" style="width: 80%;"></a><br>
<div style="height: 55px;">
<a href="/page_all/{$cats[customer].id}"><b>{$cats[customer].txt}</b></a><br>
</div>
<a href="/edit_cat/{$cats[customer].id}">Изменить</a> | <a href="/del_cat/{$cats[customer].id}">Удалить</a>
</div>*}
{/if}
{/section}
</table>
{include file=$footer}