Ejemplo n.º 1
0
    } else {
        echo ' ';
    }
    ?>
</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;
    ?>
Ejemplo n.º 2
0
            }
        } else {
            echo '&nbsp;';
        }
        ?>
</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');
        }
            if (!is_null($memberPredictionPoint->prDiff)) {
                $totalDiff = $totalDiff + $memberPredictionPoint->prDiff;
            }
            if (!is_null($memberPredictionPoint->prTend)) {
                $totalTend = $totalTend + $memberPredictionPoint->prTend;
            }
        }
    }
}
?>
<table class='plgeneralinfo'>
	<tr>
		<td class='picture'>
    <?php 
// das userbild
JoomleagueModelPredictionUsers::showMemberPicture($outputUserName, $this->predictionMember->user_id);
?>
    </td>
		<td class='info'>
			<table class='plinfo'>
				<tr>
					<td class='label'><?php 
echo JText::_('COM_JOOMLEAGUE_PRED_USERS_INFO_NAME');
?>
</td>
					<td class='data'>
						<?php 
$outputName = JText::sprintf('%1$s %2$s', $outputUserName, '');
if ($this->predictionMember->user_id) {
    switch ($this->config['show_user_profile']) {
        case 1: