Home / Culture / Art: Décès d'une figure de l'avant-garde chinoise – Monde

Art: Décès d'une figure de l'avant-garde chinoise – Monde



L'artiste Huang Yong Ping est décédé "brutalement" samedi, a annoncé la galerie Kamel Mennour qui le représentait. Il avait installé un squelette de serpent de 250 mètres de long sous la cloison du Grand Palais 2016.

Figure majeure de l'art avant-gardiste en Chine, parfois considéré comme le parrain de cette génération en ébullition, un artiste âgé de 65 ans installé en France depuis 1989. de monter une exposition à Beaubourg lorsque les événements de la place Tiananmen ont éclaté, ce qui l’a empêché de repartir.

Il ne posera le pied en Chine qu'au début des années 2000 pour un projet de reproduction d'un avion réellement grand, qui sera censuré

XXL Creations

Huang Yong Ping est devenu célèbre pour ses créations XXL: colonnes percant le toit du pavillon de la Biennale de Venise (1

999), arche de Noé grandeur nature de la chapelle des Beaux-Arts de Paris (2009), immense squelette en métal (125 mètres) près du port de Saint -Nazaire (2012), par exemple.

"Huang Yong P ing tient à souligner un phénomène très puissant dans lequel l'homme est une petite chose, a expliqué le conservateur de l'exposant, Jean de Loisy, l'un de ses amis, à propos de cette représentation symbolique de la deuxième révolution industrielle.

Groupe Xiamen Dada

Né en 1954 dans le sud-est de la Chine, Huang Yong Ping a étudié aux Beaux-Arts avant de fonder le groupe Xiamen Dada au milieu des années 1980, inspiré par l'idée de Marcel Duchamp et répondant à la censure ses propres œuvres, en particulier

Sa vie change en 1989, année de son installation en France (il sera naturalisé dix ans plus tard), son art devient alors de plus en plus monumental, mêlant "les vieux mythes et l'actualité la plus brûlante", Paris Gallery Kamel Mennour dans sa déclaration dimanche, Le dernier jour de Fiacen, le grand rendez-vous de l'art contemporain.

"Le travail de Huang Yong Ping, toujours profond et percutant, à l'image de son esprit joyeux et brillant En tant que personne sage, déterminée à vivre le rôle de l’art, non pas en tant qu’objet matériel et esthétique, mais en tant qu’essence de la vie qui déborde », conclut la galerie dans son hommage. (ats / nxp)

Créé: 20.10.2019, 19:45

////////////////////////////////////////////////// / // gestionnaire de formes fonctionnalité commentsForm_send () { var fbForm_message = $ .trim ($ ("# fbForm_message"). val ()); var fbForm_msgID = $ .trim ($ ("# fbForm_msgID"). val ()); // si cette valeur est> 0, c'est une réponse à un autre message de commentaire var fbForm_uri = $ .trim ($ ("# fbForm_uri"). val ()); var fbForm_storyId = $ .trim ($ ("# fbForm_storyId"). val ()); var fbForm_ip = $ .trim ($ ("# fbForm_ip"). val ()); var fbForm_realName = $ .trim ($ ("# fbForm_realName"). val ()); var fbForm_userId = $ .trim ($ ("# fbForm_userId"). val ()); var fbForm_userToken = $ ("# fbForm_userToken"). val (); var fbForm_publishOnFB = $ ("# fbForm_publishOnFB: vérifié"). val (); if (typof fbForm_publishOnFB === & # 39; undefined & # 39;) { fbForm_publishOnFB = 0; } var fbFormN_gotcha = $ .trim ($ ("# fbFormN_gotcha"). val ()); var harErrors = false; var messageReg = fbForm_message.length> 1;

if (messageReg == false) { $ ("# CommentError_message") visa (). hasErrors = true; } if (fbFormN_gotcha.length> 1) { hasErrors = true; }

