diff --git a/_content/Thumbs.db b/_content/Thumbs.db new file mode 100644 index 0000000..1ff12f4 Binary files /dev/null and b/_content/Thumbs.db differ diff --git a/home.html b/home.html index 3f16bf4..1234383 100644 --- a/home.html +++ b/home.html @@ -1,21 +1,21 @@ - - - - - Titre - - - - - - - -
-
-

PopOp

-
- -
- - + + + + + Titre + + + + + + + +
+
+

PopOp

+
+ +
+ + \ No newline at end of file diff --git a/index.html b/index.html index 0fb275e..2992be1 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,11 @@

PopOp

@@ -157,4 +161,9 @@ Mentions légales + points d'amélioration.
Mise en page par SERNY Sacha. Données par Wikipedia - \ No newline at end of file +<<<<<<< HEAD + +======= + + +>>>>>>> d120872e658c0bb2df803f19a903096b4a6a7928 diff --git a/mentions-legales.html b/mentions-legales.html index 361f4e6..8683dcb 100644 --- a/mentions-legales.html +++ b/mentions-legales.html @@ -1,3 +1,4 @@ +<<<<<<< HEAD @@ -24,4 +25,32 @@
+======= + + + + + + + Mentions Légales + + + + + +
+

PopOp

+ +
+ Se connecter + S'inscrire +
+
+ + +>>>>>>> d120872e658c0bb2df803f19a903096b4a6a7928 \ No newline at end of file diff --git a/reading.html b/reading.html index b7d4b1b..5d7b367 100644 --- a/reading.html +++ b/reading.html @@ -1,3 +1,4 @@ +<<<<<<< HEAD @@ -219,4 +220,225 @@ +======= + + + + + PopOp + + + + + + + + +
+

PopOp

+ +
+ Se connecter + S'inscrire +
+
+
+
+ + thumbnail +
+

La ballade de Lila K

+

Blandine le callet

+ + spotify-iconLien 7.70€ +
+
+ + thumbnail +
+

La Princesse de Clèves

+

Madame de Lafayette

+ + spotify-iconLien 2.95€ +
+
+ + thumbnail +
+

Banana Fish

+

Akimi Yoshida

+ + spotify-iconLien 16€ +
+
+ + thumbnail +
+

Les enfants du temps

+

Makoto Shinkai

+ + spotify-iconLien 14.95€ +
+
+ + thumbnail +
+

The Farm [EN]

+

Tom Rob Smith

+ + spotify-iconLien 0.90€ +
+
+ + thumbnail +
+

Edmond Rostand

+

Cyrano de Bergerac

+ + spotify-iconLien 3€ +
+
+ + thumbnail +
+

Omniscient

+

Sleepy-C / UMI

+ + spotify-iconLien gratuit +
+
+ + thumbnail +
+

Ghost King

+

Park Jin-Seok / Son Gohu

+ + spotify-iconLien gratuit +
+
+ + thumbnail +
+

Tower Of God

+

SIU

+ + spotify-iconLien gratuit +
+
+ + thumbnail +
+

The God of High School

+

Yongje Park

+ + spotify-iconLien gratuit +
+
+ + thumbnail +
+

Sweet home

+

Carnby Kim / Youngchan Hwang

+ + spotify-iconLien gratuit +
+
+ + thumbnail +
+

The Boxer

+

JH

+ + spotify-iconLien gratuit +
+
+ +
+
+ + + +
+
+ + + +>>>>>>> d120872e658c0bb2df803f19a903096b4a6a7928 \ No newline at end of file diff --git a/sign_in.html b/sign_in.html new file mode 100644 index 0000000..89126bf --- /dev/null +++ b/sign_in.html @@ -0,0 +1,69 @@ + +("SELECT * FROM membres WHERE email = ?"); + $look->execite(array($mail)); + $userexist = -1; + $userexist = $look->rowCount(); + if ($userexist == 0) { + + } else { + $erreur = "Le mail utilisé est inconnu." + } +} + +?> + + + + + Conenxion + + + + + + +
+

Connecte-toi pour accéder à plus de foncitonnalités

+
+
+
+ +
+
+ +
+
+
+ + +
+
+ +
+
+
+ + + \ No newline at end of file diff --git a/sign_in.php b/sign_in.php index 35a8df0..82e328c 100644 --- a/sign_in.php +++ b/sign_in.php @@ -1,4 +1,82 @@ <<<<<<< HEAD +<<<<<<< HEAD + +prepare("SELECT * FROM membres WHERE mail = ?"); + $look->execute(array($email)); + $check = $look->fetch(); + var_dump($check['password']); + var_dump($password); + var_dump(password_verify($password, $check['password'])); + $response ="here"; + if ($check['mail'] != $email) { + $response = "Ce compte n'existe pas."; + } + else { + if (password_verify($password, $check['password'])) { + $response = "Vous êtes maintenant connecté."; + header('location: https://serny-nsi.alwaysdata.net'); + } else { + $response = "Le mot de passe n'est pas valide."; + } + } + } else { + $response ="Veuillez remplir les champs ci-dessus."; + } +} + +?> + + + + + Conenxion + + + + + + +
+

Connecte-toi pour accéder à plus de foncitonnalités

+
+
+
+ +
+
+ +
+
+
+ + +
+

+
+
+ + +======= +>>>>>>> d120872e658c0bb2df803f19a903096b4a6a7928 ======= +prepare("SELECT * FROM membres WHERE pseudo = ?"); + $look->execute(array($pseudo)); + $alreadyexist = -1; + $alreadyexist = $look->rowCount(); + $lookmail = $bdd->prepare("SELECT * FROM membres WHERE mail = ?"); + $lookmail->execute(array($mail)); + $alreadyexist2 = -1; + $alreadyexist2 = $lookmail->rowCount(); + if ($alreadyexist == 0 AND $alreadyexist2 == 0) { + $ins = $bdd->prepare("INSERT INTO membres(pseudo, mail, password, signup_date) VALUES(?, ?, ?, now())"); + $ins->execute(array($pseudo, $mail, $password)); + $erreur ="Vous avez été correctement inscrit dans notre base de donnée."; + } else { + $erreur ="Ce pseudo/mail est déjà utilisé"; + } + } else { + $erreur ="Le mail est trop long (max 255c)"; + } + } else { + $erreur ="Le pseudo est trop long (max 255c)"; + } + } else { + $erreur = "Les mails sont différents."; + } + } else { + $erreur = "Les mots de passe sont différents."; + } + } else { + $erreur = "Veuillez remplir les champs ci-dessus."; + } +} + + +?> + + + + + Conenxion + + + + + + +
+

Inscris-toi pour accéder à plus de foncitonnalités

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + +
+

+ +

+
+
+ + +======= +>>>>>>> d120872e658c0bb2df803f19a903096b4a6a7928 ======= >>>>>> d120872e658c0bb2df803f19a903096b4a6a7928 diff --git a/top.html b/top.html new file mode 100644 index 0000000..379a9da --- /dev/null +++ b/top.html @@ -0,0 +1,64 @@ + + + + + PopOp + + + + + + + + +
+

PopOp

+ +
+ Se connecter + S'inscrire +
+
+
+
+ +
+
+ + + +
+
+ + + + \ No newline at end of file