Вход Регистрация
Файл: adultscript-2.0.3-pro/files/mobile/templates/default/users.tpl.php
Строк: 84
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <div data-role="content">
        <?php if ($this->page === 1): ?>
        <ul data-role="listview"><li data-role="list-divider"><?php echo e($this->user['username']); ?></li></ul>
        <br />
        <div class="ui-grid-a">
            <div class="ui-block-a">
                <center><img src="<?php echo MEDIA_REL?>/users/<?php if ($this->user['avatar'] != ''): echo $this->user['user_id'],'.',$this->user['avatar']; else: echo 'nopic-',$this->user['gender'],'.gif'; endif; ?>" width="120" /></center>
            </div>
            <div class="ui-block-b">
                <?php echo __('joined'); ?>: <strong><?php echo VDate::nice($this->user['join_date']); ?></strong><br />
                <?php echo __('last-login'),'<strong>'; if ($this->user['login_date'] == '0000-00-00 00:00:00'): echo __('never'); else: echo VDate::nice($this->user['login_date']); endif;?></strong><br />
                <?php echo __('videos-watched'),':<strong> ',$this->user['total_viewed_videos']; ?></strong><br />
                <?php echo __('people-watched-videos', array('<strong>'.$this->username.'</strong>')),':<strong> ',$this->user['total_video_views']; ?></strong><br />
                <?php echo __('profile-viewed'),':<strong> ',$this->user['total_profile_views']; ?></strong>
            </div>
        </div><!-- /grid-a -->
        <?php echo p('adv''mobile-pornstar-view'); ?>
        <?php endif; ?>
        <?php if (isset($this->videos)): ?>
        <br />
        <ul data-role="listview" class="has-video-thumb">
            <li data-role="list-divider"><?php echo e($this->user['username']),' ',__('videos'); ?></li>
            <?php if ($this->videos): ?>
            <?php foreach ($this->videos as $video): ?>
            <li>
                  <a href="<?php echo MOBILE_REL,'/',$video['video_id'],'/',$video['slug'],'/'?>" rel="external">
                      <div class="thumbContainer">
                          <img src="<?php echo THUMB_URL,'/',path($video['video_id']),'/',$video['thumb'],'.jpg'?>" alt="" />
                      </div>
                      <h5><?php echo e($video['title']); ?></h5>
                      <p>Rating: <strong><?php echo $video['rating']; ?></strong></p>
                      <p>Views: <strong><?php echo $video['total_views']; ?></strong></p>
                      <p>Length: <strong><?php echo VDate::seconds_to_time($video['duration'], FALSE); ?></strong></p>
                  </a>
            </li>
            <?php endforeach; ?>
            <br />
            <center><?php echo p('pagination'$this->paginationvCURRENT_URL); ?></center>
            <?php else: ?>
            <br />
            <center><strong><cite>No videos yet!</cite></strong></center>
            <?php endif; ?>
            <br />
        </ul>
        <?php endif; if (isset($this->albums)): ?>
        <br />        
        <ul data-role="listview" class="has-photo-thumb">
            <li data-role="list-divider"><?php echo e($this->user['username']),' ',__('albums'); ?></li>
            <?php if ($this->albums): ?>
            <?php foreach ($this->albums as $album): ?>
            <li class="album">
                  <a href="<?php echo MOBILE_REL,'/album/',$album['album_id'],'/',$album['slug'],'/'?>" rel="external">
                      <div class="pthumbContainer">
                          <img src="<?php echo MEDIA_REL,'/photos/covers/',$album['album_id'],'.jpg'?>" />
                      </div>
                      <h5><?php echo e($album['title']); ?></h5>
                      <p>Photos: <strong><?php echo $album['total_photos']; ?></strong></p>
                      <p>Added: <strong><?php echo VDate::nice($album['add_time']); ?></strong></p>
                  </a>
            </li>
            <?php endforeach; ?>
            <br />
              <center><?php echo p('pagination'$this->paginationaCURRENT_URL); ?></center>
              <?php else: ?>
              <br />
              <center><strong><cite>No photo albums yet!</cite></strong></center>
              <?php endif; ?>
              <br />
          </ul>
        <?php endif; ?>
    </div>
Онлайн: 0
Реклама