if (! ($ (& # 39; # disclaimerConfirmBtn & # 39;).. est (& # 39; sélectionné (e))))) { $ ("# CommentError_disclaimer") visa (). hasErrors = true; } si (! hasErrors) { $ ("# commentsForm_send"). attr ("Disabled", "true"); $ ("# commentsForm_send_noFb"). attr ("Disabled", "true");

$ ("# CommentSendLoading") visa (). $ .ajax ({type: "POST", dataType: "text", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = sendComment & fbForm_realName =" + encodeURIComponent (fbForm_realName) + "& fbForm_userId =" + fbForm_userId + "& fbForm_userToken =" + encodeURIComponent (fbForm_userToken) (fbForm_uri) + "& fbForm_storyId =" fbForm_storyId + + "& fbForm_ip =" + fbForm_ip + "& fbForm_message =" + encodeURIComponent (fbForm_message) + "& fbForm_msgID" " erreur: fonction () { alert ($ ("# tr_commentSendError") html ().); } complete: fonction (reqCode) { $ ("# CommentLogin") hide (). $ ("# FbForm_message") hide (). $ ("# FbForm_message_count_class") hide (). $ ("# CommentError_message") hide (). $ ("# CommentError_name") hide (). $ ("# CommentError_location") hide (). $ ("# CommentError_email") hide (). $ ("# CommentError_disclaimer") hide (). $ Hide () ("disclaimerText .."); $ ("# CommentInfo_noFb") hide (). $ ("# CommentsForm_send") hide (). $ ("# FbCommentPublishCheckbox") hide (). $ ("# CommentsForm_send_noFb") hide (). $ ("# CommentInfo_Fb") visa (). $ ("# CommentSendLoading") hide (). } }); } // hasErrors }

////////////////////////////////////////////////// function delete_cookie (cookie) { $ .cookie (cookie, null, {chemin: & # 39; / & # 39;}); }

////////////////////////////////////////////////// function save_form_to_cookie (nom de la classe) { var form = new Array (); $ ("." + className) .each (fonction (index) { formulaire [index] = {}; form [index]['id'] = $ (this) .attr ("id"); forme [index]['val'] = $ (this) .val (); }); $ .cookie (nom_classe, JSON.stringify (forme), {json: true}); }

////////////////////////////////////////////////// fonction save_object_to_cookie (data) { var form = new Array (); form [0]['id'] = & # 39; fbFormN_firstName & # 39 ;; form [0]['val'] = & # 39; & # 39 ;; form [1]['id'] = & # 39; fbFormN_ nom de famille & # 39 ;; form [1]['val'] = & # 39; & # 39 ;; form [2]['id'] = & # 39; fbFormN_zip & # 39 ;; form [2]['val'] = & # 39; & # 39 ;; form [3]['id'] = & # 39; fbFormN_location & # 39 ;; form [3]['val'] = & # 39; & # 39 ;; form [4]['id'] = & # 39; fbFormN_email & # 39 ;; form [4]['val'] = & # 39; & # 39 ;; $ ("." + className) .each (fonction (index) { formulaire [index] = {}; form [index]['id'] = $ (this) .attr ("id"); forme [index]['val'] = $ (this) .val (); }); $ .cookie (nom_classe, JSON.stringify (forme), {json: true}); }

////////////////////////////////////////////////// fonction set_logged_in_cookie (data) { $ .cookie (& comment, comment_login_details_email & # 39; JSON.stringify (données), {json: true, expire: 14, chemin: & # 39; / & # 39;}); }

////////////////////////////////////////////////// fonction read_logged_in_cookie () { var cookie_form_data_json = $ .cookie (& # 39; comment_login_details_email & # 39;) if (cookie_form_data_json! = null) { var form_data = JSON.parse (cookie_form_data_json); if (typeof_format_data! = & # 39; non défini & # 39;) { if (form_data.user.customer_id == 53) { if (typeofform_data.pcr! = & # 39; non défini & # 39; && form_data.pcr! = null && form_data.pcr.length> 0) { if (typeof form_data.uid! = = # 39; non défini & # 39; && form_data.uid! = null && form_data.uid! = 0) { auto_login_email (form_data); retour; } } } else { auto_login_email (form_data); } } }

}

////////////////////////////////////////////////// fonction read_form_from_cookie (nom de classe) { var cookie_form_data_json = $ .cookie (nom de classe); var form_data = JSON.parse (cookie_form_data_json); $ .each (données_formulaire, fonction (index, valeur) { $ ("#" + value.id) .val (value.value); }); }

////////////////////////////////////////////////// / fonction commentsForm_create_account () { var fbFormN_firstName = $ .trim ($ ("# fbFormN_firstName"). val ()); var fbFormN_sname = $ .trim ($ ("# fbFormN_ dernier nom"). val ()); var fbFormN_zip = $ .trim ($ ("# fbFormN_zip"). val ()); var fbFormN_location = $ .trim ($ ("# fbFormN_location"). val ()); var fbFormN_telephone = $ .trim ($ ("# fbFormN_telephone"). val ()); var fbFormN_email = $ .trim ($ ("# fbFormN_email"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ()); var fbForm_storyId = $ .trim ($ ("# fbForm_storyId"). val ()); if ($ ("# fbFormN_password"). length) { var fbFormN_password = $ .trim ($ ("# fbFormN_password"). val ()); } if ($ ("# fbFormN_password_confirm"). length) { var fbFormN_password_confirm = $ .trim ($ ("# fbFormN_password_confirm"). val ()); }

var fbFormN_gotcha = $ .trim ($ ("# fbFormN_gotcha"). val ());

var harErrors = false;

var nameReg =! (fbFormN_firstName.match (/ [*] /)) &&! (fbFormN_nom.match (/ [*] /)) && fbFormN_firstName.length> 1 && fbFormN_sname.length> 1; var locReg =! (fbFormN_location.match (/ [*] /)) && fbFormN_location.length> 1; if (fbFormN_telephone.length> 1) {

var phoneReg = (fbFormN_telefon.match (/ ^ [ds] * $ /));

} var emailRegObj = / ^ ([a-zA-Z0-9_.-]) + @ ([a-zA-Z0-9_.-]) +. ([a-zA-Z]) + ([a-zA-Z]) + /; // / ^ ([a-zA-Z0-9_.-+]) + <(([a-zA-Z0-9-]) +.) + ([a-zA-Z0-9] {2,4}) + $ /; var password_params = ''; $ ( "# CommentError_name") hide (). $ ( "# CommentError_location") hide (). $ ( "# CommentError_telephone") hide (). $ ( "# CommentError_email") hide (). $ ( "# CommentError_password") hide (). $ Hide () ( "disclaimerText .."); if (nameReg == false) { $ ( "# CommentError_name") visa (). hasErrors = true; } if (locReg == falskt) { $ ( "# CommentError_location") visa (). hasErrors = true; } if (phoneReg == null) { $ ( "# CommentError_telephone") visa (). hasErrors = true; } if (emailRegObj.test (fbFormN_email) == falskt) { $ ( "# CommentError_email") visa (). hasErrors = true; } if (fbFormN_gotcha.length> 1) { hasErrors = true; }

if ($ ("# fbFormN_password"). length && $ ("# fbFormN_password_confirm"). length) { if (fbFormN_password! = fbFormN_password_confirm) { $ ("# CommentError_password") view (). hasErrors = true; } sinon { password_params + = "& fbFormN_password =" + codURURIComponent (fbFormN_password); password_params + = "& fbFormN_password_confirm =" + codeURIComponent (fbFormN_password_confirm); } }

si (! hasErrors) { $ ("# commentsForm_send"). attr ("Disabled", "true"); $ ("# commentsForm_send_noFb"). attr ("Disabled", "true"); save_form_to_cookie (& # 39; comment_form_input & # 39;); jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_create_account & fbFormN_firstName =" + encodeURIComponent (fbFormN_firstName) + "& fbFormN_Surname =" + encodeURIComponent (fbFormN_surname) + "& fbFormN_zip" & fbFormN_telephone = "+ encodeURIComponent (fbFormN_telephone) +" & fbFormN_email = "+ encodeURIComponent (fbFormN_email) +" & CUSTOMER_ID = "+ fbForm_customerId +" & story_id> erreur: fonction () {}, succès: fonction (données) { if (data.code == 0) { setMessageBox (data.message, data.addclass); } else {

$ ("# DisclaimerConfirm") hide (). $ ("# CommentLogin") hide (). $ ("# FbForm_message") hide (). $ ("# FbForm_message_count_class") hide (). $ ("# CommentError_message") hide (). $ ("# CommentInfo_Fb") hide (). $ ("# CommentsForm_send") hide (). $ ("# FbCommentPublishCheckbox") hide (). $ ("# CommentsForm_send_noFb") hide ().

setMessageBox (data.message, data.addclass); } } }); } }

///////////////////////////////////////////////// function confirm_delete_account () { var customer_id = $ .trim ($ ("# fbForm_customerId"). val ()); var login_email_email = $ .trim ($ ("# login_email_email"). val ()); var login_email_token = $ .trim ($ ("# login_email_token"). val ());

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = confirm_delete_account & customer_id =" + customer_id + "& email =" + codeURIComponent (login_email_email) + "& token =" + login_email_token, erreur: fonction () {}, succès: fonction (données) { if (data.code == 0) { setMessageBox (data.message, data.addclass); } sinon si (data.code == 1) { $ (# DeleteAccount) html (data.message). $ (# DeleteAccount) FadeIn (800). $ (# CommentFormSubContainer) slideUp (1000). $ (Corps, html). Arrêtez (). Animer ({ '# 39; scrollTop & # 39': $ ("# deleteAccount"). offset (). Top-200 }, 1000) } } }); }

///////////////////////////////////////////////// function Cancel_delete_account () { . $ (& # 39; # DeleteAccount) html (& # 39; & # 39;); $ (# DeleteAccount) hide (). $ (# CommentFormSubContainer) slideDown (1000). }

///////////////////////////////////////////////// function delete_account () { var customer_id = $ .trim ($ ("# fbForm_customerId"). val ()); var login_email_email = $ .trim ($ ("# login_email_email"). val ()); var login_email_token = $ .trim ($ ("# login_email_token"). val ());

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = delete_account & customer_id =" + customer_id + "& email =" + codeURIComponent (login_email_email) + "& token =" + login_email_token, erreur: fonction () {}, succès: fonction (données) { if (data.code == 0) { setMessageBox (data.message, data.addclass); } sinon si (data.code == 1) { . $ (& # 39; # DeleteAccount) html (& # 39; & # 39;); $ (# DeleteAccount) hide (). $ (# CommentFormSubContainer) slideDown (1000). setMessageBox (data.message, data.addclass); delete_cookie (& # 39; comment_login_details_email & # 39;); } sinon si (data.code == 2) { . $ (& # 39; # DeleteAccount) html (& # 39; & # 39;); $ (# DeleteAccount) hide (). $ (# CommentFormSubContainer) slideDown (1000). setMessageBox (data.message, data.addclass); } } }); }

////////////////////////////////////////////////// fonction commentsForm_update_account_close () { . $ ("# ManageAccount") html (& # 39; & # 39;); }

////////////////////////////////////////////////// / fonction commentsForm_update_account () { var fbFormN_firstName = $ .trim ($ ("# update_firstName"). val ()); var fbFormN_sname = $ .trim ($ ("# update_sname"). val ()); var fbFormN_zip = $ .trim ($ ("# update_zip"). val ()); var fbFormN_location = $ .trim ($ ("# update_location"). val ()); var fbFormN_telhone = $ .trim ($ ("# update_phone"). val ()); var fbFormN_email = $ .trim ($ ("# update_email"). val ()); var fbFormN_email_hidden = $ .trim ($ ("# update_email_hidden"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ()); var login_email_token = $ .trim ($ ("# login_email_token"). val ()); var fbForm_storyId = $ .trim ($ ("# fbForm_storyId"). val ()); if ($ ("# update_password"). length) { var fbFormN_password = $ .trim ($ ("# update_password"). val ()); } if ($ ("# update_password_confirm"). length) { var fbFormN_password_confirm = $ .trim ($ ("# update_password_confirm"). val ()); }

var fbFormN_gotcha = $ .trim ($ ("# fbFormN_gotcha"). val ());

var harErrors = false;

var nameReg =! (fbFormN_firstName.match (/ [*] /)) &&! (fbFormN_nom.match (/ [*] /)) && fbFormN_firstName.length> 1 && fbFormN_sname.length> 1; var locReg =! (fbFormN_location.match (/ [*] /)) && fbFormN_location.length> 1;

var emailRegObj = / ^ ([a-zA-Z0-9_.-]) + @ ([a-zA-Z0-9_.-]) +. ([a-zA-Z]) + ([a-zA-Z]) + /; // / ^ ([a-zA-Z0-9_.-+]) + <(([a-zA-Z0-9-]) +.) + ([a-zA-Z0-9] {2,4}) + $ /; var password_params = ''; $ ( "# CommentErrorUpdate_name") hide (). $ ( "# CommentErrorUpdate_location") hide (). $ ( "# CommentErrorUpdate_telephone") hide (). $ ( "# CommentErrorUpdate_email") hide (). $ ( "# CommentErrorUpdate_password") hide (). $ Hide () ( "disclaimerText .."); if (nameReg == false) { $ ( "# CommentErrorUpdate_name") visa (). hasErrors = true; } if (locReg == falskt) { $ ( "# CommentErrorUpdate_location") visa (). hasErrors = true; } if (phoneReg == null) { $ ( "# CommentErrorUpdate_telephone") visa (). hasErrors = true; } if (emailRegObj.test (fbFormN_email) == falskt) { $ ( "# CommentErrorUpdate_email") visa (). hasErrors = true; } if (fbFormN_gotcha.length> 1) { hasErrors = true; }

