function getChampLogo($ProjectID, $champ_tipp) { $option = JRequest::getCmd('option'); $mainframe =& JFactory::getApplication(); $sChampTeamsList = explode(';', $champ_tipp); foreach ($sChampTeamsList as $key => $value) { $dChampTeamsList[] = explode(',', $value); } foreach ($dChampTeamsList as $key => $value) { $champTeamsList[$value[0]] = $value[1]; } //$mainframe->enqueueMessage(JText::_('champTeamsList -> '.'<pre>'.print_r($champTeamsList,true).'</pre>' ),''); $projectteamid = $champTeamsList[$ProjectID]; $teaminfo = JoomleagueModelProject::getTeaminfo($projectteamid); //$mainframe->enqueueMessage(JText::_('champTeamsList -> '.'<pre>'.print_r($teaminfo->logo_big,true).'</pre>' ),''); return $teaminfo; }