Le recensioni degli utenti sul menù di Enoteca Picone
![]() |
![]() |
![]() |
![]() |
TR |
![]() |
![]() |
![]() |
![]() |
Enoteca Picone (Palermo) |
82 | 4.7 | 4 | 4.5 | ||||
BUONI' (Palermo) | 81 | 4.2 | 4.6 | 4 | ![]() |
< 1 km | ||
IL CULINARIO (Palermo) | 87 | 4.4476 | 5 | ![]() |
< 1 km | ![]() |
||
LE APPETITORTE (Palermo) | 60 | < 1 km | ||||||
MAZZARA EXPRESS (Palermo) | 60 | < 1 km | ||||||
PAN X FOCACCIA (Palermo) | 79 | 4.2 | 4 | 4 | < 1 km | |||
BACIONERO, Piazza Stazione Lolli (Palermo) | 74 | 4.3 | < 1 km |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Assistente virtuale
function piatti_utenti_community(id_locale,nome_piatto,id_community,id_canale) { return new Promise((resolve, reject) => { var fd = new FormData(); fd.append('id_locale', id_locale); fd.append('nome_piatto', nome_piatto); // Invia i dati con l'oggetto XHR var xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.onreadystatechange=function() { if (xhr.readyState==4 && xhr.status==200) { var results = JSON.parse(xhr.responseText); if (results.success==0) { resolve(0); } else { //top.location.href="https://www.sluurpy.com/communities/"+TWIG_id_community+"/"+TWIG_id_channel; resolve(1); } } } xhr.open('POST', '/api/piatti_utente_ristorante', false); xhr.send(fd); }); } // lo ha messo simone $(document).on("click", ".tag_aggiungi_da_menu_class", async function(e) { if (!$(this).hasClass("clicked")) { $(this).addClass("clicked"); // Mostra l'overlay mentre l'utente aspetta //$('#loading-overlay').show(); // injectScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); // setTimeout(function() { // $("#adsense-inter-19").html(''); // (adsbygoogle = window.adsbygoogle || []).push({}); // },2000); // setTimeout(function(){ // var timeleft = 7; // var downloadTimer = setInterval(function(){ // if(timeleft <= 0){ // clearInterval(downloadTimer); // } // document.getElementById("progressBar9").value = 7 - timeleft; // timeleft -= 1; // }, 1000); // },1000); // setTimeout(function(){ // $(".base_inter_09").show(); // // },1000); var messaggio = "‼️ Aggiunto ai preferiti #Enoteca Picone a Palermo"; const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community, TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community, TWIG_id_channel, messaggio); if (hasSentMessage) { // Nascondi l'overlay dopo l'invio del messaggio con successo $('#loading-overlay').hide(); // Reindirizza dopo l'invio del messaggio top.location.href = "/palermo/ristorante/90383/enoteca-picone/sfoglia//"; } else { // Nascondi l'overlay se fallisce l'invio $('#loading-overlay').hide(); console.log("Failed Send Message"); } } else { // Nascondi l'overlay se fallisce l'iscrizione al canale $('#loading-overlay').hide(); console.log("Failed Join Channel"); } } else { // Nascondi l'overlay se fallisce l'iscrizione alla community $('#loading-overlay').hide(); console.log("Failed Join Community"); } } else { // Nascondi l'overlay se fallisce l'autenticazione $('#loading-overlay').hide(); console.log("Failed Authentication"); } } }); // lo ha messo simone /* $(document).ready(function() { // Evento keydown per inviare quando si preme Enter $('#domanda-dish').on('keydown', async function(event) { if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); // Evita che l'Enter inserisca una nuova riga // Verifica se l'elemento ha già gestito un click if (!$(this).hasClass("clicked")) { $(this).addClass("clicked"); injectScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); setTimeout(function() { $("#adsense-inter-19").html(''); (adsbygoogle = window.adsbygoogle || []).push({}); },2000); setTimeout(function(){ var timeleft = 7; var downloadTimer = setInterval(function(){ if(timeleft <= 0){ clearInterval(downloadTimer); } document.getElementById("progressBar9").value = 7 - timeleft; timeleft -= 1; }, 1000); },1000); setTimeout(function(){ $(".base_inter_09").show(); },1000); // Ottieni il testo inserito nell'area di testo var domanda = $('#domanda-dish').val().trim(); // Controlla che la textarea non sia vuota if (domanda === "") { alert("Scrivi qualcosa prima di inviare!"); return; // Non procedere se il campo è vuoto } // Crea il messaggio da inviare con il testo scritto dall'utente var messaggio = "‼️ " + domanda+" ❓"; // Esegui la logica di autenticazione e invio del messaggio const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community, TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community, TWIG_id_channel, messaggio); if (hasSentMessage) { // Reindirizza dopo l'invio del messaggio top.location.href = "https://sluurpy.com/communities/invites/" + TWIG_codice_community; } else { console.log("Failed Send Message"); } } else { console.log("Failed Join Channel"); } } else { console.log("Failed Join Community"); } } else { console.log("Failed Authentication"); } } } }); }); */ // Quando la pagina è pronta $(document).ready(function() { $('#domanda-dish').on('keydown', function(event) { // Intercetta il tasto Enter if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); // evita l’a capo // Ottieni il testo const domanda = $(this).val().trim(); if (!domanda) { alert("Scrivi qualcosa prima di inviare!"); return; } // Apri l'overlay della chat document.getElementById('chatOverlay').style.display = 'flex'; // Imposta il valore dell'input nella chat document.getElementById('chatInput').value = domanda; // Invia la domanda come se l'utente l'avesse digitata direttamente nella chat inviaDomanda(); // Se vuoi, puoi svuotare la textarea o lasciarla così $(this).val(''); } }); }); // lo ha messo simone nuovo dish $(document).ready(function() { // Funzione che gestisce l'invio del messaggio async function handleSubmit() { var $textArea = $('#dish-simone-button'); // Verifica se l'elemento ha già gestito un click if (!$textArea.hasClass("clicked")) { $textArea.addClass("clicked"); injectScript("https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"); setTimeout(function() { $("#adsense-inter-19").html(''); (adsbygoogle = window.adsbygoogle || []).push({}); }, 2000); setTimeout(function(){ var timeleft = 7; var downloadTimer = setInterval(function(){ if(timeleft <= 0){ clearInterval(downloadTimer); } document.getElementById("progressBar9").value = 7 - timeleft; timeleft -= 1; }, 1000); }, 1000); setTimeout(function(){ $(".base_inter_09").show(); }, 1000); // Ottieni il testo inserito nell'area di testo var domanda = $textArea.val().trim(); // Controlla che la textarea non sia vuota if (domanda === "") { alert("Scrivi qualcosa prima di inviare!"); $textArea.removeClass("clicked"); return; } // Crea il messaggio da inviare con il testo scritto dall'utente var messaggio = "" + domanda + " ❣️ #Enoteca Picone a Palermo"; // Esegui la logica di autenticazione e invio del messaggio const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community, TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community, TWIG_id_channel, messaggio); if (hasSentMessage) { // Reindirizza dopo l'invio del messaggio top.location.href = "https://sluurpy.com/communities/invites/" + TWIG_codice_community; } else { console.log("Failed Send Message"); } } else { console.log("Failed Join Channel"); } } else { console.log("Failed Join Community"); } } else { console.log("Failed Authentication"); } } } // Evento keydown per inviare quando si preme Enter $('#dish-simone-button').on('keydown', function(event) { if (event.key === "Enter" && !event.shiftKey) { event.preventDefault(); // Evita che l'Enter inserisca una nuova riga handleSubmit(); } }); // Evento click sul pulsante $('#submit-button').on('click', function(event) { event.preventDefault(); handleSubmit(); }); }); $(document).on("click","#dish_button", async function(e){ if (!$(this).hasClass("clicked")){ $(this).addClass("clicked"); $(".favourite-dish").addClass("dish-sent"); var dgrisposta=$(".favourite-dish").val(); if ((dgrisposta!="")&& (!dgrisposta.includes("<"))){ //msg_guest("🍽 Consiglio "+dgrisposta, "piatto",0); piatti_utenti_community("90383",dgrisposta,TWIG_id_community,TWIG_id_channel).then(async (result)=>{ //alert (result); if (result==1) { var messaggio="Consiglio "+dgrisposta+" 🍽 #Enoteca Picone"; const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community,TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community,TWIG_id_channel,messaggio); if (hasSentMessage) { //element.data('clicked', false); //console.log("done"); top.location.href="https://sluurpy.com/communities/invites/"+TWIG_codice_community; } else { //element.data('clicked', false); //console.log("Failed Send Message"); } } else { //element.data('clicked', false); //console.log("Failed Join Channel"); } } else { //element.data('clicked', false); //console.log("Failed Join Community"); } } else { //element.data('clicked', false); //console.log("Failed Authentication"); } } }).catch(error => { console.error('Errore:', error); }); /* if (d_step==0){ //$(".favourite-dish").addClass("redclass"); //$(".favourite-dish").attr('placeholder','Inserisci un indirizzo email dove ricevere una risposta'); //$(".favourite-dish").val(""); //$("#dish_button").removeClass("clicked"); $("#dish_button").hide(); $(".favourite-dish").hide(); $(".thanks-dish-2").show(); } if (d_step==1){ $(".favourite-dish").hide(); $(".favourite-dish").val(""); $(".thanks-dish").show(); $("#dish_button").hide(); } d_step++; $("#other_dish").click(function(e){ $(".favourite-dish").val(''); $(".favourite-dish").attr('placeholder',"Suggerisci un altro piatto"); $(".thanks-dish").hide(); $("#dish_button").removeClass("clicked"); $(".favourite-dish").removeClass("dish-sent"); });*/ } } }); $(document).ready(function(e){ $(document).on("click","#consiglia-si-page", async function(e){ //$("#box-consiglia-page").hide(); //ga('send', 'event', 'UX','Click consiglia sì dettaglio'); consiglia_ristorante("90383"); //msg_guest("Consiglio Enoteca Picone"); //top.location.href="https://www.facebook.com/sharer/sharer.php?u=https://www.sluurpy.it/palermo/ristorante/90383/enoteca-picone"; //top.location.href="https://forms.gle/WmUnM4Bk69Kg8foa9"; var element = $(this); messaggio="Consiglio #Enoteca Picone"; if (element.data('clicked')) { return; } element.data('clicked', true); const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community,TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community,TWIG_id_channel,messaggio); if (hasSentMessage) { element.data('clicked', false); //console.log("done"); top.location.href="https://sluurpy.com/communities/invites/"+TWIG_codice_community; } else { element.data('clicked', false); //console.log("Failed Send Message"); } } else { element.data('clicked', false); //console.log("Failed Join Channel"); } } else { element.data('clicked', false); //console.log("Failed Join Community"); } } else { element.data('clicked', false); //console.log("Failed Authentication"); } }); }); $(document).ready(function(e){ $(document).on("click","#send_comunity", async function(e){ var messaggio=$("#message_text").val(); var element = $(this); if (messaggio.length>0) { messaggio="#Enoteca Picone - "+$("#message_text").val(); if (element.data('clicked')) { return; } element.data('clicked', true); const isAuthenticated = await auth(); if (isAuthenticated) { const hasJoinedCommunity = await joinCommunity(TWIG_id_community); if (hasJoinedCommunity) { const hasJoinedChannel = await joinChannel(TWIG_id_community,TWIG_id_channel); if (hasJoinedChannel) { const hasSentMessage = await sendMessage(TWIG_id_community,TWIG_id_channel,messaggio); if (hasSentMessage) { element.data('clicked', false); //console.log("done"); top.location.href="https://sluurpy.com/communities/invites/"+TWIG_codice_community; } else { element.data('clicked', false); //console.log("Failed Send Message"); } } else { element.data('clicked', false); //console.log("Failed Join Channel"); } } else { element.data('clicked', false); //console.log("Failed Join Community"); } } else { element.data('clicked', false); //console.log("Failed Authentication"); } } else { $("#message_text").focus(); //console.log("Messaggio vuoto"); } }); });