if ($ ("# fbFormN_password"). length && $ ("# fbFormN_password_confirm"). length) { if (fbFormN_password! = fbFormN_password_confirm) { if ((fbFormN_password! = & # 39; password & # 39; || fbFormN_password_confirm! = & # 39; confirmer le mot de passe & # 39;) && (fbFormN_password! = & # 39; password & # 39; || fbFormN_password_confirm! = & # 39; ; confirmez le mot de passe & # 39;)) { $ ("# CommentErrorUpdate_password") view (). hasErrors = true; } } sinon { password_params + = "& fbFormN_password =" + codURURIComponent (fbFormN_password); password_params + = "& fbFormN_password_confirm =" + codeURIComponent (fbFormN_password_confirm); } }

si (! hasErrors) { $ ("# commentsForm_send"). attr ("Disabled", "true"); $ ("# commentsForm_send_noFb"). attr ("Disabled", "true"); save_form_to_cookie (& # 39; comment_form_input & # 39;); jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_update_account & fbFormN_firstName =" + encoderURIComponent (fbFormN_firstName) + "& fbFormN_surname =" + encoderURIComponent (fbFormN_firstName) + "& fbFormN_Surname =" + encodeurURIComponent (fbFormN_surname) + "& fbFormN_zip =" + encodage & fbFormN_telephone = "+ encodeURIComponent (fbFormN_telephone) +" & fbFormN_email = "+ encodeURIComponent (fbFormN_email) +" & fbFormN_email_hidden = "+ encodeURIComponent (fbFormN_email) +" & fbFormN_email_hidden = "+ encodeURIComponent (fbFormN_email_hidden =" + " "& story_id =" + encodeURIComponent (fbForm_storyId) erreur: fonction () {}, succès: fonction (données) { if (data.code == 1) { $ ("# DisclaimerConfirm") hide (). $ ("# CommentLogin") hide (). $ ("# FbForm_message") hide (). $ ("# FbForm_message_count_class") hide (). $ ("# CommentErrorUpdate_message") hide (). $ ("# CommentInfo_Fb") hide (). $ ("# CommentsForm_send") hide (). $ ("# FbCommentPublishCheckbox") hide (). $ ("# CommentsForm_send_noFb") hide (). $ ("# CommentInfo_noFb") visa (). $ ("# ManageAccount") switch (). $ ("# CommentInfo_noFb") texte (data.message). setMessageBox (data.message, data.addclass); delete_cookie (& # 39; comment_login_details_email & # 39;); } sinon si (data.code == 2) { Visa $ ("# CommentLogin") (). Visa $ ("# FbForm_message") (). $ ("# FbForm_message_count_class") visa (). $ ("# CommentErrorUpdate_message") hide (). $ ("# CommentInfo_Fb") hide (). $ ("# CommentsForm_send") hide (). $ ("# FbCommentPublishCheckbox") hide (). $ ("# CommentsForm_send_noFb") hide (). $ ("# CommentInfo_noFb") hide (). $ ("# ManageAccount") switch (). setMessageBox (data.message, data.addclass); if (data.user.customer_id == 53) { auto_login_email (data); } } else if (data.code == 3) { setMessageBox (data.message, data.addclass); } } }); } }

// Handle pour réinitialiser le timer pour chaque message var timeoutHandle; fonction setMessageBox (message, classe box) { $ ("# MessageBox") hide (). $ ("# MessageBox") html (message). $ ("# messageBox"). removeClass ("warning error success"). addClass (boxclass); $ ("# MessageBox") FadeIn (1500).

cleartimeout (timeoutHandle);

timeoutHandle = setTimeout (function () { $ ("# messageBox"). fadeOut (2000, function () { }); }, 12000); }

fonction Forgot_password_send () { var email = $ .trim ($ (& # 39; # password_forgot_email & # 39;). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ());

var harErrors = false;

var emailRegObj = / ^ ([a-zA-Z0-9_.-]) + @ ([a-zA-Z0-9_.-]) +. ([a-zA-Z]) + ([a-zA-Z]) + /;

if (emailRegObj.test (email) == false) { $ ("# CommentError_password_forgot_email") view (). hasErrors = true; }

si (! hasErrors) {

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = reset_password & customer_id =" + fbForm_customerId + "& email =" + codeURURIComponent (email), erreur: fonction () {}, succès: fonction (données) { si (data.code = 0) { setMessageBox (data.message, data.addclass); } sinon si (data.code = 1) { . $ (& # 39; # Comment_password_reset_form) bascule (& # 39; lent & # 39;); . $ (& # 39; # Comment_login_form) toggle (& # 39; slow & # 39;); setMessageBox (data.message, data.addclass); } } });

} }

////////////////////////////////////////////////// / fonction commentsForm_login_noFb () { var fbFormN_email = $ .trim ($ ("# fbFormN_email_login"). val ()); var fbFormN_password = $ .trim ($ ("# fbFormN_password_login"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ());

var harErrors = false;

var emailRegObj = / ^ ([a-zA-Z0-9_.-]) + @ ([a-zA-Z0-9_.-]) +. ([a-zA-Z]) + ([a-zA-Z]) + /;

$ ("# CommentError_email") hide (). $ ("# CommentError_password") hide ().

if (emailRegObj.test (fbFormN_email) == false) { $ ("# CommentError_email") visa (). hasErrors = true; }

si (! hasErrors) {

// $ ("# commentsForm_send"). attr ("disabled", "true"); //$("#commentsForm_send_noFb").attr("disabled "," true "); // save_form_to_cookie (& # 39; comment_form_input & # 39;);

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_login_email & email =" + code codeURIComponent (fbFormN_email) + "& customer_id =" + fbForm_customerId + "& password =" + codeURIComponent (fbFormN_password), erreur: fonction () {

} succès: fonction (données) { // $ ("# commentLogin") hide (). // $ ("# fbForm_message") hide (). // $ ("# fbForm_message_count_class") hide (). // $ ("# commentError_message") hide (). // $ ("# commentInfo_Fb") hide (). // $ ("# commentsForm_send") hide (). // $ ("# fbCommentPublishCheckbox") hide (). // $ ("# commentsForm_send_noFb") hide ().

if (data.code == 2) { $ Hide () (& # 39; commentFBlogin .. & # 39;); $ (# Comment_login_form) hide (). Visa $ ("# Change_phonenumber") (). setMessageBox (data.message, data.addclass); } else { $ ("# Change_phonenumber") hide (). // $ ("# commentInfo_noFb") visa (). //$("#commentLoggedInEmail").text(data.message); setMessageBox (data.message, data.addclass); Visa $ ("# CommentLoggedInEmail") (). if (& # 39; user & # 39; in data) { auto_login_email (data); } } } }); } }

////////////////////////////////////////////////// / fonction commentsForm_phone_change () { var fbFormN_email_phone_chnage = $ .trim ($ ("# fbFormN_email_phone_chnage"). val ()); var fbFormN_telhone_change = $ .trim ($ ("# fbFormN_telhone_change"). val ()); var fbFormN_password_phone_chnage = $ .trim ($ ("# fbFormN_password_phone_chnage"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ());

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_phone_change & email =" + kodURURIComponent (fbFormN_email_phone_chnage) + "& customer_id =" + fbForm_customerId + "& password =" + kodURURIComponent (fbFormN_password_phone_chnage) + "& téléphone" erreur: fonction () { } succès: fonction (données) { if (data.code == 1) { $ ("# CommentError_email_phone_chnage") hide (). $ ("# FbFormN_email_phone_chnage") hide (). $ ("# CommentError_telephone_change") hide (). $ ("# FbFormN_telephone_change") hide (). $ ("# CommentError_password_phone_chnage") hide (). $ ("# FbFormN_password_phone_chnage") hide (). $ ("# CommentsForm_sms_change_veryfy") hide ().

$ ("# FbFormN_sms_change_Ver") visa (). $ ("# CommentsForm_sms_send_change_veryfy") visa ().

setMessageBox (data.message, data.addclass); } else { setMessageBox (data.message, data.addclass); } } }); }

////////////////////////////////////////////////// /

fonction comments_modifyForm_phone_change () {

var fbFormN_email_phone_chnage = $ .trim ($ ("# fbFormN_email_phone_chnage"). val ()); var fbFormN_telhone_change = $ .trim ($ ("# fbFormN_telhone_change"). val ()); var fbFormN_password_phone_chnage = $ .trim ($ ("# fbFormN_password_phone_chnage"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ());

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_phone_change & email =" + kodURURIComponent (fbFormN_email_phone_chnage) + "& customer_id =" + fbForm_customerId + "& password =" + kodURURIComponent (fbFormN_password_phone_chnage) + "& téléphone" erreur: fonction () { } succès: fonction (données) { if (data.code == 1) { $ ("# CommentError_email_phone_chnage") hide (). $ ("# FbFormN_email_phone_chnage") hide (). $ ("# CommentError_telephone_change") hide (). $ ("# FbFormN_telephone_change") hide (). $ ("# CommentError_password_phone_chnage") hide (). $ ("# FbFormN_password_phone_chnage") hide (). $ ("# CommentsForm_sms_change_veryfy") hide ().

$ ("# FbFormN_sms_change_Ver") visa (). $ ("# CommentsForm_sms_send_change_veryfy") visa ().

setMessageBox (data.message, data.addclass); } else { setMessageBox (data.message, data.addclass); } } }); }

////////////////////////////////////////////////// / fonction commentsForm_phone_change_sms_verify () { var fbFormN_email_phone_chnage = $ .trim ($ ("# fbFormN_email_phone_chnage"). val ()); var fbFormN_telhone_change = $ .trim ($ ("# fbFormN_telhone_change"). val ()); var fbFormN_password_phone_chnage = $ .trim ($ ("# fbFormN_password_phone_chnage"). val ()); var fbFormN_sms_change_Ver = $ .trim ($ ("# fbFormN_sms_change_Ver"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ());

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_phone_change_sms_verify & email =" + encodeURIComponent (fbFormN_email_phone_chnage) + "& CUSTOMER_ID =" + fbForm_customerId + "et password =" + encodeURIComponent (fbForm_customerId + "et mot de passe =" + encodeURIComponent (fbForm_customerId + "+ encodeURIComponent (fbFormN_sms_change_Ver) erreur: fonction () { } succès: fonction (données) { if (data.code == 1) { $ ("# CommentError_sms_change_ver") hide (). $ ("# FbFormN_sms_change_Ver") hide (). $ ("# CommentsForm_sms_send_change_veryfy") hide (). $ ("# Change_phonenumber") hide ().

$ (# Comment_login_form) visa ().

setMessageBox (data.message, data.addclass); } else { setMessageBox (data.message, data.addclass); } } }); } ////////////////////////////////////////////////// / fonction commentsForm_sms_verify () { var fbFormN_firstName = $ .trim ($ ("# fbFormN_firstName"). val ()); var fbFormN_sname = $ .trim ($ ("# fbFormN_ dernier nom"). val ()); var fbFormN_telephone = $ .trim ($ ("# fbFormN_telephone"). val ()); var fbFormN_email = $ .trim ($ ("# fbFormN_email"). val ()); var fbForm_customerId = $ .trim ($ ("# fbForm_customerId"). val ()); var fbForm_storyId = $ .trim ($ ("# fbForm_storyId"). val ()); var fbFormN_smsVer = $ .trim ($ ("# fbFormN_smsVer"). val ());

