diff --git a/assets/css/page/stats.css b/assets/css/page/stats.css index e69de29..0f63c51 100644 --- a/assets/css/page/stats.css +++ b/assets/css/page/stats.css @@ -0,0 +1,62 @@ +main { + text-align: center; +} + +section { + display: block; + background-color: rgba(255,255,255,0.5); + width: 80%; + max-width: 800px; + margin-left: auto; + margin-right: auto; + padding: 50px; + font-size: 1.2rem; + margin-top: 40px; +} + +table.out { + margin-top: 50px; + margin-right: auto; + margin-left: auto; + width: 80%; + padding: 40px; + /*background-color: rgba(255,255,255,0.5);*/ +} + +span.box-point { + padding: 0; + margin: 0; + margin-top: 10px; + display: block; + width: 80%; + height: 70px; + background-color: rgba(0,0,0,0.5); + border-radius: 20px; + color: white; + border: 3px solid white; + margin-left: auto; + margin-right: auto; +} + +table.in { + width: 100%; + height: 100%; +} + +table.in .left { + width: 70%; +} + +table.in .right { + width: 30%; +} + +.title { + display: inline-block; + background-color: white; + color: black; + padding: 20px; + margin: 30px; + margin-top: 0; + font-size: 1.5rem; +} \ No newline at end of file diff --git a/stats.php b/stats.php index 8a5dce7..47179d8 100755 --- a/stats.php +++ b/stats.php @@ -1,8 +1,66 @@ +
+
+ + +
Stats de la semaine
+ + + +
+
+ Les stats de la semaine. +

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

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