diff --git a/header.html b/header.html
index 8a5d23d..7d65b4d 100644
--- a/header.html
+++ b/header.html
@@ -17,10 +17,9 @@
-
-
diff --git a/subscribe.html b/subscribe.php
similarity index 69%
rename from subscribe.html
rename to subscribe.php
index 0214994..d69515d 100644
--- a/subscribe.html
+++ b/subscribe.php
@@ -1,23 +1,4 @@
-
-
-
-
-
-
- Every AskWeb (BETA)
-
-
-
-
-
-
-
-
-
-
Nemubot AskWeb (BETA)
-
-
-
+
Inscription
@@ -43,6 +24,5 @@
-
diff --git a/subscriptionConfirmation.php b/subscriptionConfirmation.php
index d08a2fb..380d4f5 100644
--- a/subscriptionConfirmation.php
+++ b/subscriptionConfirmation.php
@@ -1,38 +1,25 @@
+
+
+
+isValidated())
{
$users[$_GET['id']]->set_validated(true);
- $message = "ok";
+ User::setUsers($users);
+ echo "Vous êtes maintenant inscrit !";
}
else
-{
- $message = "already";
-}
-?>
-
-
-
-
-
- Vous êtes maintenant inscrit !
-
- Vous êtes déjà inscrit
-
- Une erreur est survenue
-
+ echo "Vous êtes déjà inscrit";
+?>