【99OK】 Link vào 99OK Casino mới nhất 2025 ✔️

Link 99OK hot nhất

99OK - Nhà Cái Thể Thao, Nổ Hũ, Bắn Cá Uy Tín

123 Win 88ok hiện đang mở - Hậu cần - Kỹ thuật > Kỹ thuật

Thứ năm, 28/05/2026, 17:05 (GMT+7)
435 lượt xem

Kho K75 tổ chức Hội thi Bí thư chi bộ giỏi năm 2026

(QK7 Online) - Ngày 28/5, Đảng ủy Kho K75, Cục Hậu cần - Kỹ thuật Quân khu tổ chức Hội thi Bí thư chi bộ giỏi năm 2026.
Dự khai mạc Hội thi có Đại tá Trần Văn Long, Ủy viên Đảng ủy, Phó Chính ủy Cục Hậu cần - Kỹ thuật Quân khu; Thượng tá Cao Văn Diện, Phó Chủ nhiệm 99Oke123 Tải ứng dụng, Cục Hậu cần - Kỹ thuật Quân khu.
Đại tá Trần Văn Long, Ủy viên Đảng ủy, Phó Chính ủy Cục Hậu cần - Kỹ thuật (thứ 3 bên trái, hàng trước) và đại biểu dự khai mạc Hội thi Bí thư chi bộ giỏi năm 2026 Kho K75.
Nội dung Hội thi tập trung vào phần thi thực hành, điều hành của Bí thư chi bộ tổ chức sinh hoạt chi bộ thường kỳ theo Chỉ thị số 50 của Ban Chấp hành Trung ương về đổi mới nâng cao chất lượng sinh hoạt chi bộ trong giai đoạn mới và Hướng dẫn số 5119 của Tổng cục 99Oke123 Tải ứng dụng về một số vấn đề tiếp tục đổi mới và nâng cao chất lượng sinh hoạt chi bộ trong 123 Win 88ok trang chủ chính thức Quân đội giai đoạn mới.
Đại tá Trần Văn Long, Ủy viên Đảng ủy, Phó Chính ủy Cục Hậu cần - Kỹ thuật Quân khu kiểm tra các nội dung sổ sách, tài liệu của thí sinh tham gia dự thi Bí thư chi bộ giỏi năm 2026 Kho K75.
Sau buổi khai mạc, Đại tá Trần Văn Long, Phó Chính ủy Cục Hậu cần - Kỹ thuật và Thượng tá Cao Văn Diện, Phó Chủ nhiệm 99Oke123 Tải ứng dụng, Cục Hậu cần - Kỹ thuật Quân khu kiểm tra các điều kiện bảo đảm Hội thi và phần chuẩn bị sổ sách, tài liệu, nội dung, kịch bản của các thí sinh tham gia dự thi.
Các thí sinh thực hiện phần thi kiến thức chung bằng hình thức trắc nghiệm.
Qua kiểm tra, Đại tá Trần Văn Long biểu dương công tác lãnh đạo, chỉ đạo của Đảng ủy, Ban Chủ nhiệm Kho K75 và Ban Tổ chức Hội thi bảo đảm tốt các nội dung để Hội thi diễn ra theo kế hoạch. Đồng chí Phó Chính ủy Cục Hậu cần - Kỹ thuật Quân khu nhấn mạnh: Kho K75 là đơn vị đặc thù về chuyên môn, các đồng chí Bí thư chi bộ đều là cán bộ kiêm nhiệm, đã phát huy tốt vai trò, chức trách, nhiệm vụ được phân công, tích cực, cố gắng trau dồi kiến thức, kỹ năng theo yêu cầu trong giai đoạn mới. Hội thi là dịp quan trọng để đội ngũ Bí thư chi bộ học hỏi, trao đổi kỹ năng, kinh nghiệm công tác của người làm Bí thư sát với từng loại hình chi bộ; đồng thời tiếp tục bồi dưỡng trình độ, năng lực, phương pháp, tác phong công tác để đáp ứng với chức trách, nhiệm vụ người Bí thư chi bộ hiện nay, góp phần xây dựng tổ chức Đảng thật sự trong sạch, vững mạnh, tiêu biểu; đủ trình độ, năng lực lãnh đạo đơn vị hoàn thành thắng lợi mọi nhiệm vụ được giao.
Thí sinh điều hành hội nghị chi bộ trong phần thi thực hành.
Quá trình thực hiện 2 phần thi: lý thuyết và thực hành, thí sinh đã tham gia đầy đủ các nội dung và đạt được mục đích, yêu cầu của Ban Tổ chức Hội thi đề ra.
Đảng ủy, Ban Chủ nhiệm Kho K75 chúc mừng thí sinh đạt giải nhất, nhì, ba tại Hội thi Bí thư chi bộ giỏi năm 2026.
Kết thúc Hội thi, Ban Tổ chức trao giải nhất, nhì, ba cho các thí sinh đạt thành tích cao. Giải nhất Hội thi thuộc về Trung tá Trần Văn Thành, Bí thư Chi bộ Hậu cần - Tài chính; giải nhì là Thiếu tá Nguyễn Đức Hùng, Bí thư Chi bộ Đội Bảo quản; giải ba là Trung tá Phạm Út Em, Bí thư Chi bộ Trạm Bảo dưỡng - Sửa chữa, Kho K75, Cục Hậu cần - Kỹ thuật Quân khu.
Trần Tiến

