query('SELECT SUM(points) AS s FROM scores WHERE team = 0'); $r0 = $req_p0->fetchAll(PDO::FETCH_ASSOC); if(!($r0[0]['s'] > 0)) { $r0[0]['s'] = 0; } $req_p1 = $db->query('SELECT SUM(points) AS s FROM scores WHERE team = 1'); $r1 = $req_p1->fetchAll(PDO::FETCH_ASSOC); if(!($r1[0]['s'] > 0)) { $r1[0]['s'] = 0; } include "assets/scripts/globals.php" ?>
Les stats de la semaine.

Remporte le plus de points possible pour faire gagner ton équipe, mais attention à ne pas lui en faire perdre !

- points
- points
query('SELECT texte, points FROM scores WHERE team = 0 ORDER BY id DESC'); while($r = $req->fetch()) { ?>
query('SELECT texte, points FROM scores WHERE team = 1 ORDER BY id DESC'); while($r = $req->fetch()) { ?>