Вход Регистрация
Файл: adultscript-2.0.3-pro/files/mobile/templates/default/users_videos.tpl.php
Строк: 138
<?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->public_videos): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">
                <h3><?php echo __('videos-public-title'),' (',$this->total_public_videos?>)</h3>
                <?php if ($this->total_public_videos 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/videos/public/" 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" class="has-video-thumb">
                      <?php foreach ($this->public_videos as $video): $percent $percent = ($video['rating'] == 0) ? 100 round(($video['rating']*100)/5); ?>
                      <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'?>" /></div>
                              <h5><?php echo e($video['title']); ?></h5>
                              <p><?php echo __('rating'); ?>: <strong><?php echo $percent?>%</strong></p>
                              <p><?php echo __('views'); ?>: <strong><?php echo $video['total_views']; ?></strong></p>
                              <p><?php echo __('length'); ?>: <strong><?php echo VDate::seconds_to_time($video['duration'], FALSE); ?></strong></p>
                          </a>
                      </li>
                      <?php endforeach; ?>
                  </ul>
            </div>
        </div>
        <?php endif; if ($this->private_videos): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">
                <h3><?php echo __('videos-private-title'),' (',$this->total_private_videos?>)</h3>
                <?php if ($this->total_private_videos 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/videos/private/" 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" class="has-video-thumb">
                      <?php foreach ($this->private_videos as $video): $percent $percent = ($video['rating'] == 0) ? 100 round(($video['rating']*100)/5); ?>
                      <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'?>" /></div>
                              <h5><?php echo e($video['title']); ?></h5>
                              <p><?php echo __('rating'); ?>: <strong><?php echo $percent?>%</strong></p>
                              <p><?php echo __('views'); ?>: <strong><?php echo $video['total_views']; ?></strong></p>
                              <p><?php echo __('length'); ?>: <strong><?php echo VDate::seconds_to_time($video['duration'], FALSE); ?></strong></p>
                          </a>
                      </li>
                      <?php endforeach; ?>
                  </ul>
            </div>
        </div>
        <?php endif; if ($this->watched_videos): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">
                <h3><?php echo __('videos-watched-title'),' (',$this->total_watched_videos?>)</h3>
                <?php if ($this->total_watched_videos 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/videos/history/" 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" class="has-video-thumb">
                      <?php foreach ($this->watched_videos as $video): $percent $percent = ($video['rating'] == 0) ? 100 round(($video['rating']*100)/5); ?>
                      <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'?>" /></div>
                              <h5><?php echo e($video['title']); ?></h5>
                              <p><?php echo __('rating'); ?>: <strong><?php echo $percent?>%</strong></p>
                              <p><?php echo __('views'); ?>: <strong><?php echo $video['total_views']; ?></strong></p>
                              <p><?php echo __('length'); ?>: <strong><?php echo VDate::seconds_to_time($video['duration'], FALSE); ?></strong></p>
                          </a>
                      </li>
                      <?php endforeach; ?>
                  </ul>
            </div>
        </div>
        <?php endif; if ($this->total_favorites): ?>
        <div class="ui-corner-all custom-corners">
            <div class="ui-bar ui-bar-b">
                <h3><?php echo __('favorite-title'),' (',$this->total_favorites?>)</h3>
                <?php if ($this->total_favorites 2): ?><a href="<?php echo MOBILE_REL,'/users/',e($this->username),'/videos/favorites/" 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" class="has-video-thumb">
                      <?php foreach ($this->favorites as $video): $percent $percent = ($video['rating'] == 0) ? 100 round(($video['rating']*100)/5); ?>
                      <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'?>" /></div>
                              <h5><?php echo e($video['title']); ?></h5>
                              <p><?php echo __('rating'); ?>: <strong><?php echo $percent?>%</strong></p>
                              <p><?php echo __('views'); ?>: <strong><?php echo $video['total_views']; ?></strong></p>
                              <p><?php echo __('length'); ?>: <strong><?php echo VDate::seconds_to_time($video['duration'], FALSE); ?></strong></p>
                          </a>
                      </li>
                      <?php endforeach; ?>
                  </ul>
            </div>
        </div>
        <?php endif; ?>
    </div>
Онлайн: 0
Реклама