Subversion Repositories ALCASAR

Rev

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

Rev 508 Rev 509
Line 15... Line 15...
15
$op_val2 = '';
15
$op_val2 = '';
16
$link = @da_sql_pconnect($config);
16
$link = @da_sql_pconnect($config);
17
if ($link){
17
if ($link){
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
		/*Ajout en vue de l'impression des données*/
20
		/*Ajout en vue de l'impression des données (thank's to Geoffroy MUSITELLI)*/
21
		$passwd_imp = $passwd;
21
		$passwd_imp = $passwd;
22
		/*Fin Ajout*/
22
		/*Fin Ajout*/
23
		$passwd = da_encrypt($passwd);
23
		$passwd = da_encrypt($passwd);
24
		$passwd = da_sql_escape_string($passwd);
24
		$passwd = da_sql_escape_string($passwd);
25
		$res = @da_sql_query($link,$config,
25
		$res = @da_sql_query($link,$config,
Line 91... Line 91...
91
				else if ($attr_type["$key"] == 'replyItem'){
91
				else if ($attr_type["$key"] == 'replyItem'){
92
					$table = "$config[sql_reply_table]";
92
					$table = "$config[sql_reply_table]";
93
					$type = 2;
93
					$type = 2;
94
				}
94
				}
95
				$val = $$attrmap["$key"];
95
				$val = $$attrmap["$key"];
96
				/*Ajout en vue de l'impression des données*/
96
				/*Ajout en vue de l'impression des données (thank's to Geoffroy MUSITELLI)*/
97
				if($key == "Session-Timeout") $sto_imp = $val;
97
				if($key == "Session-Timeout") $sto_imp = $val;
98
				if($key == "Max-Daily-Session") $mds_imp = $val;
98
				if($key == "Max-Daily-Session") $mds_imp = $val;
99
				if($key == "Max-Monthly-Session") $mms_imp = $val;
99
				if($key == "Max-Monthly-Session") $mms_imp = $val;
100
				/*Fin Ajout*/
100
				/*Fin Ajout*/
101
				$val = da_sql_escape_string($val);
101
				$val = da_sql_escape_string($val);