diff --git a/pages/favorite.html b/pages/favorite.html index 2f28cc0..6134db2 100644 --- a/pages/favorite.html +++ b/pages/favorite.html @@ -7,6 +7,7 @@ +
@@ -17,7 +18,7 @@ quizz
user diff --git a/pages/login.html b/pages/login.html index 4413f7b..c2452e2 100644 --- a/pages/login.html +++ b/pages/login.html @@ -18,7 +18,7 @@ quizz
user diff --git a/pages/profil.html b/pages/profil.html index 4c647b1..a36d2a6 100644 --- a/pages/profil.html +++ b/pages/profil.html @@ -18,7 +18,7 @@ quizz
diff --git a/pages/quiz.html b/pages/quiz.html index 330dcf9..1d25899 100644 --- a/pages/quiz.html +++ b/pages/quiz.html @@ -17,7 +17,7 @@ quizz
user diff --git a/pages/search.php b/pages/search.php new file mode 100644 index 0000000..37a92c5 --- /dev/null +++ b/pages/search.php @@ -0,0 +1,63 @@ + + + + + + Wiki Fantasy + + + + + + +
+ + +
+ user +
+
+ +
+
+
+ +
+ query("SELECT * +# FROM utilisateur +# WHERE nom LIKE ? +# LIMIT 10", +# array("$user%")); +# +#$req = $req->fetchALL(); +$req=array(array('nom'=>'nom1','prenom'=>'prenom1'),array('nom'=>'nom2','prenom'=>'prenom2'),array('nom'=>'nom3','prenom'=>'prenom3')); + +foreach($req as $r){ + ?> +
+
+
+
+
+ + + \ No newline at end of file diff --git a/pages/signin.html b/pages/signin.html index 4e48460..578c73e 100644 --- a/pages/signin.html +++ b/pages/signin.html @@ -18,7 +18,7 @@ quizz
user diff --git a/script/afficheQuote.php b/script/afficheQuote.php new file mode 100644 index 0000000..e018a0e --- /dev/null +++ b/script/afficheQuote.php @@ -0,0 +1,27 @@ + +query("SELECT * +# FROM utilisateur +# WHERE nom LIKE ? +# LIMIT 10", +# array("$user%")); +# +#$req = $req->fetchALL(); +$req=query(array('nom'=>'nom1','prenom'=>'prenom1'),array('nom'=>'nom2','prenom'=>'prenom2'),array('nom'=>'nom3','prenom'=>'prenom3')); +$req = $req->fetchALL(); + +foreach($req as $r){ + ?> +
\ No newline at end of file diff --git a/styles/style.css b/styles/style.css index 5054021..695574a 100644 --- a/styles/style.css +++ b/styles/style.css @@ -10,7 +10,7 @@ body { background-color: #120b1d; font-family: "Lemon", serif; - margin-top: 200px; + margin-top: 175px; } /* Header */ @@ -50,6 +50,17 @@ body { width: 40%; } +.searchBarre { + display: flex; + margin-left: 15%; + margin-right: 15%; + min-width: 70%; + min-height: 30px; + text-align: center; + border-radius: 30px; +} + + /* Mode sombre */ body.dark-mode { background-color: #120B1D;