Файл: adultscript-2.0.3-pro/files/mobile/templates/default/photo.tpl.php
Строк: 38
<?php defined('_VALID') or die('Restricted Access!'); ?>
<div data-role="content">
<ul data-role="listview"><li data-role="list-divider"><?php echo e($this->photo['title']); ?></li></ul>
<br />
<center><img src="<?php echo PHOTO_URL,'/mobile/',$this->photo['photo_id'],'.',$this->photo['ext'],'" alt="',e($this->photo['caption']); ?>" /></center>
<?php echo p('adv', 'mobile-photo-view'); ?>
<?php if (isset($this->prev_photo) OR isset($this->next_photo)): ?>
<center>
<div data-role="controlgroup" data-type="horizontal">
<?php if (isset($this->prev_photo)): ?>
<a href="<?php echo MOBILE_REL,'/photo/',$this->prev_photo,'/'; ?>" data-role="button" data-theme="b" rel="external">PREV</a>
<?php endif; if (isset($this->next_photo)): ?>
<a href="<?php echo MOBILE_REL,'/photo/',$this->next_photo,'/'; ?>" data-role="button" data-theme="b" rel="external">NEXT</a>
<?php endif; ?>
</div>
</center>
<?php endif; ?>
<?php if ($this->share): $photo_url = BASE_URL.'/photo/'.$this->photo['photo_id'].'/'; ?>
<br />
<center>
<a href="<?php echo MOBILE_REL,'/share/photo/?id=',$this->photo['photo_id']; ?>" rel="external nofollow"><img src="<?php echo TPL_REL; ?>/images/mail.png" alt="" /></a>
<a href="http://m.myspace.com/index.cfm?fuseaction=postto&t=<?php echo __('share-photo-myspace'), '&c', __('share-photo', array($photo_url)),'&u=',$photo_url,'&l="'; ?> rel="nofollow external"><img src="<?php echo TPL_REL; ?>/images/myspace.png" alt="" /></a>
<a href="http://www.google.com/buzz/post?url=<?php echo $photo_url; ?>" rel="external nofollow"><img src="<?php echo TPL_REL; ?>/images/google.png" alt="" /></a>
<a href="http://m.twitter.com/home?status=<?php echo __('share-photo', array($photo_url)); ?>" rel="external nofollow"><img src="<?php echo TPL_REL; ?>/images/twitter.png" alt="" /></a>
</center>
<?php endif; ?>
</div>