| Current Path : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/modules/mod_random_image/tmpl/ |
| Current File : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/modules/mod_random_image/tmpl/default.php |
<?php
/**
* @package Joomla.Site
* @subpackage mod_random_image
*
* @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<div class="random-image<?php echo $moduleclass_sfx ?>">
<?php if ($link) : ?>
<a href="<?php echo $link; ?>">
<?php endif; ?>
<?php echo JHtml::_('image', $image->folder.'/'.$image->name, $image->name, array('width' => $image->width, 'height' => $image->height)); ?>
<?php if ($link) : ?>
</a>
<?php endif; ?>
</div>