JAMSTORE this is encrypted

Piatti vegetariani
 

Recipe Filter module

Categoria

Dosi per (num persone)

"); } }); }); function dynobox211(target) { var form = jQuery("#K2FilterBox211 form"); var url = jQuery("#K2FilterBox211 form:eq(0)").attr("action"); var fields = form.find("select"); var parent_block = jQuery(target).parent().parent(); form.find('div.k2filter-cell').not(parent_block).find(".dynoloader").show(); var field_type = ""; var field_id = ""; field_type += '&field_type[]=category_multiple_select'; field_id += '&field_id[]=10000'; field_type += '&field_type[]=multi_select_autofill'; field_id += '&field_id[]=2'; var query = jQuery("#K2FilterBox211 form").find(":input").filter(function () { return jQuery.trim(this.value).length > 0 }).serialize(); var selected_count_current = 0; jQuery("#K2FilterBox211 form").find("select").each(function() { if(this.value.length > 0) { selected_count_current++; } }); jQuery.ajax({ dataType: "json", data: query + "&format=dynobox" + field_type + field_id, type: "GET", url: url, success: function(res) { if(res.length > 0) { jQuery(res).each(function(k, field) { //touch only next fields // if(k -1 || ( ((target.value.length == 0 && selected_count_current == init_selected_count) || jQuery(target).attr("name") == jQuery(initbox).attr("name") ) && jQuery(initbox).attr("name").indexOf("category") > -1 ) ) { jQuery(this).show(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).show(); } } else { if(jQuery(target).attr("name") != filter.attr("name")) { jQuery(this).hide(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).hide(); } } } }); } else if(field.name == 'tag_select' || field.name == 'tag_multi_select') { var filter = form.find("select[name*=ftag]"); if(filter.length == 0) { filter = form.find("select[name*=taga]"); } if(typeof filter.attr("name") === 'undefined') { return; } filter.find("option").not(".empty").each(function(k) { var form_val = jQuery(this).text(); if( jQuery.inArray(form_val, field.values) > -1 || ( ((target.value.length == 0 && selected_count_current == init_selected_count) || jQuery(target).attr("name") == jQuery(initbox).attr("name") ) && (jQuery(initbox).attr("name").indexOf("ftag") > -1 || jQuery(initbox).attr("name").indexOf("taga") > -1) ) ) { jQuery(this).show(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).show(); } } else { if(jQuery(target).attr("name") != filter.attr("name")) { jQuery(this).hide(); if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).hide(); } } } }); } else { var filter = form.find("select[name=searchword"+field.id+"]"); if(filter.length == 0) { filter = form.find("select[name=searchword"+field.id+"\\[\\]]"); } if(filter.length == 0) { filter = form.find("select[name=array"+field.id+"\\[\\]]"); } if(typeof filter.attr("name") === 'undefined') { return; } filter.find("option").not(".empty").each(function(k) { var form_val = jQuery(this).text().trim(); if( jQuery.inArray(form_val, field.values) > -1 || ( ((target.value.length == 0 && selected_count_current == init_selected_count) || jQuery(target).attr("name") == jQuery(initbox).attr("name") ) && filter.attr("name") == jQuery(initbox).attr("name") ) ) { jQuery(this).show(); if(jQuery(this).parent().is("span")) { jQuery(this).unwrap(); } if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).show(); } //added for link the value if(jQuery(target).find(":selected").val() != "") { jQuery(this).addClass(jQuery(target).find(":selected").text()); } } else { if(jQuery(target).attr("name") != filter.attr("name")) { jQuery(this).hide(); if(!jQuery(this).parent().is("span")) { jQuery(this).wrap(""); } if(filter.next().attr("type") == "button") { filter.multiselect("widget").find(".ui-multiselect-checkboxes li").eq(k).hide(); } } } }); } }); } // else { // form.find("select").each(function() { // if(jQuery(target).attr("name") == jQuery(this).attr("name")) return; // jQuery(this).find("option").not(".empty").hide(); // if(jQuery(this).next().attr("type") == "button") { // jQuery(this).multiselect("widget").find(".ui-multiselect-checkboxes li").hide(); // } // }); // } form.find(".dynoloader").hide(); } }); }

ABSo Simple Search

Piatti vegetariani

Piatti vegetariani

9 Contenuti9 Contenuti
 
 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt.