- szablony Tags Kalendarium listkowe - poziom 1 Colors Design Category Druk wielkoformatowy Banery Folia samoprzylepna Media papierowe Druk UV na sztywnych mediach Reklamy mobilne Upominki reklamowe Długopisy Smycze Kubki Odzież Pieczątki Automaty prostokątne Automaty kwadratowe Automaty okrągłe - owalne Pieczątki kieszonkowe Datowniki Strony internetowe Kalendarze książkowe Kalendarze jednodzielne Kalendarze trójdzielne Kalendarze planszowe Kalendarze wieloplanszowe Kalendarzyki listkowe Kalendarze biurkowe Kalendarze czterodzielne Kalendarze biurkowe na spirali Kalendarze biurkowe "piramidki" Kalendarze biurkowe A5 spiralowane Kalendarze biurkowe personalizowane spiralowane Wizytówki klasyczne 50x90 Wizytówki klasyczne 85x55 Wizytówki 50x90 foliowane Wizytówki 85x55 foliowane Wizytówki 50x90 SoftTouch Wizytówki 85x55 SoftTouch Wizytówki składane niefoliowane Wizytówki składane foliowane Wizytówki MultiLoft 50x90 Wizytówki MultiLoft 85x55 Ulotki A6 offset Ulotki A6 kreda 90g Ulotki A6 ekologiczne Ulotki A6 kreda 130g Ulotki A6 kreda 170g Ulotki A6 kreda 250g Ulotki A5 offset Ulotki A5 kreda 90g Ulotki A5 kreda 130g Ulotki A5 kreda 170g Ulotki A5 kreda 250g Ulotki A5 ekologiczne Ulotki A4 ekologiczne Ulotki A4 offset 90g Ulotki A4 kreda 90g Ulotki A4 kreda 130g Ulotki A4 kreda 170g Ulotki A4 kreda 250g Ulotki A3 offset Ulotki A3 ekologiczne Ulotki A3 kreda 90g Ulotki A3 kreda 130g Ulotki A3 kreda 170g Ulotki A3 kreda 250g Ulotki DL kreda 90g Ulotki DL kreda 130g Ulotki DL kreda 170g Ulotki DL kreda 250g Ulotki DL offset 90g Ulotki DL ekologiczne Ulotki składane A5 do A6 kreda 130g Ulotki składane A5 do A6 kreda 170g Ulotki składane A5 do A6 kreda 250g Ulotki składane A4 do A5 kreda 130g Ulotki składane A4 do A5 kreda 170g Ulotki składane A4 do A5 kreda 250g Ulotki składane A4 do DL kreda 130g Ulotki składane A4 do DL kreda 170g Ulotki składane A4 do DL kreda 250g Teczki A4 econo kreda 350g Teczki ofertowe A4 Plakaty A3 130g Plakaty A3 170g Plakaty A2 130g Plakaty A2 170g Plakaty A1 130g Plakaty A1 170g Plakaty B1 130g Plakaty B1 170g Plakaty B2 130g Plakaty B2 170g Karty pocztowe A6 Papiery firmowe A4 Notesy klejone A7 50 kartek bez okładki Notesy klejone A7 100 kartek bez okładki Notesy klejone A6 50 kartek bez okładki Notesy klejone A6 100 kartek bez okładki Notesy klejone A5 50 kartek bez okładki Notesy klejone A5 100 kartek bez okładki Notesy klejone A4 50 kartek bez okładki Notesy klejone A4 100 kartek bez okładki Kalendarze trójdzielne Standard Kalendarze trójdzielne VIP Long Kalendarze trójdzielne Standard VIP Kalendarze trójdzielne VIP Kalendarze trójdzielne MAXI Kalendarze trójdzielne LONG Kalendarze trójdzielne PROSTY Kalendarze trójdzielne VIP spiralowane Kalendarze trójdzielne MINI Kalendarze jednodzielne Standard Kalendarze jednodzielne EKONOMICZNE Kalendarze planszowe A3 Kalendarze planszowe A2 Kalendarze planszowe A1 Kalendarze planszowe B2 Kalendarze planszowe B1 Kalendarze 7-planszowe A4 Kalendarze 7-planszowe A3 Kalendarze 7-planszowe A2 Kalendarze 13-planszowe A4 Kalendarze 13-planszowe A3 Kalendarze 13-planszowe A2 Kalendarz panoramiczny 7-planszowy Kalendarz panoramiczny 13-planszowy Planery B2 Designer Products Kalendarze 13-planszowe spiralowane A2 Kalendarze 13-planszowe spiralowane A3 Kalendarze czterodzielne MAXI Kalendarze trójdzielne MINI Kalendarze trójdzielne VIP spiralowane Kalendarze trójdzielne PROSTY Kalendarze trójdzielne LONG Kalendarze trójdzielne MAXI Baner oczkowany Kalendarzyki listkowe Planery B2 - 1000 szt. Planery B2 - 900 szt. Planery B2 - 800 szt. Planery B2 - 700 szt. Planery B2 - 600 szt. Planery B2 - 500 szt. Planery B2 - 400 szt. Planery B2 - 300 szt. Planery B2 - 200 szt. Planery B2 - 100 szt. Planery B2 - od 50 szt. Kalendarze biurkowe A5 spiralowane Kalendarze planszowe listwowane B1 Kalendarze planszowe listwowane B2 Kalendarze planszowe listwowane A1 Kalendarze planszowe listwowane A2 Kalendarze plakatowe A3 Kalendarze jednodzielne EKONOMICZNE Kalendarze jednodzielne Standard Kalendarze trójdzielne VIP Kalendarze trójdzielne Standard VIP Kalendarze trójdzielne VIP Long Kalendarze trójdzielne Standard Notesy klejone A6 100 kartek bez okładki - 2000 szt. Notesy klejone A6 100 kartek bez okładki - 1000 szt. Notesy klejone A6 100 kartek bez okładki - 500 szt. Notesy klejone A6 100 kartek bez okładki - 400 szt. Notesy klejone A6 100 kartek bez okładki - 300 szt. Notesy klejone A6 100 kartek bez okładki - 200 szt. Notesy klejone A6 100 kartek bez okładki - od 100 szt. See All Wishlist var showAllProduct = function(e){ jQuery(e).hide(); jQuery('.nbd-tem-list-product-wrap').addClass('see-all'); jQuery('.nbd-tem-list-product-wrap ul li').removeClass('nbd-hide'); } No template has found yet. close .nbd-hidden-sidebar { width: calc(100%); } .nbd-gallery-column-3 .nbdesigner-item { width: calc(33.3333% - 16px); } .nbd-gallery-column-5 .nbdesigner-item { width: calc(20% - 16px); } .nbd-gallery-column-4 .nbdesigner-item { width: calc(25% - 16px); } .nbdesigner-item, .nbd-gallery-wrap .nbdesigner-item{ margin: 0 8px 16px; } .nbd-gallery-wrap.nbd-gallery-column-2 .nbdesigner-item { width: calc(50% - 16px); } .nbd-gallery-wrap.nbd-gallery-column-3 .nbdesigner-item { width: calc(33.3333% - 16px); } .nbd-gallery-wrap.nbd-gallery-column-4 .nbdesigner-item { width: calc(25% - 16px); } @media screen and (max-width: 1270px){ .nbd-gallery-column-3 .nbdesigner-item { width: calc(50% - 16px); } .nbd-gallery-column-4 .nbdesigner-item { width: calc(33.3333% - 16px); } .nbd-gallery-column-5 .nbdesigner-item { width: calc(25% - 16px); } .nbd-gallery-wrap.nbd-gallery-column-3 .nbdesigner-item { width: calc(50% - 16px); } .nbd-gallery-wrap.nbd-gallery-column-4 .nbdesigner-item { width: calc(33.3333% - 16px); } } @media screen and (max-width: 768px){ .nbd-gallery-wrap.nbd-gallery-column-3 .nbdesigner-item, .nbd-gallery-column-3 .nbdesigner-item { width: calc(100% - 16px); } .nbd-gallery-column-4 .nbdesigner-item, .nbd-gallery-column-5 .nbdesigner-item { width: calc(50% - 16px); } .nbd-gallery-wrap.nbd-gallery-column-4 .nbdesigner-item { width: calc(50% - 16px); } } @media screen and (max-width: 600px) { .nbd-gallery-column-4 .nbdesigner-item, .nbd-gallery-column-5 .nbdesigner-item { width: calc(100% - 16px); } .nbd-gallery-wrap.nbd-gallery-column-4 .nbdesigner-item { width: calc(100% - 16px); } } var art_id = "0"; var nonce = "3003279125"; var nbd_page = { url: "https://print-druk.pl/templates/?pid=5148", current_page: parseInt(1), row: parseInt(6), per_row: parseInt(5), total: parseInt(0), limit: parseInt(30), last_page: parseInt(0) }; var updateFavouriteTemplate = function(e, type, template_id){ var self = jQuery(e), parent = self.parent('.nbd-like-icons'), tempaltes = localStorage.getItem("nbd_favourite_templates"); if( tempaltes.indexOf(template_id) > -1 && type == 'like') { alert('Template has been added into favourite list!'); parent.find('.nbd-like-icon').removeClass('active'); parent.find('.nbd-like-icon.like').addClass('active'); return; } var _data = { action: 'nbd_update_favorite_template', template_id: template_id, type: type, nonce: nonce }; parent.find('.nbd-like-icon').removeClass('active'); parent.find('.nbd-like-icon.loading').addClass('active'); jQuery.post(woocommerce_params.ajax_url , _data, function(data){ localStorage.setItem("nbd_favourite_templates", JSON.stringify(data.templates)); parent.find('.nbd-like-icon.loading').removeClass('active'); parent.find('.nbd-like-icon.'+type).addClass('active'); if( type == 'like' ){ updateWishlistSidebar( self, template_id ); }else{ jQuery.each(jQuery('.wishlist-tem-wrap'), function(){ if( jQuery(this).attr('data-id') == template_id ){ jQuery(this).addClass('unwish'); } }); } }); }; var updateWishlistSidebar = function(e, temp_id){ var parent = e.parents('.nbdesigner-item'); var exist = false; jQuery.each(jQuery('.wishlist-tem-wrap'), function(){ if( jQuery(this).attr('data-id') == temp_id ){ jQuery(this).removeClass('unwish'); exist = true; } }); if( !exist ){ var wish_html = ''; wish_html += ''; wish_html += ''; wish_html += ''; wish_html += ''; wish_html += 'Template for'; wish_html += ''+parent.attr('data-title')+''; wish_html += ''; wish_html += ''; jQuery('.nbd-sidebar-con-inner.wishlist').prepend(wish_html); } }; var nbd_preview_html = []; var previewTempalte = function(e, tid){ e.preventDefault(); NBDPopup.initPopup(); if( nbd_preview_html[tid] != undefined ){ jQuery('.nbd-popup-content-inner').html(nbd_preview_html[tid]); }else{ jQuery('#nbd-popup-loading').removeClass('hide'); jQuery('.nbd-popup-content-inner').addClass('hide'); jQuery.ajax({ url: nbds_frontend.url, method: "POST", data: 'action=nbd_get_template_preview&template_id=' + tid + '&nonce=' + nonce }).done(function(data){ if( data.flag == 1 ){ jQuery('.nbd-popup-content-inner').html(data.html); nbd_preview_html[tid] = data.html; } jQuery('#nbd-popup-loading').addClass('hide'); jQuery('.nbd-popup-content-inner').removeClass('hide'); }); } }; var nbd_list_product_html = ''; var showPopupCreateTemplate = function(){ NBDPopup.initPopup(); if( nbd_list_product_html != '' ){ jQuery('.nbd-popup-content-inner').html( nbd_list_product_html ); }else{ jQuery('#nbd-popup-loading').removeClass('hide'); jQuery('.nbd-popup-content-inner').addClass('hide'); jQuery.ajax({ url: nbds_frontend.url, method: "POST", data: 'action=nbd_get_list_product_ready_to_create_template' + '&nonce=' + nonce }).done(function(data){ if( data.flag == 1 ){ jQuery('.nbd-popup-content-inner').html(data.html); nbd_list_product_html = data.html; } jQuery('#nbd-popup-loading').addClass('hide'); jQuery('.nbd-popup-content-inner').removeClass('hide'); }); } }; var nbd_preview_product_html = []; var previewNBDProduct = function(pid){ if( nbd_preview_product_html[pid] != undefined ){ jQuery('.nbd-popup-content-inner').html(nbd_preview_product_html[pid]); }else{ jQuery('#nbd-popup-loading').removeClass('hide'); jQuery('.nbd-popup-content-inner').addClass('hide'); jQuery.ajax({ url: nbds_frontend.url, method: "POST", data: 'action=nbd_get_preview_product_before_create_template&product_id=' + pid + '&nonce=' + nonce + '&art_id=' + art_id }).done(function(data){ if( data.flag == 1 ){ jQuery('.nbd-popup-content-inner').html(data.html); nbd_preview_product_html[pid] = data.html; } jQuery('#nbd-popup-loading').addClass('hide'); jQuery('.nbd-popup-content-inner').removeClass('hide'); }); } }; var changePreviewImage = function(e){ var src = jQuery(e).attr('src'); jQuery('.nbd-popup-list-preview img').removeClass('active'); jQuery(e).addClass('active'); jQuery('#nbd-popup-large-preview').attr('src', src); }; var switchNBDProductVariation = function(e){ var vid = jQuery(e).val(), btn = jQuery('#nbd-popup-link-create-template'), origin_fref = btn.data('href'), new_href = origin_fref + '&variation_id=' + vid; btn.attr('href', new_href); } jQuery( document ).ready(function(){ var templates = '[]'; localStorage.setItem("nbd_favourite_templates", templates); renderNBDGallery( true ); NBDPopup.calcWidth(); }); jQuery("body").click(function(e) { if(e.target.id == 'nbd-popup'){ NBDPopup.hidePopup(); } }); jQuery(document).bind('keydown', function(e) { if( e.which == 27 ){ NBDPopup.hidePopup(); } }); jQuery(window).on('resize', function () { NBDPopup.calcWidth(); }); var isNBDLoading = false; jQuery(window).on('scroll', function () { !isNBDLoading && (nbd_page.current_page < nbd_page.last_page) && isScrolledIntoView('#nbd-pagination') && loadMoreGallery( nbd_page ); }); var renderNBDGallery = function( init, callback ){ imagesLoaded( jQuery('#nbdesigner-gallery'), function() { if( !init ) jQuery('#nbdesigner-gallery').masonry('reloadItems'); jQuery('#nbdesigner-gallery').masonry({ itemSelector: '.nbdesigner-item', transitionDuration: 0 }); jQuery.each(jQuery('#nbdesigner-gallery .nbdesigner-item'), function(e) { jQuery(this).addClass("in-view"); }); if( typeof callback == 'function' ){ callback(); } }); }; var loadMoreGallery = function( nbd_page ){ jQuery('#nbd-load-more').show(); isNBDLoading = true; nbd_page.current_page++; jQuery('#nbd-pagination').addClass('nbdesigner-disable'); var data = { action: 'nbd_get_next_gallery_page', url: nbd_page.url, page: nbd_page.current_page, row: nbd_page.row, per_row: nbd_page.per_row, total: nbd_page.total, limit: nbd_page.limit, nonce: nonce }; jQuery.ajax({ url: nbds_frontend.url, method: "POST", data: data }).done(function(data){ jQuery('#nbd-pagination').removeClass('nbdesigner-disable'); var new_url = addParameter(nbd_page.url, 'paged', nbd_page.current_page, false); history.pushState(null, null, new_url ); isNBDLoading = false; if( data.flag ){ jQuery('#nbdesigner-gallery').append(data.items); jQuery('#nbd-pagination-wrap').html('').html(data.pagination); renderNBDGallery( false, function(){ jQuery('#nbd-load-more').hide(); } ); }else{ jQuery('#nbd-load-more').hide(); } }); }; var NBDPopup = { initPopup: function(){ jQuery('.nbd-popup').addClass('active'); jQuery('.nbd-popup').removeClass('hide'); jQuery('body').addClass('open-nbd-popup'); }, calcWidth: function(){ var width = jQuery(window).width(), height = jQuery(window).height(), popupWidth = 600, minHeight = 500, popupTop = 100; if( width < 600 ) { popupWidth = width - 30; } if( height < 700 ) { minHeight = height - 200; } jQuery('.nbd-popup-content-wrap').css({ 'width': popupWidth + 'px', 'margin': popupTop + 'px auto', 'min-height': minHeight + 'px' }); jQuery('.nbd-popup-content').css({ 'min-height': minHeight + 'px' }); }, hidePopup: function(){ jQuery('.nbd-popup').removeClass('active'); jQuery('body').removeClass('open-nbd-popup'); setTimeout(function(){ jQuery('.nbd-popup').addClass('hide'); }, 500); } }; var isScrolledIntoView = function(elem){ var docViewTop = jQuery(window).scrollTop(); var docViewBottom = docViewTop + jQuery(window).height(); var elemTop = jQuery(elem).offset().top; var elemBottom = elemTop + jQuery(elem).height(); return ((elemBottom = docViewTop)); }; var is_nbd_gallery = 1;