Файл: adultscript-2.0.3-pro/files/mobile/templates/default/users_subscriptions.tpl.php
Строк: 38
<?php defined('_VALID') or die('Restricted Access!'); $now = time()-1800; ?>
<?php echo $this->fetch('users_header'); ?>
<h3><?php echo __('subscriptions-title'),' (',$this->pagination['total_items']; ?>)</h3>
</div>
<div class="ui-body ui-body-b">
<?php if ($this->subscriptions): ?>
<ul data-role="listview">
<?php foreach ($this->subscriptions as $user): ?>
<li>
<a href="<?php echo MOBILE_REL,'/users/',e($user['username']),'/'; ?>" rel="external">
<img src="<?php echo MEDIA_URL; ?>/users/<?php if ($user['avatar'] != ''): echo $user['user_id'],'.',$user['avatar']; else: echo 'nopic-',$user['gender'],'.gif'; endif; ?>" alt="" />
<h3><?php echo e($user['username']); if ($user['online'] > $now): echo '<span class="ui-li-count">Online</span>'; endif; ?></h3>
</a>
</li>
<?php endforeach; ?>
<br>
<center><?php echo p('pagination', $this->pagination, MOBILE_REL.'/users/'.e($this->username).'/subscriptions/#PAGE#/') ?></center>
</ul>
<?php else: ?>
<div class="none"><?php echo __('no-subscriptions', array($this->username)); ?></div>
<?php endif; ?>
<?php echo $this->fetch('users_footer'); ?>