<?php /** * Joomleague * * @copyright Copyright (C) 2006-2015 joomleague.at. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @link http://www.joomleague.at */ defined('_JEXEC') or die; ?> <!-- START: Contentheading --> <div class="contentpaneopen"> <div class="contentheading"> <?php echo $this->pagetitle; if ($this->showediticon) { $modalheight = JComponentHelper::getParams('com_joomleague')->get('modal_popup_height', 600); $modalwidth = JComponentHelper::getParams('com_joomleague')->get('modal_popup_width', 900); $link = JoomleagueHelperRoute::getProjectTeamInfoRoute($this->project->id, $this->team->project_team_id, 'projectteam.edit'); echo ' <a rel="{handler: \'iframe\',size: {x:' . $modalwidth . ',y:' . $modalheight . '}}" href="' . $link . '" class="modal">'; echo JHtml::image("media/com_joomleague/jl_images/edit.png", JText::_('COM_JOOMLEAGUE_TEAMINFO_EDIT'), array("title" => JText::_("COM_JOOMLEAGUE_TEAMINFO_EDIT"))); echo '</a>'; } ?> </div> </div> <!-- END: Contentheading -->
if ($this->config['show_teaminfo_link'] == 1) { $link = JoomleagueHelperRoute::getProjectTeamInfoRoute($this->project->id, $this->highest_away->project_hometeam_id); echo JHtml::link($link, $team); } else { echo $team; } echo " - "; $team = ''; $pic = $this->config['show_picture']; if ($pic != "") { $team .= JoomleagueHelper::getPictureThumb($this->haAwayTeaminfo->{$pic}, $this->haAwayTeaminfo->name, $this->config['team_picture_width'], $this->config['team_picture_height'], 3); $team .= " "; } $team .= $this->haAwayTeaminfo->name; if ($this->config['show_teaminfo_link'] == 1) { $link = JoomleagueHelperRoute::getProjectTeamInfoRoute($this->project->id, $this->highest_away->project_awayteam_id); echo JHtml::link($link, $team); } else { echo $team; } } ?> </td> <td class="statvalue"><br /> <?php if ($this->totals->playedmatches > 0 && $this->highest_away) { echo $this->highest_away->homegoals . $this->overallconfig['seperator'] . $this->highest_away->guestgoals; } ?> </td> </tr>