JoomleagueHelperHtml::printColumnHeadingSort(JText::_('COM_JOOMLEAGUE_STATS_ATTENDANCE_RANKING_TOTAL'), "totalattend", null); ?> </th> <th style="width:16%;text-align:right;"> <?php JoomleagueHelperHtml::printColumnHeadingSort(JText::_('COM_JOOMLEAGUE_STATS_ATTENDANCE_RANKING_AVG'), "avgattend", null); ?> </th> <th style="width:19%;text-align:right;"> <?php JoomleagueHelperHtml::printColumnHeadingSort(JText::_('COM_JOOMLEAGUE_STATS_ATTENDANCE_RANKING_CAPACITY'), "capacity", null); ?> </th> <th style="width:20%;text-align:right;"> <?php JoomleagueHelperHtml::printColumnHeadingSort(JText::_('COM_JOOMLEAGUE_STATS_ATTENDANCE_RANKING_UTILISATION'), "utilisation", null); ?> </th> </tr> <?php //reorder table according to criteria if (isset($_REQUEST['order'])) { switch ($_REQUEST['order']) { case 'name': usort($this->attendanceranking, array("JoomleagueModelStats", "teamNameCmp2")); break; case 'totalattend': usort($this->attendanceranking, array("JoomleagueModelStats", "totalattendCmp")); break; case 'avgattend': usort($this->attendanceranking, array("JoomleagueModelStats", "avgattendCmp"));
case 'BONUS': echo '<th class="headers">'; echo '<span class="hasTip" title="' . $toolTipTitle . '::' . $toolTipText . '">'; JoomleagueHelperHtml::printColumnHeadingSort($column_names[$k], "bonus", $this->config); echo '</span></th>'; break; case 'START': echo '<th class="headers">'; echo '<span class="hasTip" title="' . $toolTipTitle . '::' . $toolTipText . '">'; JoomleagueHelperHtml::printColumnHeadingSort($column_names[$k], "start", $this->config); echo '</span></th>'; break; case 'QUOT': echo '<th class="headers">'; echo '<span class="hasTip" title="' . $toolTipTitle . '::' . $toolTipText . '">'; JoomleagueHelperHtml::printColumnHeadingSort($column_names[$k], "quot", $this->config); echo '</span></th>'; break; case 'TADMIN': echo '<th class="headers">'; echo '<span class="hasTip" title="' . $toolTipTitle . '::' . $toolTipText . '">'; echo $column_names[$k]; echo '</span></th>'; break; case 'GFA': echo '<th class="headers">'; echo '<span class="hasTip" title="' . $toolTipTitle . '::' . $toolTipText . '">'; echo $column_names[$k]; echo '</span></th>'; break; case 'GAA':