Remove unneeded teams from tables in mytable site.
This commit is contained in:
@@ -137,6 +137,7 @@ $sql = 'SELECT
|
|||||||
AND b.goals_home <> ''
|
AND b.goals_home <> ''
|
||||||
AND b.goals_guest <> ''
|
AND b.goals_guest <> ''
|
||||||
AND m.matchday <= $matchday
|
AND m.matchday <= $matchday
|
||||||
|
AND m.show_table = 0
|
||||||
GROUP BY t.team_id
|
GROUP BY t.team_id
|
||||||
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
||||||
|
|
||||||
@@ -233,6 +234,7 @@ $sql = 'SELECT
|
|||||||
AND b.goals_home <> ''
|
AND b.goals_home <> ''
|
||||||
AND b.goals_guest <> ''
|
AND b.goals_guest <> ''
|
||||||
AND m.matchday >= $form_from
|
AND m.matchday >= $form_from
|
||||||
|
AND m.show_table = 0
|
||||||
GROUP BY t.team_id
|
GROUP BY t.team_id
|
||||||
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
||||||
|
|
||||||
@@ -300,6 +302,7 @@ $sql = 'SELECT
|
|||||||
AND b.goals_home <> ''
|
AND b.goals_home <> ''
|
||||||
AND b.goals_guest <> ''
|
AND b.goals_guest <> ''
|
||||||
AND m.matchday <= $matchday
|
AND m.matchday <= $matchday
|
||||||
|
AND m.show_table = 0
|
||||||
GROUP BY t.team_id
|
GROUP BY t.team_id
|
||||||
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
||||||
|
|
||||||
@@ -365,6 +368,7 @@ $sql = 'SELECT
|
|||||||
AND b.goals_home <> ''
|
AND b.goals_home <> ''
|
||||||
AND b.goals_guest <> ''
|
AND b.goals_guest <> ''
|
||||||
AND m.matchday <= $matchday
|
AND m.matchday <= $matchday
|
||||||
|
AND m.show_table = 0
|
||||||
GROUP BY t.team_id
|
GROUP BY t.team_id
|
||||||
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
ORDER BY t.group_id ASC, points DESC, goals_diff DESC, goals DESC";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user