示例#1
0
                    ?>
						<td class="personname">
							<?php 
                    echo modJLGStatHelper::printName($item, $team, $params, $list['project']);
                    ?>
						</td>
					<?php 
                    if ($showTeam == 1) {
                        ?>
						<td class="team">
						<?php 
                        if ($showLogo > 0) {
                            echo modJLGStatHelper::getLogo($team, $showLogo);
                        }
                        if ($teamLink) {
                            echo JHtml::link(modJLGStatHelper::getTeamLink($team, $params, $list['project']), $team->{$teamnametype});
                        } else {
                            echo $team->{$teamnametype};
                        }
                        ?>
						</td>
						<?php 
                    }
                    ?>
						<td class="td_c"><?php 
                    echo $item->total;
                    ?>
</td>
					</tr>
					<?php 
                    $k = 1 - $k;
<?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;
require_once dirname(__FILE__) . '/helper.php';
require_once JPATH_SITE . '/components/com_joomleague/joomleague.core.php';
$list = modJLGStatHelper::getData($params);
$document = JFactory::getDocument();
//add css file
$document->addStyleSheet(JUri::base() . 'modules/mod_joomleague_statranking/css/mod_joomleague_statranking.css');
require JModuleHelper::getLayoutPath('mod_joomleague_statranking');