Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 1354 Rev 1400
Line 265... Line 265...
265
				default:
265
				default:
266
					$nom_racine = $this->suffix;
266
					$nom_racine = $this->suffix;
267
					$id_racine = $this->suffix;
267
					$id_racine = $this->suffix;
268
			}
268
			}
Line -... Line 269...
-
 
269
 
269
 
270
			$md5_racine = $this->proteger($this->encoderMotCle($nom_racine));
270
			$nom_racine = $this->proteger($nom_racine);
271
			$nom_racine = $this->proteger($nom_racine);
271
			$id_racine = $this->proteger($id_racine);
272
			$id_racine = $this->proteger($id_racine);
-
 
273
			$id_utilisateur = $this->proteger($this->utilisateur_id);
272
			$id_utilisateur = $this->proteger($this->utilisateur_id);
274
 
273
			$requete = 	"INSERT INTO cel_mots_cles{$this->suffix} ".
275
			$requete = "INSERT INTO cel_mots_cles{$this->suffix} ".
-
 
276
			"VALUES ($id_racine, $id_utilisateur, $nom_racine, $md5_racine,".
-
 
277
			" 1, 2, 0, '') ";
274
						"VALUES ($nom_racine, 1, 2, $id_racine, $id_racine, $id_utilisateur, '', 0) ";
278
 
275
			if ($this->executerSQL($requete) === false) {
279
			if ($this->executerSQL($requete) === false) {
276
				$e = "La requête d'insertion du mot-clé racine a échoué.";
280
				$e = "La requête d'insertion du mot-clé racine a échoué.";
277
				$this->messages[] = $e;
281
				$this->messages[] = $e;
278
			}
282
			}