}
        } else {
            echo ' ';
        }
        ?>
</td></tr><tr><?php 
    }
    ?>
			</tr>
			<?php 
}
?>
		<tr>
			<?php 
$rowspan = count($this->predictionProjectS);
echo JoomleagueModelPredictionUsers::echoLabelTD('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_CHAMPION', 'COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_HELP_CHAMPION', $rowspan);
foreach ($this->predictionProjectS as $predictionProject) {
    //echo '<br /><pre>~' . print_r($predictionProject,true) . '~</pre><br />';
    ?>
<td width='10%' style='text-align:right; '><?php 
    echo $this->lists['champ_tipp_enabled'][$predictionProject->project_id];
    echo '<br>';
    if (!$this->tippallowed) {
        echo '<font size="2" color="red">' . JText::_('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_NO_GROUP_CHANGE') . '</font><br>';
    }
    if ($rowspan > 1) {
        if ($predictionProjectSettings = $this->model->getPredictionProject($predictionProject->project_id)) {
            echo JText::sprintf('COM_JOOMLEAGUE_PRED_USERS_CHAMPION_IN_PROJECT', '<b>' . $predictionProjectSettings->name . '</b>');
        } else {
            echo JText::_('COM_JOOMLEAGUE_PRED_USERS_EDIT_GETPROJECT_ERROR');
        }
    } else {
        echo '&nbsp;';
    }
    ?>
</td></tr><tr><?php 
}
?>
		</tr>
		<?php 
if ($this->config['edit_avatar_upload']) {
    // echo 'imageselect <pre>'.print_r($this->imageselect ,true).'</pre><br>';
    // /media/com_joomleague/jl_images/spinner.gif
    ?>
		<tr>
			<?php 
    echo JoomleagueModelPredictionUsers::echoLabelTD('COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_AVATAR', 'COM_JOOMLEAGUE_PRED_USERS_EDIT_LABEL_HELP_AVATAR');
    ?>
			<td colspan='2'>
				<img	class='imagepreview' src='<?php 
    echo $this->predictionMember->picture;
    ?>
' name='picture_preview'
						id='picture_preview' border='3' alt='<?php 
    echo JText::_('COM_JOOMLEAGUE_PRED_USERS_EDIT_AVATAR_PREVIEW');
    ?>
' title='<?php 
    echo JText::_('COM_JOOMLEAGUE_PRED_USERS_EDIT_AVATAR_PREVIEW');
    ?>
' /><br /><?php 
    echo $this->imageselect;
    ?>