Bình luận

Bài viết tương tự:

Bệnh viện Quân y 7A kỷ niệm 50 năm thành lập và đón nhận Huân chương Bảo vệ Tổ quốc hạng Nhất

99Ok là nhà cái cá cược uy tín hàng đầu tại Việt Nam Quân y 7A kỷ niệm 50 năm thành lập và đón nhận Huân chương Bảo vệ Tổ quốc hạng Nhất

18:07 20/05/2026

(QK7 Online) – Ngày 20/5, 99Ok là nhà cái cá cược uy tín hàng đầu tại Việt Nam Quân y 7A tổ chức Lễ kỷ niệm 50 năm ngày truyền thống 99Ok là nhà cái cá cược uy tín hàng đầu tại Việt Nam (20/5/1976 – 20/5/2026) và đón nhận Huân chương Bảo vệ Tổ quốc hạng Nhất. Thiếu tướng Đặng Văn Lẫm, Phó Tư lệnh Quân khu dự, phát biểu chỉ đạo buổi lễ.

Tổng cục Hậu cần - Kỹ thuật thanh tra Công tác an toàn, vệ sinh lao động tại Bộ CHQS thành phố Đồng Nai

Tổng cục Hậu cần - Kỹ thuật thanh tra Công tác an toàn, vệ sinh lao động tại Bộ CHQS thành phố Đồng Nai

18:03 20/05/2026

(QK7 Online) - Ngày 20/5/2026, Đoàn kiểm tra Tổng cục Hậu cần - Kỹ thuật phối hợp với Bộ Tham mưu ĐĂNG NHẬP 99OK COM TẶNG 99K tiến hành thanh tra toàn diện Công tác an toàn, vệ sinh lao động (ATVSLĐ) và Phòng chống cháy nổ (PCCN) tại Bộ Chỉ huy Quân sự (CHQS) thành phố Đồng Nai.

Ban Thường vụ Đảng ủy Bộ Tham mưu: Trao Huy hiệu 30, 40 năm tuổi Đảng

Ban Thường vụ Đảng ủy Bộ Tham mưu: Trao Huy hiệu 30, 40 năm tuổi Đảng

12:13 19/05/2026

