diff --git a/controleurs/details_controleur.php b/controleurs/details_controleur.php new file mode 100644 index 0000000..177abaa --- /dev/null +++ b/controleurs/details_controleur.php @@ -0,0 +1,62 @@ + \ No newline at end of file diff --git a/css/style.css b/css/style.css index 4adff2e..03a0962 100644 --- a/css/style.css +++ b/css/style.css @@ -95,6 +95,13 @@ footer { text-align: center; } +.panneau_details_2 { + justify-content: center; + width: 100%; + overflow-y: auto; + text-align: center; +} + .panneau_details>div { margin-right: 2%; } diff --git a/vues/details_vue.php b/vues/details_vue.php index cdaded6..d203871 100644 --- a/vues/details_vue.php +++ b/vues/details_vue.php @@ -1,4 +1,48 @@ -
Cartes:
'; + echo 'Cartes vertes: ' . $triplets['nb_verte'] . '
'; + echo 'Cartes oranges: ' . $triplets['nb_orange'] . '
'; + echo 'Cartes noires: ' . $triplets['nb_noire'] . '
'; + echo 'Joueurs:
'; + foreach ($pseudo as $p){ + echo 'Pseudo: ' . $p['pseudo'] . '
'; + } + echo ''; + echo 'Classement:
'; + foreach ($rang as $r){ + echo 'Pseudo: ' . $r['pseudo'] . '
'; + echo 'Rang: ' . $r['rang'] . '
'; + + } + echo 'Pseudo: ' . $p['pseudo'] . '
'; + } + echo '