diff --git a/admin123/admin.php b/admin123/admin.php
new file mode 100644
index 0000000..9054748
--- /dev/null
+++ b/admin123/admin.php
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+ Mon super portfolio
+
+
+
+Administration
+Bonjour
+
+
+
+
+
+
+
diff --git a/admin123/index.php b/admin123/index.php
new file mode 100644
index 0000000..6860007
--- /dev/null
+++ b/admin123/index.php
@@ -0,0 +1,48 @@
+
+
+
+
+
+
+
+
+
+ Mon super portfolio
+
+
+
+Ici, c'est l'administration, c'est ici qu'on trouve toute l'administration.
+
+
+
+
+
diff --git a/lib/login.php b/lib/login.php
new file mode 100644
index 0000000..17b690b
--- /dev/null
+++ b/lib/login.php
@@ -0,0 +1,33 @@
+prepare('SELECT * FROM user');
+
+ $query->execute();
+
+ $userList = $query->fetchAll();
+
+ foreach ($userList as $k) {
+ if ($k['user'] == $user && $k['password'] == $password) {
+
+ session_start();
+
+ $_SESSION['user'] = $user;
+ $_SESSION['password'] = $password;
+
+ header('Location: admin.php');
+
+ } else {
+ header('Location: index.php');
+ }
+ }
+}
diff --git a/lib/project.php b/lib/project.php
index 770c4a3..4733718 100644
--- a/lib/project.php
+++ b/lib/project.php
@@ -142,6 +142,7 @@ function createComment($name, $email, $website, $content, DateTime $date, $proje
]);
}
+
/**
* Génère et retourne une pagination
*