- Genel Puan Durumu:
# | Takım / 7. Hafta | O | G | B | M | AV | P |
---|---|---|---|---|---|---|---|
1 | ![]() |
6 | 6 | 0 | 0 | 10 | 18 |
2 | ![]() |
6 | 5 | 1 | 0 | 9 | 16 |
3 | ![]() |
6 | 3 | 2 | 1 | 5 | 11 |
4 | ![]() |
6 | 3 | 2 | 1 | 2 | 11 |
5 | ![]() |
6 | 2 | 4 | 0 | 5 | 10 |
6 | ![]() |
6 | 3 | 1 | 2 | -1 | 10 |
7 | ![]() |
6 | 3 | 0 | 3 | 4 | 9 |
8 | ![]() |
6 | 2 | 3 | 1 | 2 | 9 |
9 | ![]() |
6 | 2 | 3 | 1 | 2 | 9 |
10 | ![]() |
6 | 2 | 3 | 1 | -2 | 9 |
11 | ![]() |
6 | 1 | 4 | 1 | 1 | 7 |
12 | ![]() |
6 | 1 | 3 | 2 | 0 | 6 |
13 | ![]() |
6 | 1 | 3 | 2 | 0 | 6 |
14 | ![]() |
6 | 1 | 3 | 2 | 0 | 6 |
15 | ![]() |
6 | 1 | 3 | 2 | -2 | 6 |
16 | ![]() |
7 | 2 | 0 | 5 | -7 | 6 |
17 | ![]() |
6 | 0 | 4 | 2 | -7 | 4 |
18 | ![]() |
6 | 1 | 0 | 5 | -8 | 3 |
19 | ![]() |
5 | 0 | 2 | 3 | -5 | 2 |
20 | ![]() |
6 | 0 | 1 | 5 | -8 | 1 |

${item.played}
${item.won}
${item.draw}
${item.lost}
${item.average}
${item.points}
`; content.querySelector('.table-puan tbody').appendChild(row); }); } try { let puandurumu = await fetch('https://api-stg.ensonhaber.com/api/sport/league/1/standings'); puandurumu = await puandurumu.json(); content.querySelector('.hafta').innerHTML = '/ ' + puandurumu[0].round.name; let overall = puandurumu[0].standings?.overall; printPuanDurumu(overall); const tabLinks = document.getElementById("puan-tab-links"); rounds.forEach((item, index) => { const li = document.createElement('li'); //li.classList.add("swiper-slide"); li.dataset.target = item.id; li.innerHTML = item.shortName; if(item.active) { li.classList.add('active'); } tabLinks.appendChild(li); }); const tabs = tabLinks.querySelectorAll('li'); tabs.forEach(tab => { tab.addEventListener('click', e => { e.preventDefault(); //console.log(e.target.dataset.id); content.querySelector('.tab-links .active').classList.remove('active'); e.target.classList.add('active'); printPuanDurumu(puandurumu[0].standings[e.target.dataset.target] ?? []); }); }); } catch (error) { console.log("Puan durumu çekilirken hata oluştu"); content.querySelector('#puan').innerHTML = "Puan durumu yüklenemedi. Tekrar Deneyin."; } content.querySelector('.loading').remove(); content.querySelector('.content').style.display = 'block'; })();