<?php if ($params->get('show_team_name', 0)) { ?> <?php echo $list['project']->team_name; } ?> </div> </h1> <?php foreach (array_slice($list['roster'], 0, $params->get('limit', 24)) as $items) { ?> <li> <ul class="modjlgplayer"> <?php foreach (array_slice($items, 0, $params->get('limit', 24)) as $item) { ?> <li><?php echo modJLGTeamPlayersHelper::getPlayerLink($item, $params); ?> </li> <?php } ?> </ul> </li> <?php } ?> </ul> </div>
<?php /** * @package Joomla * @subpackage Joomleague teamplayers module * @copyright Copyright (C) 2005-2015 joomleague.at. All rights reserved. * @license GNU/GPL, see LICENSE.php * Joomla! is free software. This version may have been modified pursuant to the * GNU General Public License, and as distributed it includes or is derivative * of works licensed under the GNU General Public License or other free or open * source software licenses. See COPYRIGHT.php for copyright notices and * details. */ defined('_JEXEC') or die; // get helper require_once dirname(__FILE__) . '/helper.php'; require_once JPATH_SITE . '/components/com_joomleague/joomleague.core.php'; $list = modJLGTeamPlayersHelper::getData($params); $document = JFactory::getDocument(); //add css file $document->addStyleSheet(JUri::base() . 'modules/mod_joomleague_teamplayers/css/mod_joomleague_teamplayers.css'); require JModuleHelper::getLayoutPath('mod_joomleague_teamplayers');
<?php if ($params->get('show_team_name', 0)) { ?> <?php echo $list['project']->team_name; } ?> </div> </h1> <?php foreach (array_slice($list['roster'], 0, $params->get('limit', 24)) as $items) { ?> <li> <ul class="modjlgplayer"> <?php foreach (array_slice($items, 0, $params->get('limit', 24)) as $item) { ?> <li><?php echo modJLGTeamPlayersHelper::getPlayerLink($item, $params, $list['project']); ?> </li> <?php } ?> </ul> </li> <?php } ?> </ul>