diff --git a/about.html b/about.html
index dcfb97b..9630cf9 100644
--- a/about.html
+++ b/about.html
@@ -7,10 +7,6 @@
À propos - Le pain bleu
-
-
-
-
@@ -23,9 +19,10 @@
diff --git a/api/client.php b/api/client.php
new file mode 100644
index 0000000..cba6f8a
--- /dev/null
+++ b/api/client.php
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+ Le pain bleu
+
+
+
+
+
+
+
+
+
+
+ LE PAIN BLEUSEULEMENT BLEU 
+
+ num_rows > 0) {
+ while($row = $rps->fetch_assoc()) {
+ if ($cat == $row["pass"])
+ {
+ }
+ else
+ {
+ echo $cat;
+ echo "_____ IN BETWEEN _____";
+ echo $row["pass"];
+ die("DENIED");
+ }
+ }
+ } else {
+ echo "no result :(";
+ }
+ $conn->close();
+ ?>
+
+
+
+
+
+
+
+
'.$file.'';
+ }
+ }
+ closedir($handle);
+ }
+ ?>
+
Fichiers:
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/api/client_files/fds.txt b/api/client_files/fds.txt
new file mode 100644
index 0000000..e69de29
diff --git a/api/client_files/fdsa.txt b/api/client_files/fdsa.txt
new file mode 100644
index 0000000..e69de29
diff --git a/api/client_files/fdsfds.txt b/api/client_files/fdsfds.txt
new file mode 100644
index 0000000..e69de29
diff --git a/api/db.php b/api/db.php
new file mode 100644
index 0000000..ec064da
--- /dev/null
+++ b/api/db.php
@@ -0,0 +1,16 @@
+ connect_errno) {
+ echo "La connection à rip: " . $conn -> connect_error;
+ exit();
+}
+
+?>
\ No newline at end of file
diff --git a/api/mmn.js b/api/mmn.js
new file mode 100644
index 0000000..f10d60d
--- /dev/null
+++ b/api/mmn.js
@@ -0,0 +1,18 @@
+var str = "Aucun pain bleu ici, malheureusement. keep looking tho, may find something.";
+console.log(str);
+
+function chkLogin(woof, miaw) {
+ $.post( "./api/yeet.php", { dog: woof, cat: miaw }, function(data) {
+ console.log("au moins ta fonction chkLogin se fait caller, c'est déjà ça...");
+ console.log(data);
+ document.getElementById("nomd").value = "";
+ document.getElementById("mdp").value = "";
+
+ if (data == "redirect" || document.cookie)
+{
+ window.location = 'api/client.php';
+}
+});
+}
+
+
diff --git a/api/yeet.php b/api/yeet.php
new file mode 100644
index 0000000..ae88bf9
--- /dev/null
+++ b/api/yeet.php
@@ -0,0 +1,57 @@
+num_rows > 0) {
+ while($row = $rps->fetch_assoc()) {
+ $oof = password_verify($cat, $row["pass"]);
+ if ($oof)
+ {
+ setcookie("user", $dog, time() + (86400 * 30), "/");
+ setcookie("pass", $row["pass"], time() + (86400 * 30), "/");
+ echo "redirect";
+ }
+ else
+ {
+ }
+ }
+ } else {
+ echo "no result :(";
+ }
+ $conn->close();
+
+function jsonLogin($x, $y, $ip)
+{
+ header("Content-type: application/json");
+ echo json_encode(array('x'=>$x, 'y'=>$y, 'ip'=>$ip));
+}
+
+function getUserIpAddr()
+{
+
+ if (!empty($_SERVER['HTTP_CLIENT_IP']))
+{
+ $ip = $_SERVER['HTTP_CLIENT_IP'];
+}
+elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))
+{
+ $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
+}
+else
+{
+ $ip = $_SERVER['REMOTE_ADDR'];
+}
+return $ip;
+
+/// Source - https://www.codexworld.com/how-to/get-user-ip-address-php/
+}
+
+?>
\ No newline at end of file
diff --git a/index.html b/index.html
index 0cf7473..f262d5e 100644
--- a/index.html
+++ b/index.html
@@ -7,10 +7,6 @@
Le pain bleu
-
-
-
-
@@ -23,9 +19,10 @@
diff --git a/login.html b/login.html
new file mode 100644
index 0000000..23cf7fb
--- /dev/null
+++ b/login.html
@@ -0,0 +1,64 @@
+
+
+
+
+
+
+ Le pain bleu
+
+
+
+
+
+
+
+
+
+
+
+
+ LE PAIN BLEUSEULEMENT BLEU 
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/products.html b/products.html
index ab48bbb..446f1dc 100644
--- a/products.html
+++ b/products.html
@@ -7,10 +7,6 @@
Produits - Le pain bleu
-
-
-
-
@@ -23,9 +19,10 @@