var harErrors = false;

si (! hasErrors) {

jQuery.ajax ({type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action = talkback_sms_verify & fbFormN_firstName =" + code codeURIComponent (fbFormN_firstName) + "& fbFormN_sname =" + code codeComposant (fbFormN_s dernier nom) + "& e-mail =" + codeURUR "+ fbForm_customerId +" & story_id = "+ encodeURIComponent (fbForm_storyId) erreur: fonction () { } succès: fonction (données) { if (data.code == 0) { setMessageBox (data.message, data.addclass); } else { $ ("# CommentLogin") hide (). $ ("# Sms_verify") hide (). $ ("# FbFormN_smsVer") hide (). $ ("# CommentsForm_sms_veryfy") hide ().

setMessageBox (data.message, data.addclass); } } }); } }

////////////////////////////////////////// // swissnoise quiva fonction auto_login_quiva (data) { console.log ("démarrage de la connexion quiva"); var utilisateur = { "remoteId": data.uid, "nom d'utilisateur": data.user.email, "mot de passe": data.pcr, "email": data.user.email, "prénom": data.user.first_name, "nom de famille": data.user.last_name, "zipCode": data.user.post_code, "localité": data.user.city, "phoneNumber": data.user.mobile_number }; whatif.login (utilisateur) .alter (function () {

}); console.log ("connexion Quiva effectuée"); } // Swissish END quiva

