Subversion Repositories eFlore/Applications.cel

Rev

Rev 1326 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1326 Rev 1425
Line 245... Line 245...
245
					break;
245
					break;
246
				default:
246
				default:
247
					$nom_racine = $this->suffixe;
247
					$nom_racine = $this->suffixe;
248
					$id_racine = $this->suffixe;
248
					$id_racine = $this->suffixe;
249
			}
249
			}
-
 
250
			
-
 
251
			$md5_racine = $this->proteger(md5($nom_racine));
-
 
252
			$id_racine = $this->proteger($id_racine);
-
 
253
			$nom_racine = $this->proteger($nom_racine);
-
 
254
			$id_utilisateur = $this->proteger($id);
Line 250... Line 255...
250
 
255
 
251
			if ($valeurs == 0) {
256
			if ($valeurs == 0) {				
252
				$requete = 	'INSERT INTO cel_mots_cles'.$this->suffixe_table.' '.
257
				$requete = "INSERT INTO cel_mots_cles{$this->suffixe_table} ".
-
 
258
						   "VALUES ($id_racine, $id_utilisateur, $nom_racine, $md5_racine, ".
-
 
259
						   "1, 2, 0, '') ";
253
							'VALUES ("'.$nom_racine.'", 1, 2, "'.$id_racine.'", "'.$id_racine.'", '.$this->proteger($id).', "", 0) ';
260
				
254
				$this->executer($requete);
261
				$this->executer($requete);
255
			}
262
			}
256
		}
263
		}