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