>

Интернет-магазин   напольных покрытий
>
Подобрать по характеристикам
Цена
Страна производитель
Бренд
Коллекция
Класс
Фаска
Цвет
Тип рисунка
Браширование
>'sotbit:seo.meta' is not a component
1 2 3 4 5 ... 13
Нужна
консультация?
Если у вас остались вопросы, заполните форму и наши специалисты в ближайшее время свяжутся с вами
(''); }); function hideAnotherMenu(whatPressed){ if(whatPressed == "menu_about"){ if(document.getElementById("catalog").classList.contains("in")){ document.getElementById("catalog").classList.remove("in"); } } else if(whatPressed == "catalog"){ if(document.getElementById("menu_about").classList.contains("in")){ document.getElementById("menu_about").classList.remove("in"); } } } BX.ready(function(){ window['trackBar5'] = new BX.Iblock.SmartFilter({'leftSlider':'left_slider_5','rightSlider':'right_slider_5','tracker':'drag_tracker_5','trackerWrap':'drag_track_5','minInputId':'arrFilter_5_MIN','maxInputId':'arrFilter_5_MAX','minPrice':'560','maxPrice':'2690','curMinPrice':'','curMaxPrice':'','fltMinPrice':'560','fltMaxPrice':'2690','precision':'2','colorUnavailableActive':'colorUnavailableActive_5','colorAvailableActive':'colorAvailableActive_5','colorAvailableInactive':'colorAvailableInactive_5'}); }); $(document).ready(function() { setTimeout(function() { var mainDivs = $(".column_uslugi"); //Получаем все элементы с классом column var maxHeight = 0; for (var i = 0; i < mainDivs.length; ++i) { if (maxHeight < $(mainDivs[i]).height()) { //Находим максимальную высоту maxHeight = $(mainDivs[i]).height(); } } for (var i = 0; i < mainDivs.length; ++i) { $(mainDivs[i]).height(maxHeight); //Устанавливаем всем элементам максимальную высоту } }, 1000); }); $(document).ready(function() { setTimeout(function() { var mainDivs = $(".column_catalog_projects_text"); //Получаем все элементы с классом column var maxHeight = 0; for (var i = 0; i < mainDivs.length; ++i) { if (maxHeight < $(mainDivs[i]).height()) { //Находим максимальную высоту maxHeight = $(mainDivs[i]).height(); } } for (var i = 0; i < mainDivs.length; ++i) { $(mainDivs[i]).height(maxHeight); //Устанавливаем всем элементам максимальную высоту } }, 1000); }); BX.ready(function(){ window['trackBar5'] = new BX.Iblock.SmartFilter({'leftSlider':'left_slider_5','rightSlider':'right_slider_5','tracker':'drag_tracker_5','trackerWrap':'drag_track_5','minInputId':'arrFilter_5_MIN','maxInputId':'arrFilter_5_MAX','minPrice':'560','maxPrice':'2690','curMinPrice':'','curMaxPrice':'','fltMinPrice':'560','fltMaxPrice':'2690','precision':'2','colorUnavailableActive':'colorUnavailableActive_5','colorAvailableActive':'colorAvailableActive_5','colorAvailableInactive':'colorAvailableInactive_5'}); }); function arrFilter_sravn_tov(id, id_block) { var chek = document.getElementById('arrFilter_sravn_'+id); if (chek.checked) { //Добавить var AddedGoodId = id; $.get("/local/ajax/list_compare.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, id_block: id_block}, function(data) { $("#sravn_list_count").html(data); } ); } else { //Удалить var AddedGoodId = id; $.get("/local/ajax/list_compare.php", { action: "DELETE_FROM_COMPARE_LIST", id: AddedGoodId, id_block: id_block}, function(data) { $("#sravn_list_count").html(data); } ); } } function arrFilter_fav_tov(id_fav, id_block) { var chek = document.getElementById('arrFilter_favid_'+id_fav); if (chek.checked) { //Добавить var AddedGoodId_fav = id_fav; $.get("/local/ajax/list_fav.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId_fav, id_block: id_block}, function(data) { $("#fav_list_count").html(data); } ); } else { //Удалить var AddedGoodId_fav = id_fav; $.get("/local/ajax/list_fav.php", { action: "DELETE_FROM_COMPARE_LIST", id: AddedGoodId_fav, id_block: id_block}, function(data) { $("#fav_list_count").html(data); } ); } } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); } //alert(); /*функция подсчёта*/ function countingFunc(id, filter){ var AddedGoodId = id; if(filter != undefined){ var full_id = id+ "_" + filter; } else if(filter == undefined){ var full_id = id; } // $.get("/local/ajax/edit_cart.php", // {action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, kol: editkol}, var sum = (document.getElementById('price_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_'+full_id).innerHTML = sum.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); var sum_old = (document.getElementById('price_old_'+full_id).value*document.getElementById('kol_'+full_id).value)+""; document.getElementById('summa_old_'+full_id).innerHTML = sum_old.replace(/(\d)(?=(\d\d\d)+([^\d]|$))/g, '$1 '); } function onButton(arg, id, filter){ if(filter == undefined){ var idToEdit = 'kol_' + id; } else if (filter != undefined){ var idToEdit = 'kol_' + id + "_" + filter; } if(arg == 'plus'){ document.getElementById(idToEdit).value++; } if(arg == 'minus' && document.getElementById(idToEdit).value > 1){ document.getElementById(idToEdit).value--; } countingFunc(id, filter); } function compare_tov_(id, price, filter) { if (filter == undefined){ var addkol = document.getElementById('kol_'+id).value; } else if (filter != undefined){ var addkol = document.getElementById('kol_'+id+"_"+filter).value; } // alert('a'); //Добавить var AddedGoodId = id; var addprice = price; $.get("/local/ajax/add_cart.php", { action: "ADD_TO_COMPARE_LIST", id: AddedGoodId, price: addprice, kol: addkol}, function(data) { $("#compare_list_count").html(data); } ); }