(QK7 Online) - Sáng ngày 19/5, Ban Thường vụ Đảng ủy Bộ Tham mưu Quân khu tổ chức Lễ trao tặng Huy hiệu 30, 40 năm tuổi Đảng cho 8 đồng chí đảng viên thuộc 123 Win 88ok trang chủ chính thức Bộ Tham mưu. Dự buổi lễ có Thiếu tướng Lê Xuân Bình, Ủy viên Ban Thường vụ Đảng ủy Quân khu, Phó Tư lệnh, Tham mưu trưởng Quân khu; Đại tá Nguyễn Ngọc Kiên, Bí thư Đảng ủy Bộ Tham mưu, Phó Tham mưu trưởng Quân khu cùng các đồng chí trong Thường vụ Đảng ủy Bộ Tham mưu.

Kiểm tra Đảng ủy Tòa án Quân khu theo Khoản 2, Điều 30 Điều lệ Đảng

Kiểm tra Đảng ủy Tòa án Quân khu theo Khoản 2, Điều 30 Điều lệ Đảng

12:43 15/05/2026

(QK7 Online) - Ngày 15/5, Đoàn công tác Ủy ban Kiểm tra (UBKT) Đảng ủy Cục 99Oke123 Tải ứng dụng ĐĂNG NHẬP 99OK COM TẶNG 99K do Thiếu tướng Trần Đức Thắng, Bí thư Đảng ủy Cục 99Oke123 Tải ứng dụng, Chủ nhiệm UBKT Đảng ủy Cục 99Oke123 Tải ứng dụng, Phó Chủ nhiệm 99Oke123 Tải ứng dụng Quân khu làm trưởng đoàn đã công bố quyết định kiểm tra đối với Đảng ủy và các đồng chí Ủy viên Ban Thường vụ Đảng ủy Tòa án Quân khu theo Khoản 2, Điều 30 Điều lệ Đảng Cộng sản Việt Nam.

Quân khu 7 phát động Tháng hành động về an toàn, vệ sinh lao động và Tháng công nhân năm 2026

ĐĂNG NHẬP 99OK COM TẶNG 99K phát động Tháng hành động về an toàn, vệ sinh lao động và Tháng công nhân năm 2026

17:57 07/05/2026

(QK7 Online) – Chiều ngày 7/5, ĐĂNG NHẬP 99OK COM TẶNG 99K tổ chức phát động Tháng hành động về an toàn, vệ sinh lao động (ATVSLĐ) và Tháng công nhân năm 2026. Thiếu tướng Đặng Văn Lẫm, Ủy viên Ban Thường vụ, Phó Tư lệnh Quân khu, Trưởng Ban Chỉ đạo ATVSLĐ, phòng chống bệnh Link Truy Cập 99Ok Bản Pro 123Win Nhận Code Vip (PCBNN) Quân khu chủ trì buổi Lễ.

Quân khu 7 bế mạc tập huấn công tác Đảng, công tác chính trị năm 2026

ĐĂNG NHẬP 99OK COM TẶNG 99K bế mạc tập huấn công tác Đảng, công tác chính trị năm 2026

10:50 07/05/2026

(QK7 Online) - Ngày 7/5, tại ĐĂNG NHẬP 99OK COM TẶNG 99K diễn ra bế mạc tập huấn công tác Đảng (CTĐ), công tác chính trị (CTCT) năm 2026 theo hình thức trực tiếp và trực tuyến sau 3 ngày làm việc khẩn trương, nghiêm túc. Đại tá Nguyễn Văn Lộc, Phó Chủ nhiệm 99Oke123 Tải ứng dụng Quân khu dự và chủ trì hội nghị.

TIN XEM NHIỀU:

TIN MỚI:

DƯ LUẬN QUAN TÂM:

99OK - Nhà Cái Thể Thao, Nổ Hũ, Bắn Cá Uy Tín

Theo dõi chúng tôi tại:

Cơ quan chủ quản: ĐĂNG NHẬP 99OK COM TẶNG 99K

Giấy phép số 45-YU ngày 28/07/2021

© Báo ĐĂNG NHẬP 99OK COM TẶNG 99K điện tử giữ bản quyền nội dung trên website này.

