text: <?php
  /** 
   *------------------------------------------------------------------------------
   * @package       T3 Framework for Joomla!
   *------------------------------------------------------------------------------
   * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
   * @license       GNU General Public License version 2 or later; see LICENSE.txt
   * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github 
   *                & Google group to become co-author)
   * @Google group: https://groups.google.com/forum/#!forum/t3fw
   * @Link:         http://t3-framework.org 
   *------------------------------------------------------------------------------
   */
  
  // No direct access
  defined('_JEXEC') or die;
  ?>
  <?php
  	$name      = $vars['name'];
  	$splparams = $vars['splparams'];
  	$datas     = $vars['datas'];
  	$cols      = $vars['cols'];
  	$addcls    = isset($vars['class']) ? $vars['class'] : '';
  	$style     = isset($vars['style']) && $vars['style'] ? $vars['style'] : 'T3Xhtml';
  	$tstyles   = explode(',', $style);
  
  	if(count($tstyles) == 1){
  		$styles = array_fill(0, $cols, $style);
  	} else {
  
  		$styles = array_fill(0, $cols, 'T3Xhtml');
  		foreach ($tstyles as $i => $stl) {
  			if(trim($stl)){
  				$styles[$i] = trim($stl);
  			}
  		}
  	}
  	?>
  	<!-- SPOTLIGHT -->
  	<div class="t3-spotlight t3-<?php echo $name, ' ', $addcls, ' ', T3_BASE_ROW_FLUID_PREFIX ?>">
  		<?php
  		foreach ($splparams as $i => $splparam):
  			$param = (object)$splparam;
  		?>
  			<div class="<?php echo $datas[$i] ?>">
  				<?php if ($this->countModules($param->position)) : ?>
  				<jdoc:include type="modules" name="<?php echo $param->position ?>" style="<?php echo $styles[$i] ?>"/>
  				<?php else: ?>
  				&nbsp;
  				<?php endif ?>
  			</div>
  		<?php endforeach ?>
  	</div>
  <!-- SPOTLIGHT -->