Example #1
0
<?php

include_once 'inc/start.php';
include_once 'modules/class.head_border_module.php';
$show_liga = "";
if (isset($liga_id)) {
    $show_liga = $liga_id;
}
if (isset($_POST['liga_id'])) {
    $show_liga = $_POST['liga_id'];
}
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']) {
Example #2
0
                                        mysql_query('SET character_set_connection = utf8');
                                        $result_berichte = mysql_query($sql_update_bericht) or die(mysql_error());
                                        break;
                                    }
                                    $i++;
                                }
                            }
                            //print_r($report_xml);
                        }
                    }
                }
            }
            $team = "";
            include "modules/class.head_border_module.php";
            $liga_ids = array('29389', '29412');
            $termin_liste = new head_border_module();
            $termin_liste->headerText = "Aktuelle Termine zum bestätigen";
            $termin_liste->contentText = <<<QQQQ
<style>
.full-border-module-text table thead th {text-align: left;}

</style>
<table style="width: 100%">
<thead>
<th>Datum</th>
<th>Spiel</th>
<th>Treffpunkt</th>
<th>Bestätigung</th>
</thead>
<tbody>