From 2a68de56aba446543e921c1de3c2cee02bcbfa7c Mon Sep 17 00:00:00 2001 From: John Charron Date: Wed, 23 Feb 2011 11:04:30 +0100 Subject: [PATCH] =?UTF-8?q?Probl=C3=A8me=20CSS=20r=C3=A9solu=20gr=C3=A2ce?= =?UTF-8?q?=20=C3=A0=20Yoann=20!=20(jc)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/serveur/php/ressources/simple.css | 18 ++---------------- code/serveur/php/signup.php | 3 ++- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/code/serveur/php/ressources/simple.css b/code/serveur/php/ressources/simple.css index 9d62ec9..bb70a18 100644 --- 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 index 324b694..6ea0320 100644 --- 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