1$(document).ready(function() { 2 3 $('.delete_banner_up').click(function () { 4 $.cookie('banner_up', 'Y', { expires: 1 }); 5 $('.header-promo').slideUp(500); 6 return false; 7 }); 8 9 function abc(n) { 10 return (n + "").split("").reverse().join("").replace(/(\d{3})/g, "$1 ").split("").reverse().join("").replace(/^ /, ""); 11 } 12 13 function calk(){ 14 var price = $('#fancybox02 .price strong').text(); 15 var count = parseInt($('#fancybox02 .amount-form .text').val(), 10); 16 if(!count){ 17 var count = parseInt($('#fancybox02 .quantity .text').val(), 10); 18 } 19 var price2 = parseInt(price.replace(/\s+/g, ''), 10); 20 var cost = count*price2; 21 cost+=''; 22 $('#fancybox02 .cost strong').text(cost.replace(/(\d{1,3})(?=((\d{3})*([^\d]|$)))/g, " $1 ")); 23 } 24 $('.minus').click(function () { 25 26 var $input = $(this).parent().find('input'); 27 var count = parseInt($input.val()) - 1; 28 count = count < 1 ? 1 : count; 29 $input.val(count); 30 var count_input = $input.val(); 31 $input.change(); 32 33 var id_offer_data = $('#fancybox02').attr('data-offer_id'); 34 $.ajax({ 35 type: "POST", 36 url: "/basket/add_basket.php", 37 data: "id="+id_offer_data+"&count="+count_input, 38 success: function(data){ 39 40 } 41 }); 42 calk(); 43 44 return false; 45 46 }); 47 48 $('.plus').click(function () { 49 50 var $input = $(this).parent().find('input'); 51 $input.val(parseInt($input.val()) + 1); 52 var count_input = $input.val(); 53 $input.change(); 54 var id_offer_data = $('#fancybox02').attr('data-offer_id'); 55 $.ajax({ 56 type: "POST", 57 url: "/basket/add_basket.php", 58 data: "id="+id_offer_data+"&count="+count_input, 59 success: function(data){ 60 61 } 62 }); 63 calk(); 64 65 return false; 66 }); 67});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.