</th> <th class="td_c"> <?php echo JText::_('Count of matches'); ?> </th> <th class="td_l"> <?php echo JText::_('Referee function'); ?> </th> </tr> <?php $k = 0; foreach ($this->historyReferee as $station) { $link1 = JoomleagueHelperRoute::getPersonRoute($station->project_id, $station->person_id, '3'); ?> <tr class="<?php echo $k == 0 ? 'sectiontableentry1' : 'sectiontableentry2'; ?> "> <td class="td_l"> <?php echo JHTML::link($link1, $station->pname); ?> </td> <td class="td_l"> <?php echo $station->sname; ?> </td>