From 038ea2a187b1b2de3ad7bde6b5e4542c920e9a53 Mon Sep 17 00:00:00 2001 From: "sacha.serny" Date: Mon, 15 Nov 2021 08:25:52 +0100 Subject: [PATCH 1/3] lycee15/11/2021 --- .gitignore | 1 + _content/Thumbs.db | Bin 0 -> 9728 bytes index.html | 73 +++++++++----- sign_in.html | 53 ++++------ sign_up.php | 110 +++++++++++++++++++++ style/style_index.css | 26 ++++- style/style_index.css.map | 2 +- style/style_log.css | 201 +++++++++++++++++++++++--------------- style/style_log.css.map | 1 + style/styles_index.scss | 32 +++++- style/styles_log.scss | 119 ++++++++++++++++++++++ 11 files changed, 470 insertions(+), 148 deletions(-) create mode 100644 _content/Thumbs.db create mode 100644 sign_up.php create mode 100644 style/style_log.css.map create mode 100644 style/styles_log.scss diff --git a/.gitignore b/.gitignore index e69de29..4abbf33 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +"C:\Users\MiniV\OneDrive - lycée Paul Constans\Cours\1re\NSI\sernyS_nsi_web\style\style_index.css.map" \ No newline at end of file diff --git a/_content/Thumbs.db b/_content/Thumbs.db new file mode 100644 index 0000000000000000000000000000000000000000..1ff12f420aaf470dcfc59296d2cf40c41ff06f9e GIT binary patch literal 9728 zcmeHMcT`hbvp=B+kS0~YAV^1wL3;011QAq9XwsxeQ;L)z3P@9m^xi?5g47rkP^1@; z-a#N#A@qd2;8)gN-&^-v@BR16ovb;#oxSJmnfc9`>@(0$JC|E?X&(3&QUC~nGaMKo z`9nVlUq9#HL<0Z>_{w?v42Q%0trGz7)xYR}kp{5%XFa#yITQWemghDn#WNY6!FVRe zGXbz%gF|B3m3 z#)dzcp7Yi0+pqCa5FvhC={$Jg={j%&kN{x#QVh@H_^S=RNA!0~8juF;@NFr4`_D)K zAOM{&^$+d;*?s@o&+#wvZ2?KVbV?=c+ij$vOVdpY4zM{|noH)b9ViI`iLcPxf~_T-@I1 z=2+IGioA7G^8)#$^U!}mTT9IdUviu?*|~Fg`TL{s1<1=tQw6B(V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lZ zKk}u&`DB+5QzIU;RXI=;bC!8h^Pt?xcR4lTQfuIv;s7LJ(%6zFH7Hc`%uNCwx0e{q zx$t9VqKzDVoRlvfuHVCv7aXB^B#V1f1d+=uLLB@0{v@E19wT&AR^we9XO>5=hzG8$ zY@#=_YljCMGkzW>mAadxHpvKh&zJM?wLRQC{b2VU$spP}-B^JX7^D^SO=L$OfGM3t z=28;)OoY|9Kz4p;r0gDP5N^V2sr;iS5;rWjyF$2NuzS^R8ocOzBMy^!Legq0*A%=Q zDRKW$i79aNn}mOgz7<=3V0S1>E2Rp$9(5#V;lCx7+064*H;jDxG+Z1Jpek}fO$bb- z$Y1HkI?-uAx4LVp)(33qy5}OVX5Eo)>#~7g)_UQ-y}y@;(=Co3>i)^d|CIoDB@R7% zq^kkG%cME4}-i*&@hC1nczhZi%u$R22+R4Cn|KqOnH?2W+eR9ddPN2jntieD>WFXg&Mo{5yuP2PDs*W~UqXps&* z(FuGR7;fnK$YBInz`$UQQ3vh3xJ>x<*NUeRa)|W?p}-i;0G9m+Xi_K>b1MbWJ*pPZ z2eAiK9c!O7+tQzrMs;GAq>1-M4!8V-_0`d7O!$LPCg$B{63(;HVA2@okPYQA)>x~b u&z?_GL~BIAXr@&$BKTA1zs~djr~)B19JNk0;yGj6@H_mcng80-=(tv literal 0 HcmV?d00001 diff --git a/index.html b/index.html index 9d6efdf..da55af0 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@
@@ -30,80 +30,101 @@ thumbnail

Royals

-

Royals - Lorde
spotify-iconLien - (payant)

+

Royals - Lorde

+ + spotify-iconLien (légal)
thumbnail

Numb

-

Numb - Linkin Park
spotify-iconLien (payant)

+

Numb - Linkin Park

+ + spotify-iconLien (légal)
thumbnail

Red

-

Red - Survive said the prophet
spotify-iconLien (payant)

+

Red - Survive said the prophet

+ + spotify-iconLien (légal)
thumbnail

命に嫌われて

-

命に嫌われている。- Majiko
spotify-iconLien - (payant)

+

命に嫌われている。- Majiko

+ + spotify-iconLien (légal)
- + thumbnail

Symphony

-

Symphony - Clean Bandit (feat. Zara Larsson)
spotify-iconLien (payant)

+

Symphony - Clean Bandit (feat. Zara Larsson)>

+ + spotify-iconLien (légal)
thumbnail

Reckoning song

-

Reckoning song (cover) - Asaf Avidan, The Mojos
spotify-iconLien (payant)

+

Reckoning song (cover) - Asaf Avidan, The Mojos

+ + spotify-iconLien (légal)
- - thumbnail + + thumbnail
-

Boulevard of Broken Dreams

-

Boulevard of Broken Dreams - Green Day
spotify-iconLien (payant)

+

Boulevard of..

+

Boulevard of Broken Dreams - Green Day

+ + spotify-iconLien (légal)
thumbnail

Centuries

-

Centuries - Fall Out Boy
spotify-iconLien (payant)

+

Centuries - Fall Out Boy

+ + spotify-iconLien (légal)
thumbnail

Le temps est bon

-

Le temps est bon - Bon Entendeur
spotify-iconLien (payant)

+

Le temps est bon - Bon Entendeur

+ + spotify-iconLien (légal)
thumbnail

Radioactive

-

Radioactive - Imagine Dragons
spotify-iconLien (payant)

+

Radioactive - Imagine Dragons

+ + spotify-iconLien (légal)
@@ -137,7 +158,7 @@
diff --git a/sign_in.html b/sign_in.html index 2990cb0..14dc6ea 100644 --- a/sign_in.html +++ b/sign_in.html @@ -8,55 +8,36 @@ - Titre + Conenxion - - -
-

PopOp

- - -
-
-
- En attente de l'ajout d'un systeme PHP. -
Cette page est moche et mal faite. -
+
+

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

-

Connexion

- -
+
- +
-
- + +
+
+ -
- + \ No newline at end of file diff --git a/sign_up.php b/sign_up.php new file mode 100644 index 0000000..ca7d0f2 --- /dev/null +++ b/sign_up.php @@ -0,0 +1,110 @@ + +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."; + } + } +} + + +?> + + + + + Conenxion + + + + + + +
+

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

+
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + +
+
+ +
+
+
+ + + \ No newline at end of file diff --git a/style/style_index.css b/style/style_index.css index 6f350f9..d6b4ccc 100644 --- a/style/style_index.css +++ b/style/style_index.css @@ -9,6 +9,11 @@ body { margin: 0; } +@media only screen and (min-width: 1080px) { + .main { + padding: 0 20vh 0 20vh; + } +} main { padding: 10px; background-color: white; @@ -26,8 +31,27 @@ main .element { padding-bottom: 24px; text-align: justify; width: 11em; - padding: 10px; + height: 25em; + padding: 10px 10px 10px 10px; margin: 2.5px 2.5px 0px 2.5px; + overflow: hidden; +} +main .element p:not(.hidden) { + display: block; +} +main .element p.hidden { + margin-top: 15px; + display: none; + font-style: italic; +} +main .element:hover p:not(.hidden) { + display: none; +} +main .element:hover h2 { + display: none; +} +main .element:hover p.hidden { + display: block; } main .element img { border-radius: 10% 40% 40% 40%; diff --git a/style/style_index.css.map b/style/style_index.css.map index dfd22bf..ca6b06d 100644 --- a/style/style_index.css.map +++ b/style/style_index.css.map @@ -1 +1 @@ -{"version":3,"sourceRoot":"","sources":["styles_index.scss"],"names":[],"mappings":"AAAQ;AACA;AACA;AACR;EACC;;;AAED;EACC;;;AAGD;EACC;EACA;EACA;EACA;EACA;EACA;;AAGC;EACC;EACD;;AAID;EACC;EACA;EACA;EACA;EACA;EACA;;AAGA;EACC;EACA;;AAED;EASC;EACA;EACA;EACA;;AAXA;EACC;EACA;EACA;;AASD;EACC;;AAKH;EACC;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EAqEA;EACA;EACA;EACA;EACA;;AAxEA;EACC;EACA;;AAED;EACC;EACA;EACA;;AAEC;EACC;EACA;EACA;EACA;EACA;EACA;;AAIH;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACC;EACA;;AAED;EACC;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACC;EACA;;AAaL;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA","file":"style_index.css"} \ No newline at end of file +{"version":3,"sourceRoot":"","sources":["styles_index.scss"],"names":[],"mappings":"AAAQ;AACA;AACA;AACR;EACC;;;AAED;EACC;;;AAED;EACC;IACC;;;AAGF;EACC;EACA;EACA;EACA;EACA;EACA;;AAGC;EACC;EACD;;AAID;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;;AAED;EACC;EACA;EACA;;AAIA;EACC;;AAED;EACC;;AAED;EACC;;AAGF;EACC;EACA;;AAED;EASC;EACA;EACA;EACA;;AAXA;EACC;EACA;EACA;;AASD;EACC;;AAKH;EACC;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;EAqEA;EACA;EACA;EACA;EACA;;AAxEA;EACC;EACA;;AAED;EACC;EACA;EACA;;AAEC;EACC;EACA;EACA;EACA;EACA;EACA;;AAIH;EACC;EACA;EACA;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACC;EACA;;AAED;EACC;;AACA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGA;EACC;EACA;;AAaL;EACC;EACA;EACA;EACA;EACA;EACA;EACA;;AACA;EACC;EACA;;AAED;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACC;EACA;EACA","file":"style_index.css"} \ No newline at end of file diff --git a/style/style_log.css b/style/style_log.css index 99e67c1..8f17fe4 100644 --- a/style/style_log.css +++ b/style/style_log.css @@ -1,87 +1,128 @@ -@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap"; -@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap"; - -main { - padding: 5px 20%; - height: 79vh; -} -main .red-banner { - background-color: red; - color: white; - height: auto; - font-size: 24px; - padding: 30px 0; - text-align: center; - font-family: "Montserrat", sans-serif; +@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap"; +@import "https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap"; +/* Reset CSS */ +input[type=submit i] { + appearance: none; + user-select: none; + white-space: normal; + align-items: flex-start; + text-align: start; + cursor: default; + color: black; + background-color: white; + box-sizing: border-box; + padding: 0px; + border-width: 0px; + border-style: none; + border-color: white; + border-image: initial; + font-size: 16px; } -form { - display: flex; - justify-content: center; - font-family: "Roboto", sans-serif; - flex-direction: column; - align-items: center; - text-align: center; -} -form .names { - display: flex; - flex-direction: row; - justify-content: space-between; - margin: 5px 0px; - align-items: inherit; -} -form .form_p_contents { - display: flex; - flex-direction: column; - justify-content: flex-start; - align-items: center; -} -form .form_p_contents p a { - font-size: 14px; - color: #696969; - text-decoration: none; -} -form .form_p_contents p a:hover { - font-size: 14px; - color: #696969; - text-decoration: none; + +a:-webkit-any-link { + color: black; + cursor: default; + text-decoration: none; +} + +input { + writing-mode: auto; + text-rendering: auto; + color: black; + letter-spacing: normal; + word-spacing: normal; + text-transform: none; + text-indent: auto; + text-shadow: none; + display: inline-block; + text-align: auto; + appearance: none; + background-color: white; + -webkit-rtl-ordering: none; + cursor: text; + margin: 0em; + font: 400 13.3333px Arial; + padding: 1px 2px; + border-width: 2px; + border-style: none; + border-color: white; + border-image: initial; +} + +input:focus-visible { + outline: rgba(0, 0, 0, 0) solid 0px; + outline-offset: 0px; +} + +/* Fin Reset */ +input:focus { + position: relative; + color: red; +} +input:focus::before { + content: " "; + position: absolute; + background-color: red; + top: 0; + width: 10px; + height: 1000px; +} + +body { + position: relative; + margin: 0; +} + +.log-area { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; + height: 20vh; + margin: 30vh 0 50vh 0; + font-family: "montserrat", sans-serif; +} + +.log-area > p { + text-align: center; } + form { - margin: 5px 0px; - font-size: 24px; + font-family: monospace, sans-serif; } -label { - letter-spacing: -1px; + +.f_inputs { + text-align: center; } -input { - border: 0px; - background-color: #24252a; - color: rgb(255, 0, 0); - border-radius: 3.5px; - margin-left: 2px; - padding: 3px; - font-size: 18px; - + +.f_inputs > div { + margin-top: 5px; } -input:focus { - outline: 1px solid #24252a ; - transition: 0.2s; - text-decoration: underline; - background-color: #edf0f1; - color: #24252a; - -} -input[type="submit"] { - border: 0px; - background-color: #24252a; - color: #edf0f1; - font-family: "Montserrat", sans-serif; - padding: 10px; - font-weight: 700; - letter-spacing: 3px; -} -input[type="submit"]:hover { - transition: 0.2s; - outline: 4px solid #24252a; - color: #24252a; - background-color: #edf0f1; + +.buttons { + display: flex; + align-items: center; + justify-content: center; + margin-top: 25px; +} + +.sign_in { + background-color: #00dc64; +} + +.sign_up { + background-color: #6a6a6a; +} + +.buttons > div { + padding: 10px 40px; + border-radius: 25px; + margin: 0 20px; +} + +div > input[type=submit], div > a { + font-family: roboto, sans-serif; + background-color: inherit; } + +/*# sourceMappingURL=style_log.css.map */ diff --git a/style/style_log.css.map b/style/style_log.css.map new file mode 100644 index 0000000..4e27c8f --- /dev/null +++ b/style/style_log.css.map @@ -0,0 +1 @@ +{"version":3,"sourceRoot":"","sources":["styles_log.scss"],"names":[],"mappings":"AAAO;AACA;AAGP;AACA;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;EACA;EACA;;;AAEJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;EACA;;;AAEJ;AACA;EACI;EACA;;AAEA;EACI;EACA;EACA;EACA;EACA;EACA;;;AAIR;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;EACA;EACA;EACA;;;AAEJ;EACI;;;AAEJ;EACI;;;AAEJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA","file":"style_log.css"} \ No newline at end of file diff --git a/style/styles_index.scss b/style/styles_index.scss index 132ae89..d48a494 100644 --- a/style/styles_index.scss +++ b/style/styles_index.scss @@ -7,7 +7,11 @@ body { margin: 0; } - +@media only screen and (min-width: 1080px) { + .main { + padding: 0 20vh 0 20vh; + } + } main { padding: 10px; background-color: rgb(255, 255, 255); @@ -28,10 +32,30 @@ main { padding-bottom: 24px; text-align: justify; width: 11em; - padding: 10px; + height: 25em; + padding: 10px 10px 10px 10px; margin: 2.5px 2.5px 0px 2.5px; - - + overflow: hidden; + p:not(.hidden) { + display: block; + } + p.hidden { + margin-top: 15px; + display: none; + font-style: italic; + } + + &:hover { + p:not(.hidden) { + display: none; + } + h2 { + display: none; + } + p.hidden { + display: block; + } + } & img { border-radius: 10% 40% 40% 40%; filter: blur(0.10px); diff --git a/style/styles_log.scss b/style/styles_log.scss new file mode 100644 index 0000000..2bb5dc7 --- /dev/null +++ b/style/styles_log.scss @@ -0,0 +1,119 @@ +@import"https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap"; +@import"https://fonts.googleapis.com/css2?family=Roboto:wght@300;500&display=swap"; + + +/* Reset CSS */ +input[type="submit" i] { + appearance: none; + user-select: none; + white-space: normal; + align-items: flex-start; + text-align: start; + cursor: default; + color: black; + background-color: white; + box-sizing: border-box; + padding: 0px; + border-width: 0px; + border-style: none; + border-color: white; + border-image: initial; + font-size: 16px; +} +a:-webkit-any-link { + color: black; + cursor: default; + text-decoration: none; +} +input { + writing-mode: auto; + text-rendering: auto; + color: black; + letter-spacing: normal; + word-spacing: normal; + text-transform: none; + text-indent: auto; + text-shadow: none; + display: inline-block; + text-align: auto; + appearance: none; + background-color: white; + -webkit-rtl-ordering: none; + cursor: text; + margin: 0em; + font: 400 13.3333px Arial; + padding: 1px 2px; + border-width: 2px; + border-style: none; + border-color: white; + border-image: initial; +} +input:focus-visible { + outline: rgba(0, 0, 0, 0) solid 0px; + outline-offset: 0px; +} +/* Fin Reset */ +input:focus { + position: relative; + color: red; + + &::before { + content: " "; + position: absolute; + background-color: red; + top: 0; + width: 10px; + height: 1000px; + } +} + +body { + position: relative; + margin: 0; +} + +.log-area { + display: flex; + justify-content: center; + flex-direction: column; + align-items: center; + height: 20vh; + margin: 30vh 0 50vh 0; + font-family: 'montserrat', sans-serif; +} +.log-area > p { + text-align: center; +} +form { + font-family: monospace, sans-serif; +} +.f_inputs { + text-align: center; +} +.f_inputs > div { + margin-top: 5px; +} +.buttons { + display : flex; + align-items: center; + justify-content: center; + margin-top: 25px; +} +.sign_in { + background-color:#00dc64; +} +.sign_up { + background-color: #6a6a6a; +} +.buttons > div { + padding:10px 40px; + border-radius: 25px; + margin: 0 20px; +} + +div > input[type="submit"], div > a { + font-family: roboto, sans-serif; + background-color: inherit; +} + + From e7d5a9aeed44961145bcf209216c5d18b1841e45 Mon Sep 17 00:00:00 2001 From: "sacha.serny" Date: Mon, 15 Nov 2021 08:38:58 +0100 Subject: [PATCH 2/3] sign_in.php --- sign_in.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/sign_in.html b/sign_in.html index 14dc6ea..89126bf 100644 --- a/sign_in.html +++ b/sign_in.html @@ -1,7 +1,30 @@ ("SELECT * FROM membres WHERE email = ?"); + $look->execite(array($mail)); + $userexist = -1; + $userexist = $look->rowCount(); + if ($userexist == 0) { + + } else { + $erreur = "Le mail utilisé est inconnu." + } +} ?> @@ -36,6 +59,9 @@ +
+ +
From 24db56327fed9097898d28c291f7d01a5d9802b1 Mon Sep 17 00:00:00 2001 From: "sacha.serny" Date: Mon, 15 Nov 2021 09:51:48 +0100 Subject: [PATCH 3/3] Lycee_fin_cour_15/11 --- sign_in.php | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sign_up.html | 69 ---------------------------------------------- 2 files changed, 78 insertions(+), 69 deletions(-) create mode 100644 sign_in.php delete mode 100644 sign_up.html diff --git a/sign_in.php b/sign_in.php new file mode 100644 index 0000000..a850a44 --- /dev/null +++ b/sign_in.php @@ -0,0 +1,78 @@ + +prepare("SELECT * FROM membres WHERE email = :mail"); + $look->bindParam(":mail", $mail); + $look->execute(); + $userexist = -1; + $userexist = $look->rowCount(); + if ($userexist == 0) { + $data = $look->fetch(); + var_dump($password,$data['password']); + if (password_verify($password,$data['password'])) { + $erreur = "Vous avez été correctement connecté."; + } else { + $erreur = "Les mots de passe ne correspondent pas."; + } + } 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_up.html b/sign_up.html deleted file mode 100644 index dd68598..0000000 --- a/sign_up.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - Titre - - - - - - - - -
-

PopOp

- - -
-
-
- En attente de l'ajout d'un systeme PHP. -
Cette page est moche et mal faite. -
-
-

Inscription

- -
-
- -
- -
- -
-
- -
-
- -
-
- -
-
-
- - - - \ No newline at end of file