Subversion Repositories ALCASAR

Rev

Rev 325 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 325 Rev 907
Line 18... Line 18...
18
			if (is_file("../lib/crypt/$config[general_encryption_method].php")){
18
			if (is_file("../lib/crypt/$config[general_encryption_method].php")){
19
				include("../lib/crypt/$config[general_encryption_method].php");
19
				include("../lib/crypt/$config[general_encryption_method].php");
20
				$enc_passwd = $row[value];
20
				$enc_passwd = $row[value];
21
				$passwd = da_encrypt($passwd,$enc_passwd);
21
				$passwd = da_encrypt($passwd,$enc_passwd);
22
				if ($passwd == $enc_passwd)
22
				if ($passwd == $enc_passwd)
23
//					$msg = '<font color=blue><b>YES It is that</b></font>';
23
					$msg = '<font color=blue><b>YES It is that</b></font>';
24
					$msg = '<font color=blue><b>Le mot de passe est correct</b></font>';
-
 
25
				else
24
				else
26
//					$msg = '<font color=red><b>NO It is wrong</b></font>';
25
					$msg = '<font color=red><b>NO It is wrong</b></font>';
27
					$msg = '<font color=red><b>Le mot de passe n\'est pas correct</b></font>';
-
 
28
			}
26
			}
29
			else
27
			else
30
				echo "<b>Could not open encryption library file</b><br>\n";
28
				echo "<b>Could not open encryption library file</b><br>\n";
31
		}
29
		}
32
	}
30
	}