Kết quả xổ số Miền Bắc ngày hôm qua, với cặp số đẹp GĐB 58437 và G1 44842, đã mang lại nhiều niềm vui cho người chơi. Chúng ta không thể phủ nhận sức hút mạnh mẽ của việc soi cầu xổ số, và hôm nay, chúng ta sẽ cùng nhau tìm hiểu về dự đoán XSMB ngày 29/12/2025. Hãy cùng theo dõi phân tích chi tiết và logic để có cái nhìn tổng quan về những con số tiềm năng cho kỳ quay hôm nay.
XSMB – Kết Quả Xổ Số Miền Bắc – SXMB ngày 29/12/2025
| Ký Tự Trúng Thưởng |
13TV-17TV-19TV-1TV-3TV-7TV-8TV-9TV
|
| Giải ĐB |
58437
|
| Giải Nhất |
44842
|
| Giải Nhì |
10561
49596
|
| Giải Ba |
98098
91430
49450
05014
90408
45714
|
| Giải Tư |
4097
8322
3632
3480
|
| Giải Năm |
3156
1101
5348
7460
2865
8899
|
| Giải Sáu |
691
491
964
|
| Giải Bảy |
49
21
45
58
|
(function($) {
function updateXsmbStatus() {
ensureStatusTop();
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var totalMinutes = hours * 60 + minutes;
var startLive = 18 * 60 + 15; // 18:15
var endLive = 18 * 60 + 30; // 18:30
var $status = $(‘#xsmb-realtime-status’);
if (!$status.length) return;
// Logic hiển thị chỉ áp dụng cho bảng kết quả HÔM NAY (kiểm tra ngày hiển thị so với ngày hiện tại)
// Tuy nhiên ở đây tạm thời check giờ trước.
if (totalMinutes < startLive) {
// 00:00 – 18:15 Chờ Quay
$status.html('
Chờ quay xsmb – Kỳ quay hôm nay bắt đầu lúc 18:15. Xem TRỰC TIẾP XSMB‘).css({
‘display’: ‘block’,
‘background-color’: ‘var(–color-bg-soft)’,
‘color’: ‘var(–color-warning)’,
‘border’: ‘1px solid var(–color-border)’
});
ensureCountdownBox();
updateCountdown(now, startLive);
} else if (totalMinutes >= startLive && totalMinutes <= endLive) {
// 18:15 – 18:30: Đang quay
$status.html('
ĐANG QUAY TRỰC TIẾP KẾT QUẢ XSMB …’).css({
‘display’: ‘block’,
‘background-color’: ‘var(–color-bg-soft)’,
‘color’: ‘var(–color-error)’,
‘border’: ‘1px solid var(–color-border)’
});
ensureStatusTop();
ensureLiveTodayBox();
(function(){
var loadingImg = ‘https://flayhaybay.life/wp-content/themes/flatsome-child/assets/img/loading-image.gif’;
var $ph = $(‘#live-today-placeholder’);
if ($ph.length){
var map = {‘td.giaidb’:1,’td.giai1′:1,’td.giai2′:2,’td.giai3′:6,’td.giai4′:4,’td.giai5′:6,’td.giai6′:3,’td.giai7′:4};
Object.keys(map).forEach(function(sel){
var c = map[sel];
var $cell = $ph.find(sel);
if ($cell.length){
var html = ”;
for (var i=0;i<c;i++){ html += '
‘; }
$cell.html(html);
}
});
}
})();
ensureCountdownBox();
updateCountdown(now, endLive);
// Ở đây có thể thêm logic gọi AJAX refresh bảng
} else {
// Sau 18:30: Đã quay xong
$status.html(‘
Đã quay xong kq xsmb hôm nay’).css({
‘display’: ‘block’,
‘background-color’: ‘var(–color-bg-soft)’,
‘color’: ‘var(–color-success)’,
‘border’: ‘1px solid var(–color-border)’
});
$(‘#xsmb-countdown’).css({‘visibility’:’hidden’}).text(”);
ensureStatusTop();
}
}
function ensureStatusTop() {
var $status = $(‘#xsmb-realtime-status’);
if (!$status.length) return;
// Xóa các bản sao trùng lặp nếu có
$(‘.xsmb-status-box’).not($status).remove();
// Xác định container chứa danh sách kết quả
var $list = $(‘.single-day-result’);
var $container = $list.length ? $list.first().parent() : $(‘body’);
// Luôn đặt status ở vị trí đầu tiên của container
$status.prependTo($container);
}
function ensureLiveTodayBox() {
var d = new Date();
var dd = String(d.getDate()).padStart(2, ‘0’);
var mm = String(d.getMonth() + 1).padStart(2, ‘0’);
var yyyy = d.getFullYear();
var ngayHienThi = dd + ‘/’ + mm + ‘/’ + yyyy;
var exists = $(‘.single-day-result h1, .single-day-result h2’).filter(function() {
return $(this).text().indexOf(ngayHienThi) !== -1;
}).length > 0;
var $list = $(‘.single-day-result’);
var $container = $list.length ? $list.first().parent() : $(‘body’);
var $status = $(‘#xsmb-realtime-status’);
var $placeholder = $(‘#live-today-placeholder’);
if ($placeholder.length) {
if ($status.length) {
$placeholder.insertAfter($status);
} else {
$placeholder.prependTo($container);
}
return;
}
var html = ”;
html += ‘
html += ‘
XSMB – Kết Quả Xổ Số Miền Bắc- SXMB hôm nay ngày ‘ + ngayHienThi + ‘
‘;
html += ‘
html += ‘
html += ‘
| Ký Tự Trúng Thưởng | |
| Giải ĐB | |
| Giải Nhất | |
| Giải Nhì | |
| Giải Ba | |
| Giải Tư | |
| Giải Năm | |
| Giải Sáu | |
| Giải Bảy |
‘;
html += ‘
| Đầu | Đuôi | Đầu | Đuôi |
|---|---|---|---|
| ‘ + i + ‘ | – | – | ‘ + i + ‘ |
‘;
html += ‘
‘;
html += ‘
‘;
html += ‘
‘;
// Chèn placeholder: nếu có status, đặt ngay sau status; ngược lại, lên đầu container
if ($status.length) {
$status.after(html);
} else {
$container.prepend(html);
}
}
function ensureLiveBox(showNow) {
var $existing = $(‘#xsmb-live-box’);
if ($existing.length) {
if (showNow) $existing.show();
return;
}
var loadingImg = ‘https://flayhaybay.life/wp-content/themes/flatsome-child/assets/img/loading-image.gif’;
var html = ”;
html += ‘
html += ‘
html += ‘
html += ‘TRỰC TIẾP KẾT QUẢ XSMB‘;
html += ‘‘;
html += ‘
‘;
html += ‘
html += ‘
| Ký Tự Trúng Thưởng | |
| Giải ĐB | |
| Giải Nhất | |
| Giải Nhì | |
| Giải Ba | |
| Giải Tư | |
| Giải Năm | |
| Giải Sáu | |
| Giải Bảy |
‘;
html += ‘
‘;
html += ‘
‘;
var $list = $(‘.single-day-result’);
var $container = $list.length ? $list.first().parent() : $(‘body’);
var $status = $(‘#xsmb-realtime-status’);
if ($status.length) {
$status.after(html);
} else {
$container.prepend(html);
}
}
function applyLiveLoading() {
var loadingImg = ‘https://flayhaybay.life/wp-content/themes/flatsome-child/assets/img/loading-image.gif’;
var $targets = $(‘#xsmb-live-box’);
if (!$targets.length) {
$targets = $(‘.single-day-result’).first();
}
if (!$targets.length) return;
$targets.find(‘.giaiSo’).each(function(){
$(this).html(‘‘);
});
$targets.find(‘td.giaidb, td.giai1, td.giai2, td.giai3, td.giai4, td.giai5, td.giai6, td.giai7, td.ma_db’).each(function(){
var $cell = $(this);
if ($cell.find(‘img’).length === 0) {
$cell.html(‘‘);
}
});
}
function ensureCountdownBox() {
var $cd = $(‘#xsmb-countdown’);
var $firstDay = $(‘.single-day-result’).first();
var $container = $firstDay.length ? $firstDay.parent() : $(‘body’);
if (!$cd.length) {
$cd = $(‘
‘);
}
if ($firstDay.length) {
$firstDay.before($cd);
} else {
$container.prepend($cd);
}
$cd.css({‘visibility’:’visible’});
}
function formatRemain(sec) {
if (sec < 0) sec = 0;
var h = Math.floor(sec / 3600);
var m = Math.floor((sec % 3600) / 60);
var s = sec % 60;
function pad(n){ return String(n).padStart(2,'0'); }
return 'Còn ' + pad(h) + ' giờ ' + pad(m) + ' phút ' + pad(s) + ' giây';
}
function updateCountdown(now, targetMinutes) {
var $cd = $('#xsmb-countdown');
if (!$cd.length) return;
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
var totalMinutes = hours * 60 + minutes;
var currentSec = totalMinutes * 60 + seconds;
var remain = targetMinutes * 60 – currentSec;
$cd.text(formatRemain(remain));
}
$(document).ready(function() {
ensureStatusTop();
updateXsmbStatus();
$(document).on('click', '#xsmb-live-close', function(){
$('#xsmb-live-box').hide();
});
setInterval(function(){
var now = new Date();
var hours = now.getHours();
var minutes = now.getMinutes();
var totalMinutes = hours * 60 + minutes;
var startLive = 18 * 60 + 15;
var endLive = 18 * 60 + 30;
if (totalMinutes = startLive && totalMinutes <= endLive) {
ensureCountdownBox();
updateCountdown(now, endLive);
} else {
$('#xsmb-countdown').hide();
}
}, 1000);
setInterval(updateXsmbStatus, 10000); // Check mỗi 10s
});
})(jQuery);
