체육대회(2026)

🏆 체육대회 스마트 센터

📅 대회 실시간 일정
데이터 동기화 중...
VS

${m.player1}${m.score1}
${m.player2}${m.score2}
`; }); const mSel = document.getElementById('refMatchId'); mSel.innerHTML = ""; data.forEach(m => mSel.add(new Option(`${m.matchId}경기 (${m.player1} vs ${m.player2})`, m.matchId))); updateRefTeamNames(); } function updateRefTeamNames() { const sel = document.getElementById('refMatchId'); const txt = sel.options[sel.selectedIndex].text; const match = txt.match(/\((.*) vs (.*)\)/); if(match) { document.getElementById('refLabelTeam1').innerText = match[1]; document.getElementById('refLabelTeam2').innerText = match[2]; } } async function submitRefScore() { const msg = document.getElementById('refStatusMsg'); const payload = { sport: document.getElementById('refSportSelect').value, league: document.getElementById('refLeagueSelect').value, matchId: document.getElementById('refMatchId').value, score1: document.getElementById('refScore1').value, score2: document.getElementById('refScore2').value, pin: document.getElementById('refereePin').value }; msg.innerText = "저장 중..."; const res = await fetch(API_URL, { method: 'POST', body: JSON.stringify(payload) }); const result = await res.text(); msg.innerText = result === "Success" ? "✅ 완료" : "❌ " + result; if(result === "Success") fetchRefMatches(); }

🏆 종합 순위 현황

메뉴 동기화 중...

⚡ 실시간 데이터 연결 중...

* 좌우 스크롤로 전체 내용을 확인하세요.

This website uses cookies.