diff --git a/SwichGIT/src/HighscoreBD b/SwichGIT/src/HighscoreBD new file mode 100644 index 0000000..608fd89 Binary files /dev/null and b/SwichGIT/src/HighscoreBD differ diff --git a/SwichGIT/src/ajouterScore.php b/SwichGIT/src/ajouterScore.php new file mode 100644 index 0000000..5f12ee1 --- /dev/null +++ b/SwichGIT/src/ajouterScore.php @@ -0,0 +1,13 @@ +query($requete); +if (isset($resultat)) echo "1\n"; diff --git a/SwichGIT/src/connexionBD.php b/SwichGIT/src/connexionBD.php new file mode 100644 index 0000000..1cb275e --- /dev/null +++ b/SwichGIT/src/connexionBD.php @@ -0,0 +1,8 @@ +open('HighscoreBD'); + } +} \ No newline at end of file diff --git a/SwichGIT/src/css/PageDaccueil.css b/SwichGIT/src/css/PageDaccueil.css index 36de37b..66ddaa6 100644 --- a/SwichGIT/src/css/PageDaccueil.css +++ b/SwichGIT/src/css/PageDaccueil.css @@ -489,5 +489,49 @@ cursor:pointer; } +#table_HS_Match { + visibility: hidden; +} + +#table_HS_Timer { + visibility: hidden; +} + +#HighscorePage { + display: none; +} + +.nominput { + font: 700 3vh "Poppins", sans-serif; + color: #2B2D2F; +} + +#nom { + font-family: inherit; + font-size: 1vw; + color: black; + padding: 0.8vh 0; + background: transparent; + transition: border-color 0.2s; + margin-left: 1.5vw; + text-align: center; +} +.boutonajouterHS { + font-family: Montserrat, impact, Arial Black; + font-size: 1.5vw; + margin-top: 0.1vw; + color: var(--lightsedonca); + text-align: center; + width: inherit; + background-color: #B130DE; + border-radius: 45px; +} +#score { + visibility: hidden; +} + +#modeJeu { + visibility: hidden; +} \ No newline at end of file diff --git a/SwichGIT/src/index.php b/SwichGIT/src/index.php index f346a1f..2ff200f 100644 --- a/SwichGIT/src/index.php +++ b/SwichGIT/src/index.php @@ -28,6 +28,33 @@ require("ConnexionBDD.php");
+