Switzerland advances with a draw or win over Korea -- and wins the group with a win or likely wins the group with a draw (unless France beats Togo by 3 goals).
Korea advances with a win, a French loss or draw, or a French win by 1 goal over Togo. Korea wins the group by beating Switzerland.
France must win to advance. If Switzerland/Korea does not end in a draw, any win is sufficient (and France will take second in the group), otherwise they must beat Togo by two goals to finish 2nd in the group, or 3 goals to win the group.
Togo cannot advance, and is only playing the role of spoiler today.
Apparently for diving... one out of the 8 down.
Ukraine should take second place and then play with the winner of Group G. It can win regardless of who takes the first.
It's interesting that Spain that is 99% guaranteed to take the first place, then plays the second G team. It can be an interesting pairing with France and the winner then plays Brazil.
It appears that it is good for Ukraine that Spain takes the first place (assuming of course no Ukrainian meltdown today)