| SIL 0005 H06CB | | 6.40 | 6.00 | 5.10 | 100.00 | 25.0 | 4.30 | 1 | H |
| SIR 0005 H06CB | | 6.40 | 6.00 | 5.10 | 100.00 | 25.0 | 4.30 | 1 | H |
| SIL 0005 H06 | | 6.40 | 12.00 | 5.10 | 100.00 | 12.0 | 4.30 | 0 | S |
| SIR 0005 H06 | | 6.40 | 12.00 | 5.10 | 100.00 | 12.0 | 4.30 | 0 | S |
| SIL 0007 K08CB | | 9.00 | 8.00 | 6.60 | 125.00 | 30.0 | 5.30 | 1 | H |
| SIL 0008 K08UCB | | 9.00 | 8.00 | 7.30 | 125.00 | 35.0 | 6.40 | 1 | H |
| SIR 0007 K08CB | | 9.00 | 8.00 | 6.60 | 125.00 | 30.0 | 5.30 | 1 | H |
| SIR 0008 K08UCB | | 9.00 | 8.00 | 7.30 | 125.00 | 35.0 | 6.40 | 1 | H |
| SIL 0007 K08 | | 9.00 | 16.00 | 6.60 | 125.00 | 18.0 | 5.30 | 0 | S |
| SIL 0008 K08U | | 9.00 | 16.00 | 7.30 | 125.00 | 21.0 | 6.60 | 0 | S |
| SIR 0007 K08 | | 9.00 | 16.00 | 6.60 | 125.00 | 18.0 | 5.30 | 0 | S |
| SIR 0008 K08U | | 9.00 | 16.00 | 7.30 | 125.00 | 21.0 | 6.60 | 0 | S |
| SIL 0010 H11 | | 12.00 | 10.00 | 10.00 | 100.00 | - | 7.40 | 0 | S |
| SIL 0010 M11CB | | 12.00 | 10.00 | 10.00 | 150.00 | - | 7.40 | 1 | H |
| SIR 0010 H11 | | 12.00 | 10.00 | 10.00 | 100.00 | - | 7.40 | 0 | S |
| SIR 0010 H11B | | 12.00 | 10.00 | 10.00 | 100.00 | - | 7.40 | 1 | S |
| SIR 0010 M11CB | | 12.00 | 10.00 | 10.00 | 150.00 | - | 7.40 | 1 | H |
| SIL 0010 K11 | | 12.00 | 16.00 | 10.00 | 125.00 | 25.0 | 6.50 | 0 | S |
| SIL 0010 K11B | | 12.00 | 16.00 | 10.00 | 125.00 | 25.0 | 7.40 | 1 | S |
| SIR 0010 K11 | | 12.00 | 16.00 | 10.00 | 125.00 | 25.0 | 6.50 | 0 | S |
| SIR 0010 K11B | | 12.00 | 16.00 | 10.00 | 125.00 | 25.0 | 7.40 | 1 | S |
| SIL 0012 P11CB | | 15.00 | 12.00 | 12.00 | 170.00 | - | 8.40 | 1 | H |
| SIR 0012 P11CB | | 15.00 | 12.00 | 12.00 | 170.00 | - | 8.40 | 1 | H |
| SIL 0013 L11 | | 15.00 | 16.00 | 13.00 | 140.00 | 32.0 | 8.90 | 0 | S |
| SIR 0013 L11 | | 15.00 | 16.00 | 13.00 | 140.00 | 32.0 | 8.90 | 0 | S |
| SIL 0013 M16 | | 16.00 | 16.00 | 13.00 | 150.00 | 32.0 | 10.00 | 0 | S |
| SIL 0013 M16B | | 16.00 | 16.00 | 13.00 | 150.00 | 32.0 | 10.20 | 1 | S |
| SIR 0013 M16 | | 16.00 | 16.00 | 13.00 | 150.00 | 32.0 | 10.00 | 0 | S |
| SIR 0013 M16B | | 16.00 | 16.00 | 13.00 | 150.00 | 32.0 | 10.00 | 1 | S |
| SIR 0016 R16CB | | 19.00 | 16.00 | 16.00 | 200.00 | - | 11.70 | 1 | H |
| SIL 0016 P16 | | 19.00 | 20.00 | 16.00 | 170.00 | 40.0 | 11.40 | 0 | S |
| SIL 0016 P16B | | 19.00 | 20.00 | 16.00 | 170.00 | 40.0 | 11.70 | 1 | S |
| SIR 0016 P16 | | 19.00 | 20.00 | 16.00 | 170.00 | 40.0 | 11.40 | 0 | S |
| SIR 0016 P16B | | 19.00 | 20.00 | 16.00 | 170.00 | 40.0 | 11.70 | 1 | S |
| SIL 0020 P16 | | 24.00 | 20.00 | 20.00 | 170.00 | - | 13.70 | 0 | S |
| SIL 0020 P16B | | 24.00 | 20.00 | 20.00 | 170.00 | - | 13.70 | 1 | S |
| SIL 0020 P22 | | 24.00 | 20.00 | 20.00 | 170.00 | - | 15.60 | 0 | S |
| SIL 0020-16-AD | | 24.00 | 20.00 | 20.00 | 80.00 | - | 13.70 | 0 | S |
| SIR 0020 P16 | | 24.00 | 20.00 | 20.00 | 170.00 | - | 13.70 | 0 | S |
| SIR 0020 P16B | | 24.00 | 20.00 | 20.00 | 170.00 | - | 13.70 | 1 | S |
| SIR 0020 P22 | | 24.00 | 20.00 | 20.00 | 170.00 | - | 15.60 | 0 | S |
| SIR 0020 S16CB | | 24.00 | 20.00 | 20.00 | 250.00 | - | 13.70 | 1 | H |
| SIR 0020-16-AD | | 24.00 | 20.00 | 20.00 | 80.00 | - | 13.70 | 0 | S |
| SIR 0025 S16CB | | 28.00 | 25.00 | 25.00 | 250.00 | - | 16.20 | 1 | H |
| SIL 0025 R16 | | 29.00 | 25.00 | 25.00 | 200.00 | - | 16.30 | 0 | S |
| SIL 0025 R16B | | 29.00 | 25.00 | 25.00 | 200.00 | - | 16.20 | 1 | S |
| SIL 0025 R22 | | 29.00 | 25.00 | 25.00 | 200.00 | - | {
thumb.classList.remove('active');
});
// Добавляем активный класс текущей миниатюре
if (thumbnail) {
thumbnail.classList.add('active');
}
}
// Кнопка наверх
window.addEventListener('scroll', function() {
const scrollBtn = document.getElementById('scrollToTop');
if (window.pageYOffset > 300) {
scrollBtn.classList.add('show');
} else {
scrollBtn.classList.remove('show');
}
});
document.getElementById('scrollToTop')?.addEventListener('click', function() {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
});
// Функция для открытия попапа заказа товара
function openProductOrderPopup(productId) {
document.getElementById('order_product_id').value = productId;
document.getElementById('productOrderPopup').classList.add('active');
document.body.style.overflow = 'hidden';
}
// Обработка формы заказа товара
document.getElementById('productOrderForm')?.addEventListener('submit', function(e) {
e.preventDefault();
const formData = new FormData(this);
fetch('/includes/mail.php', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
if (data.success) {
closeAllPopups();
document.getElementById('successPopup').classList.add('active');
this.reset();
} else {
alert('Ошибка: ' + (data.error || 'Неизвестная ошибка'));
}
})
.catch(error => {
console.error('Error:', error);
alert('Произошла ошибка при отправке');
});
});
// Обработка контактной формы
document.getElementById('productContactForm')?.addEventListener('submit', function(e) {
e.preventDefault();
const formData = new FormData(this);
formData.append('type', 'contact');
fetch('/includes/mail.php', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
if (data.success) {
/* alert('Спасибо! Мы свяжемся с вами в ближайшее время.');*/
this.reset();
// Сброс файлового инпута
const fileInput = this.querySelector('input[type="file"]');
if (fileInput) {
fileInput.value = '';
const fileLabel = this.querySelector('.file-label span');
if (fileLabel) {
fileLabel.textContent = 'Прикрепить файл';
}
}
} else {
alert('Ошибка: ' + (data.error || 'Неизвестная ошибка'));
}
})
.catch(error => {
console.error('Error:', error);
alert('Произошла ошибка при отправке');
});
});
// Обработка файла
document.getElementById('file-upload')?.addEventListener('change', function() {
const label = this.closest('.form-group--file').querySelector('.file-label span');
if (this.files.length > 0) {
label.textContent = this.files[0].name;
} else {
label.textContent = 'Прикрепить файл';
}
});
// Функции для попапов (если не загрузились из popup.js)
function openPopup(type) {
closeAllPopups();
let popupId;
switch(type) {
case 'callback':
popupId = 'callbackPopup';
break;
case 'success':
popupId = 'successPopup';
break;
default:
return;
}
const popup = document.getElementById(popupId);
if (popup) {
popup.classList.add('active');
document.body.style.overflow = 'hidden';
}
}
function closeAllPopups() {
document.querySelectorAll('.popup').forEach(popup => {
popup.classList.remove('active');
});
document.body.style.overflow = '';
}
// Обработка формы обратного звонка
document.getElementById('callbackForm')?.addEventListener('submit', function(e) {
e.preventDefault();
const formData = new FormData(this);
fetch('/includes/mail.php', {
method: 'POST',
body: formData
})
.then(response => response.json())
.then(data => {
if (data.success) {
closeAllPopups();
openPopup('success');
this.reset();
} else {
alert('Ошибка: ' + (data.error || 'Неизвестная ошибка'));
}
})
.catch(error => {
console.error('Error:', error);
alert('Произошла ошибка при отправке');
});
});
// Закрытие попапов
document.querySelectorAll('.popup__close').forEach(btn => {
btn.addEventListener('click', closeAllPopups);
});
document.querySelectorAll('.popup').forEach(popup => {
popup.addEventListener('click', function(e) {
if (e.target === this) {
closeAllPopups();
}
});
});
document.addEventListener('keydown', function(e) {
if (e.key === 'Escape') {
closeAllPopups();
}
});
|