Вход Регистрация
Файл: adultscript-2.0.3-pro/files/mobile/templates/default/users_connections.tpl.php
Строк: 105
<?php defined('_VALID') or die('Restricted Access!'); $now time()-1800?>
    <div data-role="content">
        <?php echo $this->fetch('users_menu'); ?>
        <?php echo $this->fetch('users_top'); ?>
        <?php if ($this->friends): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">    
                <h3><?php echo __('friends-title'),' (',$this->total_friends?>)</h3>
                <?php if ($this->total_friends 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/friends/" class="ui-btn ui-btn-inline ui-btn-right ui-mini ui-corner-all ui-shadow button-right">',__('see-all'); ?></a><?php endif; ?>
            </div>
            <div class="ui-body ui-body-b">
                  <ul data-role="listview">
                      <?php foreach ($this->friends 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; ?>
                  </ul>
            </div>
        </div>
        <?php endif; if ($this->total_subscribers): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">
                <h3><?php echo __('subscribers-title'),' (',$this->total_subscribers?>)</h3>
                <?php if ($this->total_subscribers 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/subscribers/" class="ui-btn ui-btn-inline ui-btn-right ui-mini ui-corner-all ui-shadow button-right">',__('see-all'); ?></a><?php endif; ?>
            </div>
            <div class="ui-body ui-body-b">
                  <ul data-role="listview">
                      <?php foreach ($this->subscribers 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; ?>
                  </ul>
            </div>
        </div>
        <?php endif; if ($this->total_subscriptions): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">
                <h3><?php echo __('subscriptions-title'),' (',$this->total_subscriptions?>)</h3>
                <?php if ($this->total_subscriptions 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/subscriptions/" class="ui-btn ui-btn-inline ui-btn-right ui-mini ui-corner-all ui-shadow button-right">',__('see-all'); ?></a><?php endif; ?>
            </div>
            <div class="ui-body ui-body-b">
                  <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; ?>
                  </ul>
            </div>
        </div>
        <?php endif; ?>
    </div>
Онлайн: 0
Реклама