У Вас код кусками непонятными и неясно что там исправлять и откуда Вы все это взяли. Уточните код. И используйте теги для кода.
А еще лучше - дайте ссылку на сайт.
<?php
defined('_JEXEC') or die;
$document = JFactory::getDocument();
$modulePath = JURI::base(). 'modules/mod_articles_slider/tmpl/';
$document->addStyleSheet($modulePath.'css/mod_articles_slider.css');
$document->addScript($modulePath.'js/mod_articles_slider.js');
$sizeslider = $params['sizeslider'];
$slidertitleoff = $params['slidertitleoff'];
$sliderpagination = $params['sliderpagination'];
$sliderarrow = $params['sliderarrow'];
$slidertop = $params['slidertop'];
$sliderbottom = $params['sliderbottom'];
?>
<div class="newsflash flexslider">
<ul class="slides" style="margin: 0">
<?php foreach ($list as $item) : ?>
<?php $img = json_decode($item->images); ?>
<li style="padding: 0">
<div class="latest-news-full" style="background: #000 url(<?php echo JUri::base().$img->image_intro;?>) center no-repeat; height: <?php echo $sizeslider; ?>px">
<?php echo $item->introtext; ?>
<?php if($slidertitleoff==1):?>
<div class="latest-news-full-title">
<a href="<?php echo $item->link; ?>"><h6> <?php echo $item->title; ?></h6>
</a>
</div>
<?php endif; ?>
</div>
</li>
<?php endforeach; ?>
</ul>
</div>
<style>
<?php if($sliderpagination==0):?>
.flex-control-nav.flex-control-paging{
display: none;
}
<?php endif; ?>
<?php if($sliderarrow==0):?>
.flex-direction-nav{
display: none;
}
<?php endif; ?>
.newsflash.flexslider{
margin-top: <?php echo $slidertop; ?>px;
margin-bottom: <?php echo $sliderbottom; ?>px
}
</style>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('.flexslider').flexslider({
animation: "slide",
animationSpeed: 800,
slideshowSpeed: 7000,
move: 1,
//controlNav: false,
pausePlay: false,
});
});
</script>