Файл: adultscript-2.0.3-pro/files/mobile/templates/default/category.tpl.php
Строк: 37
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div data-role="content">
<?php if ($this->category): ?>
<?php if ($this->videos): ?>
<ul data-role="listview" class="has-video-thumb">
<li data-role="list-divider"><?php echo e($this->title); ?></li>
<?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'; ?>" />
</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; ?>
</ul>
<br />
<center>
<?php echo p('pagination', $this->pagination, MOBILE_REL.'/'.$this->category['slug'].'/') ?>
</center>
<?php else: ?>
<center><strong><cite>No videos found!</cite></strong></center>
<?php endif; ?>
<?php else: ?>
<center><strong><cite>Invalid category!</cite></strong></center>
<?php endif; ?>
</div>