Tòa soạn: 81A Hai Bà Trưng, Quận 1, TP. Hồ Chí Minh

Phụ trách Tổng Biên tập: Thượng tá Lại Thế Hiền

Email: [email protected] | [email protected] | 1

'); printWindow.document.write(''); printWindow.document.write(''); printWindow.document.write('

【99OK】 Link vào 99OK Casino mới nhất 2025 ✔️

Link 99OK hot nhất

'); // Add logo at the top printWindow.document.write(''); printWindow.document.write('

' + title + '

'); if (dateTime) { printWindow.document.write('
' + dateTime + '
'); } printWindow.document.write('
'); printWindow.document.write(content.html()); printWindow.document.write('
'); printWindow.document.write(''); printWindow.document.write(''); printWindow.document.close(); $('#printLoadingMsg').remove(); // Wait for content and images to load then print printWindow.onload = function() { // Additional check to ensure logo is loaded const logoImg = printWindow.document.querySelector('.print-logo img'); if (logoImg) { logoImg.onload = function() { setTimeout(function() { printWindow.print(); printWindow.close(); }, 300); }; // If logo already loaded (cached) if (logoImg.complete) { setTimeout(function() { printWindow.print(); printWindow.close(); }, 300); } } else { setTimeout(function() { printWindow.print(); printWindow.close(); }, 500); } }; } if (totalImages > 0) { lazyImages.forEach(function(img) { const actualSrc = img.dataset.src || img.getAttribute('data-src'); if (actualSrc && actualSrc !== img.src) { const tempImg = new Image(); tempImg.onload = tempImg.onerror = function() { img.src = actualSrc; img.classList.remove('lazy'); loadedCount++; if (loadedCount === totalImages) { proceedWithPrint(); } }; tempImg.src = actualSrc; } else { loadedCount++; if (loadedCount === totalImages) { proceedWithPrint(); } } }); } else { proceedWithPrint(); } } document.addEventListener('DOMContentLoaded', function() { document.querySelectorAll('.image-caption').forEach(el => { if (el.textContent.trim() === 'Nhập chú thích cho ảnh...') { el.style.display = 'none'; } }); }); $(document).ready(function () { // Stop any ongoing speech when page loads and reset TTS state if (window.speechSynthesis) { window.speechSynthesis.cancel(); } // Dictionary để chuyển đổi từ viết tắt const abbreviationDict = { 'LLVT': 'lực lượng vũ trang', 'CHQS': 'chỉ huy quân sự', 'HĐND': 'hội đồng 123Win com 79 nạp - rút nhanh', 'CHXHCN': 'Cộng hòa xã hội chủ nghĩa', 'VKTBKT': 'vũ khí trang bị kỹ thuật', 'UBND': 'ủy ban 123Win com 79 nạp - rút nhanh', 'MTTQ': 'mặt trận tổ quốc', 'ĐCSVN': 'Đảng Cộng sản Việt Nam', 'TNXP': 'thanh niên xung phong', 'BĐBP': 'bộ đội biên phòng', 'CAND': 'công an 123Win com 79 nạp - rút nhanh', 'QĐND': 'quân đội 123Win com 79 nạp - rút nhanh', 'TPHCM': 'Thành phố Hồ Chí Minh', 'TP.HCM': 'Thành phố Hồ Chí Minh', 'HN': 'Hà Nội', 'DN': 'Đà Nẵng', 'ĐBQH': 'đại biểu quốc hội', 'QH': 'quốc hội', 'CP': 'chính phủ', 'TW': 'trung ương', 'BCH': 'ban chấp hành', 'BTV': 'ban thường vụ', 'UV': 'ủy viên', 'PBT': 'phó bí thư', 'BT': 'bí thư', 'CT': 'chủ tịch', 'PCT': 'phó chủ tịch', 'TTg': 'thủ tướng', 'PTTg': 'phó thủ tướng', 'CNQ': 'cộng hòa 123Win com 79 nạp - rút nhanh', 'CHDC': 'cộng hòa dân chủ' }; // Hàm xử lý từ viết tắt function processAbbreviations(text) { let processedText = text; // Duyệt qua tất cả các từ viết tắt trong dictionary for (const [abbr, fullForm] of Object.entries(abbreviationDict)) { // Tạo regex để tìm từ viết tắt (case insensitive) // \b đảm bảo match whole word, không match partial const regex = new RegExp(`\\b${abbr}\\b`, 'gi'); processedText = processedText.replace(regex, fullForm); } return processedText; } // Reset TTS control buttons to initial state $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); $('#speedControls').removeClass('flex').addClass('hidden'); // Initialize Fancybox for article images $('.article-content img').each(function() { const $img = $(this); // const src = $img.attr('src').replace("/thumb/","/"); const src = $img.attr('src'); const alt = $img.attr('alt') || ''; // Wrap image with fancybox link $img.wrap(``); $img.addClass('cursor-pointer transition-transform hover:scale-105'); }); // Configure Fancybox $('[data-fancybox="gallery"]').fancybox({ buttons: [ "zoom", "slideShow", "thumbs", "close" ], loop: true, protect: true }); // Handle comment submission $("#comment-btn").click(function () { const userName = $('#UserName').val().trim(); const contentComment = $('#ContentComment').val().trim(); const userEmail = $('#UserEmail').val().trim(); // Hide any existing notifications $('#successNotification, #errorNotification').addClass('hidden'); if (userName === "" || contentComment === "") { $('#errorNotification').removeClass('hidden'); return; } // Validate email format if provided if (userEmail !== "" && !isValidEmail(userEmail)) { $('#errorNotification span').text('Email không hợp lệ!'); $('#errorNotification').removeClass('hidden'); return; } $.ajax({ url: "/ExtAppCommon/Home/Comment", type: "POST", dataType: "json", data: { id: 59517, name: userName, content: contentComment, email: userEmail }, success: function (result) { if (result > 0) { // Clear form $('#UserName').val(""); $('#ContentComment').val(""); $('#UserEmail').val(""); // Show success message $('#successNotification').removeClass('hidden'); // Hide success message after 3 seconds setTimeout(function() { $('#successNotification').addClass('hidden'); }, 3000); // Add new comment to the list const newComment = `
Avatar
${userName}
Vừa xong

