Файл: templates/frontend/dark-purple/user_subscriptions.tpl
Строк: 84
<script type="text/javascript">
var
lang_favorites_remove_confirm = "{t
c='favorites.remove_confirm'}";
</script>
<div
class="container mt-3">
{include
file='user_info.tpl'}
<div class="user-right">
{if
$subscriptions}
<div>
<div class="well-filters
mb-1">
<div
class="float-left">
<h1>{t
c='user.subscriptions'}</h1>
</div>
<div
class="clearfix"></div>
</div>
<div
class="well-info">
{if $subscriptions}
{t
c='global.showing'} <span
class="text-highlighted">{$start_num}</span> {t
c='global.to'} <span
class="text-highlighted">{$end_num}</span> {t
c='global.of'} <span
class="text-highlighted">{$subscriptions_total}</span>
{t c='subscription.subscriptions'}.
{/if}
</div>
<div
class="row content-row {if isset($smarty.session.uid) &&
$smarty.session.uid == $user.UID}my{/if}">
{section name=i
loop=$subscriptions}
<div
id="subscriptions_block_{$subscriptions[i].UID}"
class="col-6 col-sm-6 col-md-6 col-lg-3
col-xl-3">
<a
href="{$relative}/user/{$subscriptions[i].username}">
<div
class="thumb-overlay">
<img
src="{$relative}/media/users/{if $subscriptions[i].photo ==
''}nopic-{$subscriptions[i].gender}.gif{else}{$subscriptions[i].photo}{/if}"
alt="{$subscriptions[i].username}'s avatar"
class="img-responsive"/>
</div>
</a>
<div
class="content-info">
<a
href="{$relative}/user/{$subscriptions[i].username}">
<span
class="content-truncate {if $subscriptions[i].rate !=
0}content-ml{/if}">{$subscriptions[i].username|escape:'html'}</span>
</a>
{if
$subscriptions[i].rate != 0}
<span class="content-rating
content-mr"><i class="fas fa-thumbs-up"></i>
<span>{$subscriptions[i].rate}%</span></span>
{/if}
</div>
</div>
{/section}
</div>
{if
$page_link}
<div class="d-block
d-sm-none">
<ul class="pagination
pagination-lg">{$page_link}</ul>
</div>
<div
class="d-none d-sm-block">
<ul
class="pagination">{$page_link}</ul>
</div>
{/if}
</div>
{/if}
</div>
</div>