echo "0,"; } if (isset($kbrett[$k]->brett) and $kbrett[$k]->brett == $x + 1) { echo $kbrett[$k]->sum; $k++; } else { echo "0"; } if ($x < $bretter - 1) { echo "|"; } } ?> &chdl=<?php $bretter = CLMModelStatistik::Bretter(); $brett_all = CLMModelStatistik::CLMBrett_all($bretter); for ($x = 0; $x < $bretter; $x++) { echo $x + 1; if ($x < $bretter - 1) { echo "|"; } } ?> &chxt=x,y &chxl=0:|<?php echo JText::_('LEAGUE_STAT_WHITE'); ?> |<?php echo JText::_('LEAGUE_STAT_BLACK'); ?> |<?php