fonction auto_login_email (data) { $ Hide () ("commentFBlogin .."); $ Hide () ("commentOhnelogin .."); var html = & # 39; & # 39 ;; var name = data.user.first_name + & # 39; & # 39; + data.user.last_name; html + = & # 39; Bienvenue, & # 39; + name + & # 39;
& # 39 ;; html + = & # 39; Commentaire & # 39 ;; html + = & # 39; Disconnect
& # 39 ;; html + = & # 39; Manage profile & # 39 ;; html + = & # 39; & # 39 ;; html + = & # 39; & # 39 ;; $ ("# CommentLoggedInEmail") html (html). set_logged_in_cookie (data); Visa $ ("# CommentLoggedInEmail") ().

}

////////////////////////////////////////////////// / fonction commentsForm_send_noFb () { var fbForm_message = $ .trim ($ ("# fbForm_message"). val ()); fbForm_message = fbForm_message.replace (/ & / g, "+"); var fbForm_uri = $ .trim ($ ("# fbForm_uri"). val ()); var fbForm_storyId = $ .trim ($ ("# fbForm_storyId"). val ()); var fbForm_ip = $ .trim ($ ("# fbForm_ip"). val ());

var is_logged_in = false; if ($ ("# is_logged_in"). length) { is_logged_in = true; }

var fbFormN_firstName = $ .trim ($ ("# fbFormN_firstName"). val ()); var fbFormN_sname = $ .trim ($ ("# fbFormN_ dernier nom"). val ()); var fbFormN_zip = $ .trim ($ ("# fbFormN_zip"). val ()); var fbFormN_location = $ .trim ($ ("# fbFormN_location"). val ());   var fbFormN_email = $ .trim ($ ("# fbFormN_email"). val ());   var fbForm_msgID = $ .trim ($ ("# fbForm_msgID"). val ()); // om detta värde är> 0, är ​​det ett svar till ett annat-kommentarmeddelande   if ($ ("# fbFormN_password"). längd) {   var fbFormN_password = $ .trim ($ ("# fbFormN_password"). val ()); }   if ($ ("# fbFormN_password_confirm"). längd) {   var fbFormN_password_confirm = $ .trim ($ ("# fbFormN_password_confirm"). val ()); }

  var fbFormN_gotcha = $ .trim ($ ("# fbFormN_gotcha"). val ());

var harErrors = falsk;

var messageReg = fbForm_message.length> 1; var nameReg =! (fbFormN_firstName.match (/ [*] /)) &&! (fbFormN_ efternamn.match (/ [*] /)) && fbFormN_firstName.length> 1 && fbFormN_sname.length> 1; // Kontrollera inte om ZIP, orsak till främmande länder // var locReg =! (fbFormN_zip.match (/ [*] /)) &&! (fbFormN_location.match (/ [*] /)) && fbFormN_zip.length> 1 && fbFormN_location.length> 1; var locReg =! (fbFormN_location.match (/ [*] /)) && fbFormN_location.length> 1; var emailRegObj = / ^ ([a-zA-Z0-9_.-]) + @ ([a-zA-Z0-9_.-]) +. ([a-zA-Z]) + ([a-zA-Z]) + /; // /^([a-zA-Z0-9_.-+])[email protected](([a-zA-Z0-9-])+.)+([a-zA-Z0-9]{2,4})+$/; var password_params = &#39;&#39;;

$("#commentError_name").hide(); $("#commentError_location").hide(); $("#commentError_email").hide(); $("#commentError_password").hide(); $("#commentError_message").hide(); $("#commentError_disclaimer").hide(); $(".disclaimerText").hide();

if (messageReg == false) { $("#commentError_message").show(); hasErrors = true; }

if (nameReg == false) { $("#commentError_name").show(); hasErrors = true; }

if (locReg == false) { $("#commentError_location").show(); hasErrors = true; }

if(emailRegObj.test(fbFormN_email) == false){ $("#commentError_email").show(); hasErrors = true; }

if (fbFormN_gotcha.length > 1) { hasErrors = true; }

