<?php
/**
* @name 		Amplify News Ticker Module
* @author 		Amplify
* @package		Joomla
* @copyright	Copyright (C) 2008 Amplify
* @license		GNU/GPL
* 
* The Amplify News Ticker provides a mootools fading ticker of your latest news items to your Joomla! site.
*/

// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<div id="ampnewsticker<?php echo $class_suffix; ?>" style='width: <?php echo $total_width; ?>px;'>
	<div id="ampnewsticker_border">
		<div class='ampnewsticker_label' style='width: <?php echo $label_width; ?>px;'>
			<span><?php echo $label; ?></span>
		</div>
		<div class='ampnewsticker_divider'></div>
		<div class='ampnewsticker_container' style='width: <?php echo $text_width; ?>px;'>
			<div class="moostick">
				<ul>
				<?php
				foreach ( $list as $list_item )
				{
					echo "<li class='ampnewsticker_item'>$list_item</li>";
				}
				?>
				</ul>
			</div>
		</div>
		<span class='ampnewsticker_left_side'></span>
		<span class='ampnewsticker_right_side'></span>
	</div>
</div>