mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
Änderungen nach Kommentaren
This commit is contained in:
@@ -10041,8 +10041,8 @@ function adminBegegnungenPokalrundeAuslosenForm(): void
|
|||||||
for ($matchNr = 0; $matchNr < $anzahlmatches; $matchNr++) {
|
for ($matchNr = 0; $matchNr < $anzahlmatches; $matchNr++) {
|
||||||
$team_heim = $matchNr * 2 ;
|
$team_heim = $matchNr * 2 ;
|
||||||
$team_gast = $team_heim + 1;
|
$team_gast = $team_heim + 1;
|
||||||
$matches[$matchNr]['heim'] = $teams_auslosung[$team_heim]['team_id'];
|
$matches[$matchNr + 1]['heim'] = $teams_auslosung[$team_heim]['team_id'];
|
||||||
$matches[$matchNr]['gast'] = $teams_auslosung[$team_gast]['team_id'];
|
$matches[$matchNr + 1]['gast'] = $teams_auslosung[$team_gast]['team_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($spielumplatz3)
|
if ($spielumplatz3)
|
||||||
@@ -10071,10 +10071,10 @@ function adminBegegnungenPokalrundeAuslosenForm(): void
|
|||||||
|
|
||||||
foreach($matches AS $spiel_nr => $match)
|
foreach($matches AS $spiel_nr => $match)
|
||||||
{
|
{
|
||||||
$matches[$spiel_nr]['rundentitel'] = $matches[$spiel_nr]['rundentitel'] ?? $rundenTitel;
|
$matches[$spiel_nr]['rundentitel'] = $match['rundentitel'] ?? $rundenTitel;
|
||||||
$matches[$spiel_nr]['zeitpunkt'] = $zeitpunkt;
|
$matches[$spiel_nr]['zeitpunkt'] = $zeitpunkt;
|
||||||
$matches[$spiel_nr]['heimspielort_id'] = $teams[$teams_setzliste[$setzung[0]]]['heimspielort_id'];
|
|
||||||
$team_heim = $match['heim'];
|
$team_heim = $match['heim'];
|
||||||
|
$matches[$spiel_nr]['heimspielort_id'] = $teams[$team_heim]['heimspielort_id'];
|
||||||
if ($datum_kw != null && $teams[$team_heim]['heimspiel_wochentag'] !== 0) {
|
if ($datum_kw != null && $teams[$team_heim]['heimspiel_wochentag'] !== 0) {
|
||||||
$ts = getdate(mondaykw($datum_kw, $datum_jahr, $teams[$team_heim]['heimspiel_wochentag'] - 1));
|
$ts = getdate(mondaykw($datum_kw, $datum_jahr, $teams[$team_heim]['heimspiel_wochentag'] - 1));
|
||||||
$matches[$spiel_nr]['zeitpunkt'] = sprintf("%04d-%02d-%02d %02d:%02d:%02d", $ts["year"], $ts["mon"], $ts["mday"],
|
$matches[$spiel_nr]['zeitpunkt'] = sprintf("%04d-%02d-%02d %02d:%02d:%02d", $ts["year"], $ts["mon"], $ts["mday"],
|
||||||
@@ -10117,7 +10117,6 @@ function adminBegegnungenPokalrundeAuslosenForm(): void
|
|||||||
|
|
||||||
$teams = [];
|
$teams = [];
|
||||||
$setzliste = [];
|
$setzliste = [];
|
||||||
$setzung = [];
|
|
||||||
$matches = [];
|
$matches = [];
|
||||||
|
|
||||||
$sperren = false;
|
$sperren = false;
|
||||||
@@ -10205,8 +10204,6 @@ function adminBegegnungenPokalrundeAuslosenForm(): void
|
|||||||
$sperren = true;
|
$sperren = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$matches = [];
|
|
||||||
|
|
||||||
if ($rundenNr == 1){
|
if ($rundenNr == 1){
|
||||||
$setzliste = getSetzliste($anzahlrunden);
|
$setzliste = getSetzliste($anzahlrunden);
|
||||||
$spiel_nr = 0;
|
$spiel_nr = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user