if (!($(&#39;#disclaimerConfirmBtn&#39;).is(&#39;:checked&#39;))) { $("#commentError_disclaimer").show(); $(".disclaimerText").show(); hasErrors = true; }

if (!hasErrors) {

$("#commentsForm_send").attr("disabled", "true"); $("#commentsForm_send_noFb").attr("disabled", "true"); save_form_to_cookie(&#39;comment_form_input&#39;);

jQuery.ajax({ type: "POST", dataType: "html", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action=sendComment&fbFormN_firstName="+encodeURIComponent(fbFormN_firstName)+"&fbFormN_surname="+encodeURIComponent(fbFormN_surname)+"&fbFormN_zip="+encodeURIComponent(fbFormN_zip)+"&fbFormN_location="+encodeURIComponent(fbFormN_location)+"&fbFormN_email="+encodeURIComponent(fbFormN_email)+"&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID, error: function(){ }, success: function(){ $("#commentLogin").hide(); $("#fbForm_message").hide(); $("#fbForm_message_count_class").hide(); $("#commentError_message").hide(); $("#commentInfo_Fb").hide(); $("#commentsForm_send").hide(); $("#fbCommentPublishCheckbox").hide(); $("#commentsForm_send_noFb").hide(); $("#disclaimerConfirm").hide(); $("#commentInfo_noFb").show(); } }); } }

/////////////////////////////////////////////////// function commentsForm_send_email() { var fbForm_message = $.trim($("#fbForm_message").val()); fbForm_message = fbForm_message.replace(/&/g, "+"); var fbForm_uri = $.trim($("#fbForm_uri").val()); var fbForm_storyId = $.trim($("#fbForm_storyId").val()); var fbForm_customerId = $.trim($("#fbForm_customerId").val()); var fbForm_ip = $.trim($("#fbForm_ip").val()); var login_email_token = $.trim($("#login_email_token").val());

   var is_logged_in = false;    if ($("#is_logged_in").length) {    is_logged_in = true; }

   var fbFormN_email = $.trim($("#login_email_email").val());    var fbForm_msgID = $.trim($("#fbForm_msgID").val()); // if this value is > 0, its a reply-to-another-comment message

   var fbFormN_gotcha = $.trim($("#fbFormN_gotcha").val());

var hasErrors = false;

var messageReg = fbForm_message.length > 1;

$("#commentError_name").hide(); $("#commentError_location").hide(); $("#commentError_email").hide(); $("#commentError_password").hide(); $("#commentError_message").hide(); $("#commentError_disclaimer").hide(); $(".disclaimerText").hide();

if (messageReg == false) { $("#commentError_message").show(); hasErrors = true; }

if (fbFormN_gotcha.length > 1) { hasErrors = true; }

if (!($(&#39;#disclaimerConfirmBtn&#39;).is(&#39;:checked&#39;))) { $("#commentError_disclaimer").show(); hasErrors = true; }

if (!hasErrors) { $("#commentsForm_send").attr("disabled", "true"); $("#commentsForm_send_noFb").attr("disabled", "true"); commentNotSent = false;

jQuery.ajax({ type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action=send_comment_email&fbForm_uri="+encodeURIComponent(fbForm_uri)+"&fbForm_storyId="+fbForm_storyId+"&customer_id="+fbForm_customerId+"&fbForm_ip="+fbForm_ip+"&fbForm_message="+encodeURIComponent(fbForm_message)+"&fbForm_msgID="+fbForm_msgID+"&email="+encodeURIComponent(fbFormN_email)+"&token="+login_email_token, error: function(){ }, succès: fonction (données) { if (data.code == 1) { $("#commentLogin").hide(); $("#fbForm_message").hide(); $("#fbForm_message_count_class").hide(); $("#commentError_message").hide(); $("#commentError_name").hide(); $("#commentError_location").hide(); $("#commentError_email").hide(); $("#commentError_disclaimer").hide(); $(".disclaimerText").hide(); $("#commentInfo_noFb").hide();      $("#commentsForm_send").hide(); $("#fbCommentPublishCheckbox").hide(); $("#disclaimerConfirm").hide(); $("#commentsForm_send_noFb").hide(); $("#commentInfo_noFb").show(); $("#commentSendLoading").hide(); $("#commentInfo_Notice").hide(); $("#manageAccount").hide(); } else if (data.code == 2) { setMessageBox(data.message, data.addclass); } } }); } }

/////////////////////////////////////////////////// ///////////////////////////////////////////////////    // some jquery UI functions function fbLoginDisplay(loginState) { $(document).ready(function(){ if (loginState == true) { $(".notloggedToFacebook").hide(); $(".loggedToFacebook").show(); $(&#39;#commentsForm_send_noFb&#39;).hide(); $(&#39;#commentsForm_send&#39;).show(); $("#fbCommentPublishCheckbox").show(); $(".recommendCommentFacebook").show(); } sinon { $(".loggedToFacebook").hide(); $(".notloggedToFacebook").show(); $(&#39;#commentsForm_send&#39;).hide(); $(&#39;#commentsForm_send_noFb&#39;).show(); $("#fbCommentPublishCheckbox").hide(); $(".recommendCommentFacebook").hide(); if ($("#commentLoggedInEmail").length) { $("#commentLoggedInEmail").show(); } }}); }

   ///////////////////////////////////////////////////    function fbDomInsert(username, uid, token) { $(document).ready(function(){ $("#fbUserRealName").html(username); var imgHtml= ""; $("#fbUserProfilePicture").html(imgHtml);

$("#fbForm_realName").val(username); $("#fbForm_userId").val(uid); $("#fbForm_userToken").val(token); }); } /////////////////////////////////////////////////// function loginDrop() { $(document).ready(function(){ $(&#39;#commentLogin&#39;).slideDown(); $("textarea#fbForm_message").attr("rows", 6); $("#commentsForm_send").removeAttr("disabled"); $("#commentsForm_send_noFb").attr("disabled", ""); $("#commentsForm_send_email").removeAttr("disabled"); $("#fbForm_message").val(""); $(&#39;#fbForm_message&#39;).removeAttr("onclick"); }); } /////////////////////////////////////////////////// function doOnFbConnect() { $(".recommendCommentFacebook").show(); // for comments below: display checkbox to choose if recommended comments get published on facebook }

/////////////////////////////////////////////////// function log(msg){ if (typeof console === &#39;undefined&#39;) { return false; } else { return true; } }

/////////////////////////////////////////////////////////////////////////////////         /////////////////////////////////////////////////////////////////////////////////         /////////////////////////////////////////////////////////////////////////////////         // main

        // fb auth         var fbAccessToken = &#39;&#39;;         var fbUserID = &#39;&#39;;         var fbUserName = &#39;&#39;;         FBcomments.initFb();         var nnFBloggedIn = check_nnCookie();     if (nnFBloggedIn == true) {     fbLoginDisplay(true);

} sinon {     fbLoginDisplay(false); }

function inputFocus(thisFor, thisClass) {     $(&#39;#&#39;+ thisFor).focus(function() {         $(&#39;.&#39;+ thisClass).animate({ opacity: "0" }, "fast");     }).blur(function() {         if($(this).val() == "") {             $(&#39;.&#39;+ thisClass).animate({ opacity: "1" }, "fast"); } }); }

//// some more jquery stuff     $(document).ready(function(){ read_logged_in_cookie();

// hide &#39;populär auf facebook&#39; widget in sideline //$("#fb_activityFeed").hide();

$("#fbCommentPublishCheckbox").hide();

$(&#39;#fbFormN_password_login&#39;).keypress(function(e){     if (e.which == 13){         e.preventDefault();         $(this).blur();         $(&#39;#commentsForm_post_confirmed&#39;).focus().click();         return false; } });

$(&#39;#fbFormN_smsVer&#39;).keypress(function(e){     if (e.which == 13){         e.preventDefault();         $(this).blur();         $(&#39;#commentsForm_sms_veryfy&#39;).focus().click();         return false; } });

// Bind to set the fadeout of form labels when clicked or focused $(&#39;.sbsLabel label&#39;).each(function () {     var thisFor = $(this).attr(&#39;for&#39;);     var thisClass = $(this).attr(&#39;class&#39;);     inputFocus(thisFor, thisClass); });

    // some form display handling $(&#39;#disclaimerButtonShow&#39;).bind(&#39;click&#39;, function(){ $(&#39;.disclaimerText&#39;).show(); $(&#39;#disclaimerButtonShow&#39;).css(&#39;display&#39;,&#39;none&#39;); $(&#39;#disclaimerButtonHide&#39;).css(&#39;display&#39;,&#39;inline&#39;); }); $(&#39;#disclaimerButtonHide&#39;).bind(&#39;click&#39;, function(){ $(&#39;.disclaimerText&#39;).hide(); $(&#39;#disclaimerButtonHide&#39;).css(&#39;display&#39;,&#39;none&#39;); $(&#39;#disclaimerButtonShow&#39;).css(&#39;display&#39;,&#39;inline&#39;); });

// display login data on start if ($("#fbUserRealName").html()) { if ($("#fbUserRealName").html().length >= 2){ // && $("textarea#fbForm_message").attr("rows") > 2 $("#fbCommentPublishCheckbox").show(); } }

// clear textarea $("#fbForm_message").val(&#39;&#39;);

// submit buttons , disable on on reload $("#commentsForm_send").attr("disabled", "true"); $("#commentsForm_send_noFb").attr("disabled", "true");

// set checkboxes $(&#39;#fbForm_publishOnFB&#39;).attr(&#39;checked&#39;, true); $(&#39;.recommendCommentPublishOnFb&#39;).attr(&#39;checked&#39;, true); $(&#39;#disclaimerConfirmBtn&#39;).attr(&#39;checked&#39;, false);

// fixes a tiny bug: if values are prefilled on reload they should not be grey var myFbFormIds = ['fbFormN_firstName', 'fbFormN_surname', 'fbFormN_zip', 'fbFormN_location', 'fbFormN_email', 'fbFormN_password', 'fbFormN_password_confirm']; for (var ii=0;ii < myFbFormIds.length; ii++) { if ($("#"+myFbFormIds[ii]).length) { if (!($("#"+myFbFormIds[ii]).val().match(/[*]/))) { $("#"+myFbFormIds[ii]).css(&#39;color&#39;,&#39;#000000&#39;); }; } }

$(&#39;.comment_signup_form_toggle&#39;).live(&#39;click&#39;, function(){ $(&#39;#comment_signup_form&#39;).toggle(&#39;slow&#39;); $(&#39;#comment_login_form&#39;).toggle(&#39;slow&#39;); return false; });

$(&#39;.comment_form_forgot_password&#39;).live(&#39;click&#39;, function(){ $(&#39;#comment_password_reset_form&#39;).toggle(&#39;slow&#39;); $(&#39;#comment_login_form&#39;).toggle(&#39;slow&#39;); return false; });

$(&#39;.emailLogoutButton&#39;).live(&#39;click&#39;, function() { delete_cookie(&#39;comment_login_details_email&#39;); $("#commentLoggedInEmail").html(&#39;&#39;); $("#manageAccount").html(&#39;&#39;); $("#commentLoggedInEmail").hide(); $(".commentFBlogin").show(); $(".commentOhnelogin").show(); });

$(&#39;#show_update_phone&#39;).live(&#39;click&#39;, function() { $("#commentLoggedInEmail").html(&#39;&#39;); $("#manageAccount").html(&#39;&#39;); $("#commentLoggedInEmail").hide(); $("#comment_login_form").hide();

$("#change_phonenumber").show(); $(".commentOhnelogin").show(); });

$(&#39;#commentsForm_send_email&#39;).live(&#39;click&#39;, function() { if (commentNotSent) { commentsForm_send_email(); } });

$(&#39;#emailManageAccount&#39;).live(&#39;click&#39;, function () { var customer_id = $.trim($("#fbForm_customerId").val()); var login_email_email = $.trim($("#login_email_email").val()); var login_email_token = $.trim($("#login_email_token").val());

jQuery.ajax({ type: "POST", dataType: "json", cache: false, url: "/community/talkback_ajax.html", async: true, data: "action=login_manage_account&customer_id="+customer_id+"&email="+encodeURIComponent(login_email_email)+"&token="+login_email_token, error: function(){ }, succès: fonction (données) { if (data.code == 0) { setMessageBox(data.message, data.addclass); } else if (data.code == 1) { $(&#39;#manageAccount&#39;).html(data.message); $(&#39;#manageAccount&#39;).show(); } } }); });

});         
Source link