{"id":20,"date":"2026-10-11T20:00:30","date_gmt":"2026-10-11T13:00:30","guid":{"rendered":"https:\/\/tysobongda.bid\/?page_id=20"},"modified":"2026-10-11T20:11:37","modified_gmt":"2026-10-11T13:11:37","slug":"tsbd-tysobongda-%e2%ad%90%ef%b8%8f-ty-so-truc-tuyen-bong-da","status":"publish","type":"page","link":"https:\/\/tysobongda.bid\/","title":{"rendered":"TSBD &#8211; Tysobongda \u2b50\ufe0f T\u1ef7 S\u1ed1 Tr\u1ef1c Tuy\u1ebfn | B\u00f3ng \u0110\u00e1"},"content":{"rendered":"\n\n\t<section class=\"section\" id=\"section_1957575838\">\n\t\t<div class=\"section-bg fill\" >\n\t\t\t\t\t\t\t\t\t\n\t\t\t\n\n\t\t<\/div>\n\n\t\t\n\n\t\t<div class=\"section-content relative\">\n\t\t\t\n\n\n\n\n<div class=\"date-bar\" id=\"dateBar\">\n    <div id=\"datePicker\" class=\"date-item disable\"><img loading=\"lazy\" decoding=\"async\" width=\"21\" height=\"21\" src=\"https:\/\/tysobongda.bid\/wp-content\/plugins\/thesport\/\/assets\/calendar.svg\"\/>\n    <input id=\"date\" name=\"datePicker\" \/>\n    <\/div>\n<\/div>\n<div class=\"mainboard\">\n    <div class=\"tabs\" id=\"dataType\">\n        <div data-type=\"all\">T\u1ea5t c\u1ea3<\/div>\n        <div class=\"active\" data-type=\"live\">Tr\u1ef1c ti\u1ebfp<\/div>\n        <div data-type=\"schedule\">L\u1ecbch thi \u0111\u1ea5u<\/div>\n        <div data-type=\"score\">K\u1ebft qu\u1ea3<\/div>\n    <\/div>\n    <div class=\"scoreboard\">\n        <table id=\"result\">\n           <thead>\n              <tr>\n                <th style=\"width:10%\">Tgian<\/th>\n                <th style=\"width:30%\">\u0110\u1ed9i b\u00f3ng<\/th>\n                <th style=\"width:8%\">FT\/HT<\/th>\n                <th style=\"width:8%\">G\u00f3c<\/th>\n                <th class=\"odd\" colspan=\"3\" style=\"width:40%\">T\u1ef7 l\u1ec7 c\u01b0\u1ee3c<\/th>\n                <th style=\"width:4%\"><\/th>\n              <\/tr>\n            <\/thead>\n            <tbody><\/tbody>\n        <\/table>\n    <\/div>\n<\/div>\n<script>\n  var $ = jQuery.noConflict();\n  const dateBar = document.getElementById(\"dateBar\");\n\n  const today = new Date();\n\n\n  const total = 7;\n  const center = Math.floor(total \/ 2);\n\n  function formatDate(d) {\n    return String(d.getDate()).padStart(2, \"0\") + \"\/\" +\n           String(d.getMonth() + 1).padStart(2, \"0\");\n  }\n  \n  function formatISODate(d){\n  return d.getFullYear() + \"-\" +\n         String(d.getMonth() + 1).padStart(2, \"0\") + \"-\" +\n         String(d.getDate()).padStart(2, \"0\");\n}\n\n  function getDayLabel(d) {\n    const days = [\"CN\", \"T2\", \"T3\", \"T4\", \"T5\", \"T6\", \"T7\"];\n    return days[d.getDay()];\n  }\n\n  for (let i = 0; i < total; i++) {\n    const d = new Date(today);\n    d.setDate(today.getDate() + (i - center));\n\n    const div = document.createElement(\"div\");\n    div.className = \"date-item\" + (i === center ? \" active\" : \" disable\");\n\n    div.innerHTML = `\n      <div class=\"day\">${getDayLabel(d)}<\/div>\n      <div class=\"date\" data-date=\"${formatISODate(d)}\">${formatDate(d)}<\/div>\n    `;\n\n    dateBar.appendChild(div);\n  }\n  $('#dateBar').append('<input id=\"search\" name=\"search\" type=\"text\" placeholder=\"T\u00ecm ki\u1ebfm tr\u1eadn \u0111\u1ea5u\" \/>')\n   $( function() {\n     $('#date').datepicker({\n          dateFormat: \"yy-mm-dd\"\n     });\n     $('#datePicker').click(function(){\n         $('#date').datepicker(\"show\");\n     })\n   })\n   \n   $('#date').change(function(){\n        date = $('#date').val();\n        $('.date-item').removeClass('active');\n        $(`#dateBar .date-item .date[data-date=\"${date}\"]`).closest('.date-item').addClass('active').removeClass('disable')\n        switch(type){\n            case 'schedule': socket.emit(\"get_schedule\",date);break;\n            case 'score': socket.emit(\"get_score\",date);break;\n            case 'all': socket.emit(\"get_all\",date);break;\n        return\n    }\n   })\n   $('#dataType div').on(\"click\",function(){\n       switch(type){\n            case 'schedule': $(\"#date\").datepicker(\"option\", \"minDate\", 0);;break;\n            case 'score': socket.emit(\"get_score\",date);break;\n            case 'all': socket.emit(\"get_all\",date);break;\n        return\n       }\n   })\n<\/script>\n\n\n\n\n\t\t<\/div>\n\n\t\t\n<style>\n#section_1957575838 {\n  padding-top: 30px;\n  padding-bottom: 30px;\n}\n<\/style>\n\t<\/section>\n\t\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-20","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/tysobongda.bid\/index.php?rest_route=\/wp\/v2\/pages\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tysobongda.bid\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tysobongda.bid\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tysobongda.bid\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tysobongda.bid\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20"}],"version-history":[{"count":3,"href":"https:\/\/tysobongda.bid\/index.php?rest_route=\/wp\/v2\/pages\/20\/revisions"}],"predecessor-version":[{"id":25,"href":"https:\/\/tysobongda.bid\/index.php?rest_route=\/wp\/v2\/pages\/20\/revisions\/25"}],"wp:attachment":[{"href":"https:\/\/tysobongda.bid\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}