\ No newline at end of file
diff --git a/del.php b/del.php
new file mode 100755
index 0000000..8d6c853
--- /dev/null
+++ b/del.php
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/fonts/SourceSansPro-Black.otf b/fonts/SourceSansPro-Black.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-BlackIt.otf b/fonts/SourceSansPro-BlackIt.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-Bold.otf b/fonts/SourceSansPro-Bold.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-BoldIt.otf b/fonts/SourceSansPro-BoldIt.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-ExtraLight.otf b/fonts/SourceSansPro-ExtraLight.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-ExtraLightIt.otf b/fonts/SourceSansPro-ExtraLightIt.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-It.otf b/fonts/SourceSansPro-It.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-Light.otf b/fonts/SourceSansPro-Light.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-LightIt.otf b/fonts/SourceSansPro-LightIt.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-Regular.otf b/fonts/SourceSansPro-Regular.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-Semibold.otf b/fonts/SourceSansPro-Semibold.otf
old mode 100644
new mode 100755
diff --git a/fonts/SourceSansPro-SemiboldIt.otf b/fonts/SourceSansPro-SemiboldIt.otf
old mode 100644
new mode 100755
diff --git a/header.php b/header.php
new file mode 100755
index 0000000..2303ff5
--- /dev/null
+++ b/header.php
@@ -0,0 +1,31 @@
+ERREUR : Connexion au serveur impossible !");
+ $db=mysql_select_db($base,$connexion) or die ("
");
+ $ligne=mysql_fetch_array($resultat);
+ return $ligne;
+}
+
+session_start();
+$status=$_SESSION['status'];
+connecte("ecomonde");
+$sql="SELECT * FROM membres WHERE id='$status'";
+$res=mysql_query($sql) or die("Erreur de requete $sql");
+while ($ligne=mysql_fetch_array($res)) {
+extract($ligne);
+$hash=md5($email);
+}
+?>
\ No newline at end of file
diff --git a/img/logo_0.png b/img/logo_0.png
old mode 100644
new mode 100755
diff --git a/index.php b/index.php
old mode 100644
new mode 100755
index bb7c04e..41510f7
--- a/index.php
+++ b/index.php
@@ -1,10 +1,26 @@
-
+
+
C\'est bon !
+
Vous pouvez à présent vous connecter pour commencer à configurer votre partie.
");
- $ligne=mysql_fetch_array($resultat);
- return $ligne;
-}
-
+
\ No newline at end of file
diff --git a/session.php b/session.php
old mode 100644
new mode 100755
index dc5058e..1d12e31
--- a/session.php
+++ b/session.php
@@ -22,17 +22,17 @@ function requete1l($sql)
}
$email=$_POST['email'];
-$password=$_POST['password'];
+$password=sha1($_POST['password']);
connecte("ecomonde");
$ligne=requete1l("SELECT * FROM membres WHERE email='$email' AND pass='$password'");
if($ligne=="")
-header("location:index.php");
+header("location:index.php?msg=3");
else
{
-$_SESSION['status']=1;
extract($ligne);
+$_SESSION['status']=$id;
header("location:index.php");
}
\ No newline at end of file