14 define(
'IN_PEEL_ADMIN',
true);
15 include(
"../configuration.inc.php");
20 include(
$GLOBALS[
'repertoire_modele'] .
"/admin_haut.php");
25 switch (
vb($_REQUEST[
'mode'])) {
51 array(
'nom_' .
$_SESSION[
'session_langue'] =>
$GLOBALS[
'STR_ADMIN_PRODUITS_ACHETES_ERR_NO_TITLE']));
56 $frm[
'image'] =
upload(
'image',
false,
'image_or_pdf',
$GLOBALS[
'site_parameters'][
'image_max_width'],
$GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb($frm[
'image']));
58 echo
$GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => sprintf(
$GLOBALS[
'STR_ADMIN_PRODUITS_ACHETES_MSG_CREATED_OK'],
vb($_POST[
'nom_' .
$_SESSION[
'session_langue']]))))->fetch();
67 if (!
verify_token($_SERVER[
'PHP_SELF'] . $frm[
'mode'] . $frm[
'id'])) {
71 $frm[
'image'] =
upload(
'image',
false,
'image_or_pdf',
$GLOBALS[
'site_parameters'][
'image_max_width'],
$GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb($frm[
'image']));
74 if (
$GLOBALS[
'site_parameters'][
'display_content_category_diaporama']) {
75 if(
$GLOBALS[
'site_parameters'][
'used_uploader'] ==
'html') {
81 echo
$GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => sprintf(
$GLOBALS[
'STR_ADMIN_PRODUITS_ACHETES_MSG_UPDATED_OK'],
vn($_REQUEST[
'id']))))->fetch();
92 if (isset($_GET[
'position']) && !empty($_GET[
'id'])) {
93 $qid =
query(
"SELECT *
95 WHERE id = " . intval($_GET[
'id']) .
" AND " .
get_filter_site_cond(
'rubriques', null,
true) .
"");
98 $qid =
query(
'UPDATE peel_rubriques
99 SET position="' . intval(
$result[
'position']) .
'"
100 WHERE parent_id="' . intval(
$result[
'parent_id']) .
'" AND position="' . intval($_GET[
'position']) .
'" AND ' .
get_filter_site_cond(
'rubriques', null,
true));
102 query(
'UPDATE peel_rubriques
103 SET position="' . intval($_GET[
'position']) .
'"
114 include(
$GLOBALS[
'repertoire_modele'] .
"/admin_bas.php");
133 $tpl =
$GLOBALS[
'tplEngine']->createTemplate(
'admin_arbo_rubrique.tpl');
136 $sql =
'SELECT r.id, r.nom_' .
$_SESSION[
'session_langue'] .
', r.site_id, r.etat, r.position, r.image, r.articles_review, r.technical_code
137 FROM peel_rubriques r
138 WHERE r.parent_id = "' . intval($parent_id) .
'" AND ' .
get_filter_site_cond(
'rubriques',
'r',
true) .
'
139 ORDER BY r.position' . (!empty(
$GLOBALS[
'site_parameters'][
'content_category_primary_order_by'])?
", r." .
$GLOBALS[
'site_parameters'][
'content_category_primary_order_by'] :
'') .
'';
142 if (!empty($rub[
'image'])) {
143 $this_thumb =
thumbs($rub[
'image'], 80, 50,
'fit');
144 $tpl->assign(
'image', $rub[
'image']);
145 $tpl->assign(
'image_src',
$GLOBALS[
'repertoire_upload'] .
'/thumbs/' . $this_thumb);
147 $tpl->assign(
'image', null);
148 $tpl->assign(
'image_src', null);
150 $tpl->assign(
'tr_rollover', tr_rollover($first_line,
true));
152 $tpl->assign(
'rubrique_src',
$GLOBALS[
'administrer_url'] .
'/images/rubrique-24.gif');
153 $tpl->assign(
'ajout_art_href',
$GLOBALS[
'administrer_url'] .
'/articles.php?mode=ajout&rubrique_id=' . $rub[
'id']);
154 $tpl->assign(
'prod_cat_src',
$GLOBALS[
'administrer_url'] .
'/images/prod-cat-24.gif');
155 $tpl->assign(
'nom', (!empty($rub[
'nom_' .
$_SESSION[
'session_langue']])?$rub[
'nom_' . $_SESSION[
'session_langue']]:
'['.$rub[
'id'].
']'));
157 $tpl->assign(
'drop_src',
$GLOBALS[
'administrer_url'] .
'/images/b_drop.png');
158 $tpl->assign(
'indent', $indent);
161 $tpl->assign(
'depth', $depth);
162 $tpl->assign(
'position', $rub[
'position']);
163 $tpl->assign(
'up_href',
get_current_url(
false) .
'?mode=modif_etat&id=' . $rub[
'id'] .
'&position=' . ($rub[
'position'] - 1));
164 $tpl->assign(
'up_src',
$GLOBALS[
'administrer_url'] .
'/images/up.gif');
165 $tpl->assign(
'desc_href',
get_current_url(
false) .
'?mode=modif_etat&id=' . $rub[
'id'] .
'&position=' . ($rub[
'position'] + 1));
166 $tpl->assign(
'desc_src',
$GLOBALS[
'administrer_url'] .
'/images/desc.gif');
167 $tpl->assign(
'etat_onclick',
'change_status("rubriques", "' . $rub[
'id'] .
'", this, "'.
$GLOBALS[
'administrer_url'] .
'")');
168 $tpl->assign(
'etat_src', $GLOBALS[
'administrer_url'] .
'/images/' . (empty($rub[
'etat']) ?
'puce-blanche.gif' :
'puce-verte.gif'));
169 $tpl->assign(
'STR_ADMIN_RUBRIQUES_ADD_SUBCATEGORY', $GLOBALS[
'STR_ADMIN_RUBRIQUES_ADD_SUBCATEGORY']);
170 $tpl->assign(
'STR_ADMIN_ARTICLES_FORM_ADD', $GLOBALS[
'STR_ADMIN_ARTICLES_FORM_ADD']);
171 $tpl->assign(
'STR_ADMIN_RUBRIQUES_DELETE_CATEGORY', $GLOBALS[
'STR_ADMIN_RUBRIQUES_DELETE_CATEGORY']);
172 $tpl->assign(
'STR_DELETE', $GLOBALS[
'STR_DELETE']);
173 $tpl->assign(
'STR_ADMIN_DELETE_WARNING', $GLOBALS[
'STR_ADMIN_DELETE_WARNING']);
174 $tpl->assign(
'STR_ADMIN_LEVEL', $GLOBALS[
'STR_ADMIN_LEVEL']);
175 $tpl->assign(
'STR_NUMBER', $GLOBALS[
'STR_NUMBER']);
176 $sortie .=
$tpl->fetch();
178 if ($rub[
'id'] != $parent_id) {
179 affiche_arbo_rubrique($sortie, $selectionne, $rub[
'id'], $indent .
" ", $first_line, $depth + 1);
196 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
197 $frm[
'nom_' . $lng] =
"";
198 $frm[
'description_' . $lng] =
"";
199 $frm[
'meta_titre_' . $lng] =
"";
200 $frm[
'meta_key_' . $lng] =
"";
201 $frm[
'meta_desc_' . $lng] =
"";
204 $frm[
'technical_code'] =
"";
206 $frm[
'position'] = 0;
207 $frm[
'articles_review'] =
"";
210 $frm[
"nouveau_mode"] =
"insere";
212 $frm[
'site_id'] =
"";
213 $frm[
"titre_soumet"] =
$GLOBALS[
'STR_ADMIN_RUBRIQUES_CREATE'];
231 $qid =
query(
"SELECT *
236 echo
$GLOBALS[
'tplEngine']->createTemplate(
'global_error.tpl', array(
'message' =>
$GLOBALS[
'STR_ADMIN_RUBRIQUES_ERR_NOT_FOUND']))->fetch();
240 $frm[
"nouveau_mode"] =
"maj";
241 $frm[
"titre_soumet"] =
$GLOBALS[
'STR_ADMIN_FORM_SAVE_CHANGES'];
256 $sql =
"SELECT nom_" .
$_SESSION[
'session_langue'] .
" AS nom
262 $qid =
query(
"SELECT rub.nom_" .
$_SESSION[
'session_langue'] .
", rub.parent_id, parent.nom_" .
$_SESSION[
'session_langue'] .
" AS parent
263 FROM peel_rubriques rub
264 INNER JOIN peel_rubriques parent ON parent.id = rub.parent_id
269 $qid =
query(
"UPDATE peel_articles_rubriques
270 SET rubrique_id = " . intval($rub[
'parent_id']) .
"
271 WHERE rubrique_id = '" . intval(
$id) .
"'");
273 $qid =
query(
"UPDATE peel_rubriques
274 SET parent_id = " . intval($rub[
'parent_id']) .
"
278 $qid =
query(
"UPDATE peel_articles_rubriques
279 SET rubrique_id = '0'
280 WHERE rubrique_id = '" . intval(
$id) .
"'");
282 $qid =
query(
"UPDATE peel_rubriques
288 echo
$GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => sprintf(
$GLOBALS[
'STR_ADMIN_RUBRIQUES_MSG_CREATED_OK'], $current_rub[
'nom'])))->fetch();
302 $sql =
'INSERT INTO peel_rubriques (
310 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
313 , description_" . $lng .
'
314 , meta_titre_' . $lng .
'
315 , meta_key_' . $lng .
'
316 , meta_desc_' . $lng;
320 " . intval(
$frm[
'parent_id']) .
"
323 ,'" . intval(
$frm[
'etat']) .
"'
325 ,'" . intval(
$frm[
'position']) .
"'
327 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
348 if (
$frm[
'parent_id'] ==
$id) {
351 $parent_id =
$frm[
'parent_id'];
357 $sql =
"UPDATE peel_rubriques
358 SET parent_id = '" . intval($parent_id) .
"'";
360 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
369 , etat = '" . intval(
$frm[
'etat']) .
"'
372 , position = '" . intval(
$frm[
'position']) .
"'
374 WHERE id = '" . intval(
$id) .
"'";
400 $tpl =
$GLOBALS[
'tplEngine']->createTemplate(
'admin_liste_rubrique.tpl');
401 $tpl->assign(
'add_src',
$GLOBALS[
'administrer_url'] .
'/images/add.png');
403 $tpl->assign(
'rubrique_src',
$GLOBALS[
'administrer_url'] .
'/images/rubrique-24.gif');
404 $tpl->assign(
'prod_cat_src',
$GLOBALS[
'administrer_url'] .
'/images/prod-cat-24.gif');
405 $tpl->assign(
'drop_src',
$GLOBALS[
'administrer_url'] .
'/images/b_drop.png');
407 $tpl->assign(
'rubrique_options', $rubrique_options);
408 $tpl->assign(
'STR_ADMIN_RUBRIQUES_LIST_TITLE',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_LIST_TITLE']);
409 $tpl->assign(
'STR_ADMIN_RUBRIQUES_ADD',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_ADD']);
410 $tpl->assign(
'STR_ADMIN_RUBRIQUES_ADD_SUBCATEGORY',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_ADD_SUBCATEGORY']);
411 $tpl->assign(
'STR_ADMIN_ARTICLES_FORM_ADD',
$GLOBALS[
'STR_ADMIN_ARTICLES_FORM_ADD']);
412 $tpl->assign(
'STR_ADMIN_RUBRIQUES_DELETE_CATEGORY',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_DELETE_CATEGORY']);
413 $tpl->assign(
'STR_ADMIN_RUBRIQUES_POSITION_EXPLAIN',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_POSITION_EXPLAIN']);
414 $tpl->assign(
'STR_ADMIN_ACTION',
$GLOBALS[
'STR_ADMIN_ACTION']);
416 $tpl->assign(
'STR_ADMIN_RUBRIQUE',
$GLOBALS[
"STR_ADMIN_RUBRIQUE"]);
418 $tpl->assign(
'STR_ADMIN_POSITION',
$GLOBALS[
'STR_ADMIN_POSITION']);
430 $tpl =
$GLOBALS[
'tplEngine']->createTemplate(
'admin_formulaire_rubrique.tpl');
433 $tpl->assign(
'mode',
vb(
$frm[
'nouveau_mode']));
436 $tpl->assign(
'site_id_select_multiple', !empty(
$GLOBALS[
'site_parameters'][
'multisite_using_array_for_site_id']));
437 $tpl->assign(
'getmode',
vb($_GET[
'mode']));
439 $tpl->assign(
'category_href', get_content_category_url(
$frm[
'id'],
$frm[
'nom_' . $_SESSION[
'session_langue']],
false,
false, null,
vb(
$frm[
'site_id'])));
440 $tpl->assign(
'empty_parent_id', empty(
$frm[
'parent_id']));
441 $tpl->assign(
'rubrique_options', get_categories_output(null,
'rubriques',
vb(
$frm[
'parent_id']),
'option',
' ', null, null,
true, 80));
443 $tpl->assign(
'position',
vb(
$frm[
'position']));
444 if(empty(
$frm[
'id'])){
445 $frm[
'articles_review'] =
vb(
$GLOBALS[
'site_parameters'][
'articles_review']);
447 $tpl->assign(
'articles_review',
vb(
$frm[
'articles_review']));
448 $tpl->assign(
'technical_code',
vb(
$frm[
'technical_code']));
450 foreach (
$GLOBALS[
'admin_lang_codes'] as $lng) {
452 'nom' =>
vb(
$frm[
'nom_' . $lng]),
454 'meta_key' =>
vb(
$frm[
'meta_key_' . $lng]),
455 'meta_desc' =>
vb(
$frm[
'meta_desc_' . $lng]),
456 'meta_titre' =>
vb(
$frm[
'meta_titre_' . $lng]),
460 $tpl->assign(
'drop_src',
$GLOBALS[
'administrer_url'] .
'/images/b_drop.png');
461 if (!empty(
$frm[
"image"])) {
464 if (
$GLOBALS[
'site_parameters'][
'display_content_category_diaporama']) {
465 $tpl_diapo = array();
467 if (!empty(
$frm[
'id'])) {
469 FROM `peel_diaporama`
470 WHERE `id_rubrique`=" . intval(
$frm[
'id']));
476 $tpl->assign(
'diapo', $tpl_diapo);
479 $tpl->assign(
'titre_soumet',
$frm[
"titre_soumet"]);
481 $tpl->assign(
'STR_ADMIN_WEBSITE',
$GLOBALS[
'STR_ADMIN_WEBSITE']);
483 $tpl->assign(
'STR_DELETE_THIS_FILE',
$GLOBALS[
'STR_DELETE_THIS_FILE']);
484 $tpl->assign(
'STR_BEFORE_TWO_POINTS',
$GLOBALS[
'STR_BEFORE_TWO_POINTS']);
485 $tpl->assign(
'STR_ADMIN_RUBRIQUES_UPDATE',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_UPDATE']);
486 $tpl->assign(
'STR_ADMIN_SEE_RESULT_IN_REAL',
$GLOBALS[
'STR_ADMIN_SEE_RESULT_IN_REAL']);
487 $tpl->assign(
'STR_ADMIN_RUBRIQUES_ADD',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_ADD']);
488 $tpl->assign(
'STR_ADMIN_RUBRIQUES_PARENT',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_PARENT']);
489 $tpl->assign(
'STR_BEFORE_TWO_POINTS',
$GLOBALS[
'STR_BEFORE_TWO_POINTS']);
490 $tpl->assign(
'STR_ADMIN_AT_ROOT',
$GLOBALS[
'STR_ADMIN_AT_ROOT']);
492 $tpl->assign(
'STR_ADMIN_ONLINE',
$GLOBALS[
'STR_ADMIN_ONLINE']);
493 $tpl->assign(
'STR_ADMIN_OFFLINE',
$GLOBALS[
'STR_ADMIN_OFFLINE']);
494 $tpl->assign(
'STR_ADMIN_POSITION',
$GLOBALS[
'STR_ADMIN_POSITION']);
495 $tpl->assign(
'STR_ADMIN_DISPLAY_MODE',
$GLOBALS[
'STR_ADMIN_DISPLAY_MODE']);
496 $tpl->assign(
'STR_ADMIN_RUBRIQUES_DISPLAY_SUMMARIES',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_DISPLAY_SUMMARIES']);
497 $tpl->assign(
'STR_ADMIN_RUBRIQUES_DISPLAY_NO_SUMMARY',
$GLOBALS[
'STR_ADMIN_RUBRIQUES_DISPLAY_NO_SUMMARY']);
498 $tpl->assign(
'STR_ADMIN_TECHNICAL_CODE',
$GLOBALS[
'STR_ADMIN_TECHNICAL_CODE']);
499 $tpl->assign(
'STR_ADMIN_LANGUAGES_SECTION_HEADER',
$GLOBALS[
'STR_ADMIN_LANGUAGES_SECTION_HEADER']);
500 $tpl->assign(
'STR_ADMIN_NAME',
$GLOBALS[
'STR_ADMIN_NAME']);
501 $tpl->assign(
'STR_ADMIN_DESCRIPTION',
$GLOBALS[
'STR_ADMIN_DESCRIPTION']);
502 $tpl->assign(
'STR_ADMIN_META_TITLE',
$GLOBALS[
'STR_ADMIN_META_TITLE']);
503 $tpl->assign(
'STR_ADMIN_META_KEYWORDS',
$GLOBALS[
'STR_ADMIN_META_KEYWORDS']);
504 $tpl->assign(
'STR_ADMIN_SEPARATE_KEYWORDS_EXPLAIN',
$GLOBALS[
'STR_ADMIN_SEPARATE_KEYWORDS_EXPLAIN']);
505 $tpl->assign(
'STR_ADMIN_META_DESCRIPTION',
$GLOBALS[
'STR_ADMIN_META_DESCRIPTION']);
506 $tpl->assign(
'STR_ADMIN_VARIOUS_INFORMATION_HEADER',
$GLOBALS[
'STR_ADMIN_VARIOUS_INFORMATION_HEADER']);
507 $tpl->assign(
'STR_ADMIN_FILE_NAME',
$GLOBALS[
'STR_ADMIN_FILE_NAME']);
508 $tpl->assign(
'STR_ADMIN_DELETE_IMAGE',
$GLOBALS[
'STR_ADMIN_DELETE_IMAGE']);
529 query(
"UPDATE peel_rubriques
535 echo
$GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => sprintf(
$GLOBALS[
'STR_ADMIN_RUBRIQUES_MSG_DELETED_OK'], $file[
'image'])))->fetch();
548 query(
"DELETE FROM `peel_diaporama` WHERE id = '" . intval(
$id) .
"'");
550 echo
$GLOBALS[
'tplEngine']->createTemplate(
'global_success.tpl', array(
'message' => sprintf(
$GLOBALS[
'STR_ADMIN_DIAPORAMA_MSG_DELETED_OK'], $file)))->fetch();
562 if (!empty(
$frm[
'image' .
$i])) {
563 $img =
upload(
'image' . $i,
false,
'image_or_pdf',
$GLOBALS[
'site_parameters'][
'image_max_width'],
$GLOBALS[
'site_parameters'][
'image_max_height'], null, null,
vb(
$frm[
'image' . $i]));
564 if (!empty($img) && !empty($id_rubrique)) {
get_site_name($site_ids, $skip_rights_check=false)
Retourne le nom d'un ou de plusieurs sites à partir de l'id.
getTextEditor($instance_name, $width, $height, $default_text, $default_path=null, $type_html_editor=0, $compter_char_max_if_enabled=255, $placeholder= '')
getTextEditor()
get_current_url($with_get=true, $get_short_url=false, $take_away_get_args_array=null)
get_current_url()
affiche_formulaire_liste_rubrique($id)
affiche_formulaire_liste_rubrique()
supprime_rubrique($id)
Supprime la rubrique spécifiée par ve($_REQUEST['id']), et déplace tous les produits sous cette rubri...
supprime_fichier_diaporama($id, $file)
Supprime l'image de la rubrique spécificiée par $id.
insere_sous_rubrique($frm)
insere_sous_rubrique()
affiche_formulaire_ajout_rubrique($id, &$frm)
Affiche un formulaire de rubrique vide.
upload($field_name, $rename_file=true, $file_kind=null, $image_max_width=null, $image_max_height=null, $path=null, $new_file_name_without_extension=null, $default_return_value=null)
Fonction d'upload de fichiers.
fill_other_language_content($frm)
Retourne les contenus remplis si vide.
get_site_id_select_options($selected_site_id=null, $selected_site_name=null, $display_first_option=null, $select_current_site_id_by_default=false)
Créer les options pour le select qui liste les noms de sites configurés en back office.
static html_entity_decode_if_needed($string)
String::html_entity_decode_if_needed()
nohtml_real_escape_string($value, $allowed_tags=null)
Protège les données pour insertion dans MySQL ET supprime les tags HTML pour protéger de toute sorte ...
affiche_liste_rubrique($parent_id)
affiche_liste_rubrique()
if(!empty($_GET['id'])) if(isset($_POST['form_name'], $_POST['form_subject'], $_POST['form_text'], $_POST['form_lang'])&&empty($_GET['id'])) if(empty($_GET['id'])) $tpl
affiche_formulaire_modif_rubrique($id, &$frm)
Affiche le formulaire de modification de rubrique.
if(!defined('IN_PEEL')) thumbs($source_filename, $width, $height, $method= 'fit', $source_folder=null, $thumb_folder=null, $thumb_rename=true, $return_absolute_path=false)
Charge l'image dont le nom est $source_filename dans le répertoire d'upload, et crée une vignette pou...
real_escape_string($value)
real_escape_string()
necessite_priv($priv, $demo_allowed=true, $configuration_modification=false)
Cette fonction vérifie si l'utilisateur a les privilèges de $priv.
get_filter_site_cond($table_technical_code, $table_alias=null, $use_strict_rights_if_in_admin=false, $specific_site_id=null, $exclude_public_items=false, $admin_force_multisite_if_allowed=false)
Retourne la condition SQL permettant de filtrer les données pour une table.
query($query, $die_if_error=false, $database_object=null, $silent_if_error=false, $security_sql_filter=true)
The query() function is meant to be called anywhere you want to make a query.
get_uploaded_file_infos($field_name, $file, $delete_url, $logo_width=100, $logo_height=100)
Remplit un tableau d'informations pour le template d'upload HTML.
affiche_formulaire_rubrique(&$frm)
affiche_formulaire_rubrique()
necessite_identification()
Si l'utilisateur n'est pas connecté à un compte, on affiche une page d'identification et arrête le sc...
delete_uploaded_file_and_thumbs($filename)
delete_uploaded_file_and_thumbs()
fetch_assoc($query_result)
fetch_assoc()
get_form_token_input($name= 'general', $use_existing_token=true, $return_as_input_form=true)
get_form_token_input()
supprime_fichier_rubrique($id, $file)
Supprime l'image de la rubrique spécifiée par $id.
get_site_id_sql_set_value($site_ids)
Retourne la valeur SQL d'un champ INT ou SET suivant que ce soit un entier ou un tableau.
maj_rubrique($id, $frm)
maj_rubrique()
verify_token($name= 'general', $delay_in_minutes=60, $check_referer_if_set_by_server=true, $cancel_token=true, $minimum_wait_in_seconds_before_use=0)
Vérification de la validité d'un token Par défaut, un token est valide 1h, et utilisable 1 seule fois...
affiche_arbo_rubrique(&$sortie, $selectionne, $parent_id=0, $indent="", $first_line=0, $depth=1)
FONCTIONS.
upload_rubrique_diaporama($id_rubrique, $frm)
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']