bei mir bleibt die install.php weiß.. Weiß jemand Rat?

Edit:
Ins Admin Panal komm ich auch nimmer.. alles weiß

*push*franki hat geschrieben:Hallo football
Ist in dem Mod irgendwo eingeplant, dass man einer Manschaft - Punkte geben kann ?
Das wird nämlich jetzt aktuell, da 1860 München 2 Punkte abgezogen werden.
Hallo, ich war im Urlaub, daher erst jetzt die Antwort:franki hat geschrieben:Hallo football
Ist in dem Mod irgendwo eingeplant, dass man einer Manschaft - Punkte geben kann ?
Das wird nämlich jetzt aktuell, da 1860 München 2 Punkte abgezogen werden.
Nur wenn du den Abgabetermin in die Zukunft legst oder verschiebst, müssen alle Spiele eines geschlossenen Spieltags (status == 1) die danach stattfinden auf Status 0 gesetzt werden, damit diese wieder getippt werden können.Draketornado hat geschrieben: Was mich allerdings wundert ist dass dieser Fehler nur bei einem Datum auftritt, welches in der Zukunft liegt, nicht aber bei einem Datum das in der Vergangenheit liegt.![]()
Hat da vielleicht jemand eine Idee?
Gruss
Draketornado
Ich werde doch keine Lösung dazu anbieten, da die Korrektur im entsprechenden Select von table.php zu komplex ist.football hat geschrieben:Hallo, ich war im Urlaub, daher erst jetzt die Antwort:franki hat geschrieben:Hallo football
Ist in dem Mod irgendwo eingeplant, dass man einer Manschaft - Punkte geben kann ?
Das wird nämlich jetzt aktuell, da 1860 München 2 Punkte abgezogen werden.
Nein, im Moment ist dies nicht möglich, ich werde aber dazu eine Lösung anbieten.
Code: Alles auswählen
$sql = 'SELECT
t.*,
SUM(1) AS matches,
SUM(IF((m.team_id_home = t.team_id), IF(goals_home > goals_guest, 1, 0), IF(goals_home < goals_guest, 1, 0))) AS win,
SUM(IF(goals_home = goals_guest, 1, 0)) AS draw,
SUM(IF((m.team_id_home = t.team_id), IF(goals_home < goals_guest, 1, 0), IF(goals_home > goals_guest, 1, 0))) AS lost,
SUM(IF(m.team_id_home = t.team_id,
IF(goals_home > goals_guest, 3, IF(goals_home = goals_guest, 1, 0)),
IF(goals_home < goals_guest, 3, IF(goals_home = goals_guest, 1, 0))
)
) AS points,
SUM(IF(m.team_id_home = t.team_id, goals_home - goals_guest , goals_guest - goals_home)) AS goals_diff,
SUM(IF(m.team_id_home = t.team_id, goals_home , goals_guest)) AS goals,
SUM(IF(m.team_id_home = t.team_id, goals_guest , goals_home)) AS goals_against
FROM ' . FOOTB_TEAMS . ' AS t
Code: Alles auswählen
$sql = "SELECT
t.*,
SUM(1) AS matches,
SUM(IF((m.team_id_home = t.team_id), IF(goals_home + 0 > goals_guest, 1, 0), IF(goals_home + 0 < goals_guest, 1, 0))) AS win,
SUM(IF(goals_home = goals_guest, 1, 0)) AS draw,
SUM(IF((m.team_id_home = t.team_id), IF(goals_home + 0 < goals_guest, 1, 0), IF(goals_home + 0 > goals_guest, 1, 0))) AS lost,
SUM(IF(m.team_id_home = t.team_id,
IF(goals_home + 0 > goals_guest, 3, IF(goals_home = goals_guest, 1, 0)),
IF(goals_home + 0 < goals_guest, 3, IF(goals_home = goals_guest, 1, 0))
)
) - IF(t.team_id = 20 AND t.season = 2011 AND $matchday > 7, 2, 0) AS points,
SUM(IF(m.team_id_home = t.team_id, goals_home - goals_guest , goals_guest - goals_home)) AS goals_diff,
SUM(IF(m.team_id_home = t.team_id, goals_home , goals_guest)) AS goals,
SUM(IF(m.team_id_home = t.team_id, goals_guest , goals_home)) AS goals_against
FROM " . FOOTB_TEAMS . ' AS t