Файл: adultscript-2.0.3-pro/files/mobile/templates/default/pornstar_view.tpl.php
Строк: 89
<?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->pornstar['name']); ?></li></ul>
<br />
<div class="ui-grid-a">
<div class="ui-block-a">
<center><img src="<?php echo MODEL_URL,'/',$this->pornstar['model_id'],'.',$this->pornstar['ext'],'" alt="',e($this->pornstar['name']); ?>" width="120" /></center>
</div>
<div class="ui-block-b">
Aliases: <strong><?php echo e($this->pornstar['aliases']); ?></strong><br />
Ethnicity: <strong><?php echo e($this->pornstar['ethnicity']); ?></strong><br />
Birthday: <strong><?php echo VDate::format($this->pornstar['birth_date'], 'M d, Y'); ?></strong><br />
Measurements: <strong><?php echo e($this->pornstar['measurements']); ?></strong><br />
Hair Color: <strong><?php echo e($this->pornstar['hair_color']); ?></strong><br />
Eye Color: <strong><?php echo e($this->pornstar['eye_color']); ?></strong><br />
</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->videos_title); ?></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 round(($video['rating']*100)/5); ?>%</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->vpagination, MOBILE_REL.'/pornstar/'.$this->pornstar['slug'].'/videos/#PAGE#/'); ?></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->albums_title); ?></li>
<?php if ($this->albums): ?>
<?php foreach ($this->albums as $album): ?>
<li>
<a href="<?php echo MOBILE_REL,'/album/',$album['album_id'],'/',$album['slug'],'/'; ?>" rel="external">
<div class="pthumbContainer">
<img src="<?php echo PHOTO_URL,'/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->apagination, MOBILE_REL.'/pornstar/'.$this->pornstar['slug'].'/photos/#PAGE#/'); ?></center>
<?php else: ?>
<br />
<center><strong><cite>No photo albums yet!</cite></strong></center>
<?php endif; ?>
<br />
</ul>
<?php endif; ?>
</div>