<?php
/**
 * @package		Joomla.Site
 * @subpackage	mod_articles_news
 * @copyright	Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
$item_heading = $params->get('item_heading', 'h');

$images  = json_decode($item->images);


?>
<div class="imageElement" style="z-index:0;">
		<?php if ($s5_hideh2 == "true") { ?>
		<h3><?php echo $item->title; ?></h3>
		<?php } ?>
		<p style="text-shadow:1px 1px #000000;"><?php echo $item->introtext; ?>
		
		<?php if (isset($item->link) && $item->readmore != 0 && $params->get('readmore')) : ?>
			<?php echo '<a class="readmore readon" href="' . $item->link . '">' . $item->linkText . '</a>'; ?>
		<?php endif; ?>
		</p>
		
		<?php if ($s5_articlelink == "false")  { ?>
			<a href="javascript:;" title="open image" class="open"></a>
		<?php } else { ?>
			<?php echo '<a title="open image" class="open" href="' . $item->link . '">' . $item->linkText . '</a>'; ?>
		<?php } ?>
		
		<img alt="<?php echo $images->image_intro; ?>" src="<?php echo JURI::root();?><?php echo $images->image_intro; ?>" class="full" />
		<img alt="<?php echo $images->image_intro; ?>" src="<?php echo JURI::root();?><?php echo $images->image_intro; ?>" class="thumbnail" />				
</div>