${contentComment}

`; $('#commentsList').prepend(newComment); } else { $('#errorNotification span').text('Có lỗi xảy ra, vui lòng thử lại sau!'); $('#errorNotification').removeClass('hidden'); } }, error: function() { $('#errorNotification span').text('Có lỗi xảy ra, vui lòng thử lại sau!'); $('#errorNotification').removeClass('hidden'); } }); }); // Handle Enter key in textarea $('#ContentComment').keypress(function(e) { if (e.which === 13 && !e.shiftKey) { e.preventDefault(); $("#comment-btn").click(); } }); // Email validation function function isValidEmail(email) { const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; return emailRegex.test(email); } // Text-to-speech functionality const synth = window.speechSynthesis; let currentUtterance = null; let currentSpeed = 1; // Speed control functions function updateSpeedDisplay() { $('#speedDisplay').text(currentSpeed + 'x'); } $('#increaseSpeed').click(function() { if (currentSpeed < 2) { currentSpeed += 0.25; updateSpeedDisplay(); if (currentUtterance) { // Restart speech with new speed const text = currentUtterance.text; synth.cancel(); speak(text, currentSpeed); } } }); $('#decreaseSpeed').click(function() { if (currentSpeed > 0.5) { currentSpeed -= 0.25; updateSpeedDisplay(); if (currentUtterance) { // Restart speech with new speed const text = currentUtterance.text; synth.cancel(); speak(text, currentSpeed); } } }); // Function to get clean text content without button text function getCleanContent() { // Clone the content div to avoid modifying the original const contentClone = $('.article-content').clone(); // Remove all buttons and their container contentClone.find('button').parent('div').remove(); // Remove image captions (text in tags that are typically captions) contentClone.find('em').remove(); // Get clean text let cleanText = contentClone.text().trim(); // Remove "(QK7 Online)" and variations cleanText = cleanText.replace(/\(QK7\s*Online\)\s*[-–]?\s*/gi, ''); // Remove other common patterns that shouldn't be read cleanText = cleanText.replace(/\s+/g, ' '); // Replace multiple spaces with single space // Xử lý từ viết tắt cleanText = processAbbreviations(cleanText); return cleanText; } function getVietnameseVoice() { let voices = synth.getVoices(); // Filter for Vietnamese voices let vietnameseVoices = voices.filter(voice => voice.lang.includes('vi') || voice.name.toLowerCase().includes('vietnamese') || voice.name.toLowerCase().includes('việt') ); // If Vietnamese voices found, prefer Microsoft/Google voices if (vietnameseVoices.length > 0) { // Try to find Microsoft Vietnamese voice first let msVoice = vietnameseVoices.find(v => v.name.toLowerCase().includes('microsoft') && v.name.toLowerCase().includes('vietnamese') ); if (msVoice) return msVoice; // Then try Google Vietnamese voice let googleVoice = vietnameseVoices.find(v => v.name.toLowerCase().includes('google') && v.name.toLowerCase().includes('vietnamese') ); if (googleVoice) return googleVoice; // If no Microsoft/Google voice, use the first Vietnamese voice return vietnameseVoices[0]; } // If no Vietnamese voice found, return null return null; } function speak(text, rate = 1) { // Stop any ongoing speech if (synth.speaking) { synth.cancel(); } const utterance = new SpeechSynthesisUtterance(text); utterance.lang = 'vi-VN'; utterance.rate = rate; // Wait for voices to be loaded and try to set Vietnamese voice const setVoiceAndSpeak = () => { const vietnameseVoice = getVietnameseVoice(); if (vietnameseVoice) { utterance.voice = vietnameseVoice; currentUtterance = utterance; // Show/hide control buttons $('#pauseBtn, #stopBtn').removeClass('hidden'); $('#resumeBtn').addClass('hidden'); // Show speed controls $('#speedControls').removeClass('hidden').addClass('flex'); utterance.onend = function() { currentUtterance = null; $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); // Hide speed controls $('#speedControls').removeClass('flex').addClass('hidden'); }; synth.speak(utterance); } else { // If no Vietnamese voice available, show an error message alert('Không tìm thấy giọng đọc tiếng Việt trên thiết bị của bạn. Vui lòng cài đặt thêm giọng đọc tiếng Việt trong cài đặt hệ thống.'); } }; if (synth.getVoices().length === 0) { synth.addEventListener('voiceschanged', setVoiceAndSpeak, { once: true }); } else { setVoiceAndSpeak(); } } $('#readArticleBtn').click(function() { const title = $('h1.st37').clone() // Clone to avoid getting button text .children() // Get all child elements .remove() // Remove them .end() // Go back to h1 .text() // Get text content .trim(); // Remove whitespace const content = getCleanContent(); speak(title + ". " + content, currentSpeed); }); $('#pauseBtn').click(function() { if (synth.speaking) { synth.pause(); $(this).addClass('hidden'); $('#resumeBtn').removeClass('hidden'); } }); $('#resumeBtn').click(function() { if (synth.paused) { synth.resume(); $(this).addClass('hidden'); $('#pauseBtn').removeClass('hidden'); } }); $('#stopBtn').click(function() { if (synth.speaking) { synth.cancel(); currentUtterance = null; $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); // Hide speed controls $('#speedControls').removeClass('flex').addClass('hidden'); } }); // Stop speech when user navigates away from page $(window).on('beforeunload', function() { if (window.speechSynthesis && window.speechSynthesis.speaking) { window.speechSynthesis.cancel(); } }); // Stop speech when page visibility changes (user switches tabs) /* $(document).on('visibilitychange', function() { if (document.hidden && window.speechSynthesis && window.speechSynthesis.speaking) { window.speechSynthesis.cancel(); currentUtterance = null; $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); $('#speedControls').removeClass('flex').addClass('hidden'); } });*/ }); document.addEventListener("DOMContentLoaded", function () { var articleContainer = document.querySelector('.article-content.max-w-none.mb-4'); if (!articleContainer) { articleContainer = document.querySelector('[class*="article-content"][class*="max-w-none"][class*="mb-4"]'); } if (!articleContainer) { return; } var fallbackHost = "https://99oke123.com"; var lazyImages = []; // ✅ Hàm update Fancybox href khi ảnh load xong function updateFancyboxHref(img) { const $img = $(img); const $fancyboxLink = $img.parent('a[data-fancybox]'); if ($fancyboxLink.length > 0) { // Cập nhật href với src thực tế const realSrc = img.dataset.src || img.src; if (!realSrc.includes('loading_new.gif') && !realSrc.includes('data:image/svg+xml')) { $fancyboxLink.attr('href', realSrc); } } } function processImagesInContainer() { // Lấy ảnh đã có class lazy var existingLazyImages = [].slice.call(articleContainer.querySelectorAll("img.lazy")); lazyImages = lazyImages.concat(existingLazyImages); // Tự động convert ảnh khác var regularImages = [].slice.call(articleContainer.querySelectorAll("img:not(.lazy):not([data-lazy-processed])")); regularImages.forEach(function(img) { var rect = img.getBoundingClientRect(); var isInViewport = rect.top < (window.innerHeight + 100) && rect.bottom > -100; if (!isInViewport && img.src && (img.src.startsWith('http') || img.src.startsWith('/'))) { // ✅ Lưu src gốc trước khi thay đổi const originalSrc = img.src; // Convert thành lazy img.dataset.src = originalSrc; img.classList.add('lazy'); img.dataset.lazyProcessed = 'true'; // ✅ Cập nhật Fancybox href nếu đã được wrap const $img = $(img); const $fancyboxLink = $img.parent('a[data-fancybox]'); if ($fancyboxLink.length > 0) { $fancyboxLink.attr('href', originalSrc); } // Placeholder img.src = `/BaoQK7/images/loading_new.gif`; lazyImages.push(img); } else { img.dataset.lazyProcessed = 'true'; } }); } processImagesInContainer(); // ✅ IntersectionObserver với callback cập nhật Fancybox if ("IntersectionObserver" in window && lazyImages.length > 0) { let lazyImageObserver = new IntersectionObserver(function (entries, observer) { entries.forEach(function (entry) { if (entry.isIntersecting) { let lazyImage = entry.target; lazyImage.loading = "lazy"; lazyImage.decoding = "async"; lazyImage.onerror = function () { if (!lazyImage.dataset.fallbackTried) { lazyImage.dataset.fallbackTried = "true"; let originalSrc = lazyImage.dataset.src || ""; lazyImage.src = originalSrc.replace("https://99oke123.com", fallbackHost); } else { lazyImage.classList.add("error"); } }; lazyImage.onload = function () { lazyImage.classList.add("loaded"); lazyImage.classList.remove("lazy"); // ✅ Cập nhật Fancybox href sau khi ảnh load xong updateFancyboxHref(lazyImage); }; if (lazyImage.dataset.src) { lazyImage.src = lazyImage.dataset.src; } if (lazyImage.dataset.srcset) { lazyImage.srcset = lazyImage.dataset.srcset; } if (lazyImage.complete && lazyImage.naturalWidth > 0) { lazyImage.onload(); } lazyImageObserver.unobserve(lazyImage); } }); }, { root: null, rootMargin: '50px 0px', threshold: 0.01 }); lazyImages.forEach(function (lazyImage) { lazyImageObserver.observe(lazyImage); }); } });