} echo "<div id=\"statistics\" >"; $show_scorer_table = new head_border_module(); $show_scorer_table->classModule = "portrait-module"; $show_scorer_table->classHeader = "portrait-module-header"; $show_scorer_table->classHeaderText = "portrait-module-header-text"; $show_scorer_table->classText = "module_content"; $show_scorer_table->headerText = "Torschützenliste"; $show_scorer_table->contentText = "<div style=\"margin: 10px; float: left;\"><table style=\"width: 100%;\"><thead><th style=\"text-align: center; padding-right: 5px;\">Rang</th><th style=\"text-align: left; padding-right: 5px;\">Name</th><th style=\"text-align: center;\">Tore</th></thead><tbody>"; $sql_list_scorer = "SELECT `svf_spieler`.`nachname`, `svf_spieler`.`vorname`, `scorer_{$show_liga}`.`tore` FROM `svf_spieler`, `scorer_{$show_liga}` WHERE `svf_spieler`.`id` = `scorer_{$show_liga}`.`spieler_id` ORDER BY `scorer_{$show_liga}`.`tore` DESC"; mysql_query('SET character_set_client = utf8'); mysql_query('SET character_set_results = utf8'); mysql_query('SET character_set_connection = utf8'); $result_list_scorer = mysql_query($sql_list_scorer) or die(mysql_error()); $spielerliste = array(); if (mysql_num_rows($result_list_scorer)) { $s_rang = 1; $s_tore = 0; while ($row_list_scorer = mysql_fetch_assoc($result_list_scorer)) { $set_rang = $s_rang . "."; if ($s_tore == $row_list_scorer['tore']) { $set_rang = ""; } $show_scorer_table->contentText .= "<tr><td style=\"text-align: center;\">{$set_rang}</td><td>{$row_list_scorer['nachname']} {$row_list_scorer['vorname']}</td><td style=\"text-align: center;\">{$row_list_scorer['tore']}</td></tr>"; $s_rang++; $s_tore = $row_list_scorer['tore']; } } $show_scorer_table->contentText .= "</tbody></table></div>"; echo $show_scorer_table->show_hb_module(); echo "</div>";
if ($no_term) { $termin_liste->contentText .= <<<QQQQ <tr> <td colspan="4"> Sie haben keine aktuellen Termine zu bestätigen. </td> </tr> QQQQ; } $termin_liste->contentText .= <<<QQQQ </tbody> </table> QQQQ; echo $termin_liste->show_hb_module(); } else { echo <<<QQQQ <p>Ihnen wurde noch keine gültige Spieler ID zugewiesen, bitte wenden Sie sich an <a href="mailto:info@svfreihausen.de" class="EmailLink" >info@svfreihausen.de</a></p> QQQQ; } include "modules/footer.php"; } else { include $ur_object->no_permissions_file; } }