commit 2a68de56aba446543e921c1de3c2cee02bcbfa7c
parent bbaf3cc306792cf43d51e8adf0cd5af819430678
Author: John Charron <rm_rf_windows@yahoo.fr>
Date: Wed, 23 Feb 2011 11:04:30 +0100
Problème CSS résolu grâce à Yoann ! (jc)
Diffstat:
2 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/code/serveur/php/ressources/simple.css b/code/serveur/php/ressources/simple.css
@@ -119,20 +119,6 @@ h2#tache-description {
clear:both;
}
-
-.warning {
- width : 40%;
- display : block;
- border : 1px dashed red;
-
- padding : 5px;
- padding-left : 30px;
- margin-top : 10px;
- margin-bottom : 10px;
- margin-right : 6%;
- margin-left : 6%;
-}
-
.message {
width : 40%;
display : block;
@@ -144,12 +130,12 @@ h2#tache-description {
margin-left : 6%;
}
-.message .warning {
+.warning {
border : 1px dashed red;
background-color : #F0C060
}
-.message .success {
+.success {
border : 1px dashed red;
background-color : #90FF90
}
\ No newline at end of file
diff --git a/code/serveur/php/signup.php b/code/serveur/php/signup.php
@@ -144,8 +144,9 @@ if(isset($_GET['d']) && $_GET['d'] == "true") {
else if($newpage == false){
$ok = ($db->query("INSERT INTO user(mail, login, hash_passwd, score) VALUES ('" . SQLite3::escapeString($signupemail)
. "', '" . SQLite3::escapeString($signupid)
- . "', '" . SQLite3::escapeString($signuppswd1)
+ . "', '" . SQLite3::escapeString(md5($signuppswd1))
. "', 0);"));
+
if($ok == true)
echo "insertion worked!!!!!";
else