if (isset($this->division)) {
        $title = JText::sprintf('COM_JOOMLEAGUE_RESULTS_ROUND_RESULTS2', '<i>' . $this->division->name . '</i>');
    }
    JoomleagueHelperHtml::showMatchdaysTitle($title, $this->roundid, $this->config);
    if ($this->showediticon) {
        $link = JoomleagueHelperRoute::getResultsRoute($this->project->id, $this->roundid, $this->model->divisionid, $this->model->mode, $this->model->order, $this->config['result_style_edit']);
        $imgTitle = JText::_('COM_JOOMLEAGUE_RESULTS_ENTER_EDIT_RESULTS');
        $desc = JHTML::image('media/com_joomleague/jl_images/edit.png', $imgTitle, array(' title' => $imgTitle));
        echo ' ';
        echo JHTML::link($link, $desc);
    }
} else {
    //1 request for current round
    // seems to be this shall show a plan of matches of a team???
    JoomleagueHelperHtml::showMatchdaysTitle(JText::_('COM_JOOMLEAGUE_RESULTS_PLAN'), 0, $this->config);
}
?>
		</td>
			<?php 
if ($this->config['show_matchday_dropdown'] == 1) {
    ?>
	            <td class="contentheading" style="text-align:right; font-size: 100%;">
			<?php 
    echo JoomleagueHelperHtml::getRoundSelectNavigation(FALSE);
    ?>
				</td>
    	    <?php 
}
?>
		</tr>
</table>
    }
    JoomleagueHelperHtml::showMatchdaysTitle($title, $this->roundid, $this->config, $this->project, $this->overallconfig);
    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::getResultsRoute($this->project->id, $this->roundid, $this->model->divisionid, $this->model->mode, $this->model->order, 'match.display');
        echo ' <a rel="{handler: \'iframe\',size: {x:' . $modalwidth . ',y:' . $modalheight . '}}" href="' . $link . '" class="modal">';
        $imgTitle = JText::_('COM_JOOMLEAGUE_RESULTS_ENTER_EDIT_RESULTS');
        echo JHtml::image('media/com_joomleague/jl_images/edit.png', $imgTitle, array(' title' => $imgTitle));
        echo '</a>';
    }
} else {
    //1 request for current round
    // seems to be this shall show a plan of matches of a team???
    JoomleagueHelperHtml::showMatchdaysTitle(JText::_('COM_JOOMLEAGUE_RESULTS_PLAN'), 0, $this->config, $this->project, $this->overallconfig);
}
?>
		</td>
			<?php 
if ($this->config['show_matchday_dropdown'] == 1) {
    ?>
	            <td class="contentheading" style="text-align:right; font-size: 100%;"> 
			<?php 
    echo JoomleagueHelperHtml::getRoundSelectNavigation(false, $this->project, $this->roundsoptions, $this->roundid);
    ?>
				</td>
    	    <?php 
}
?>
		</tr>
</table>