if ($params->get('show_logo', 0)) {
        ?>
				<?php 
        echo modJLGTeamStatHelper::getLogo($team, $params->get('show_logo', 0));
        ?>
				<?php 
    }
    ?>
			
			</td>
			<td class="team">
				<?php 
    if ($params->get('teamlink', '')) {
        ?>
				<?php 
        echo JHTML::link(modJLGTeamStatHelper::getTeamLink($team, $params, $list['project']), $team->{$teamnametype});
        ?>
				<?php 
    } else {
        ?>
				<?php 
        echo $team->{$nametype};
        ?>
				<?php 
    }
    ?>
			</td>
			<td class="td_c"><?php 
    echo $item->total;
    ?>
</td>
<?php

/**
 * @package	 	Joomla
 * @subpackage  Joomleague stats 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 = modJLGTeamStatHelper::getData($params);
$document = JFactory::getDocument();
//add css file
$document->addStyleSheet(JUri::base() . 'modules/mod_joomleague_teamstats_ranking/css/mod_joomleague_teamstats_ranking.css');
require JModuleHelper::getLayoutPath('mod_joomleague_teamstats_ranking');